lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20020101030506.GB4106@ucw.cz>
Date:	Tue, 1 Jan 2002 03:05:07 +0000
From:	Pavel Machek <pavel@....cz>
To:	Simon Arlott <simon@...e.lp0.eu>
Cc:	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
	akpm@...ux-foundation.org, arjan@...ux.intel.com
Subject: Re: [PATCH (updated)] timer: Run calc_load halfway through each round_jiffies second

Hi!

> Whenever jiffies is started at a multiple of 5*HZ or 
> wraps, calc_load is run exactly on the second which is 
> when tasks using round_jiffies will be scheduled to run. 
> This has a bad effect on the load average, making it 
> tend towards 1.00 if a task happens to run every time 
> the load is being calculated.
> 
> This changes calc_load so that it updates load half a 
> second after any tasks scheduled using round_jiffies.

Hmm, otoh this makes calc_load more expensive, power-wise, because it
needs to wake the cpu once more?

Timetraveling, sorry.
						Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ