Re: Unusually high LA without any load at FreeBSD9-BETA2

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Tue, 06 Sep 2011 17:22:02 +0000
In message <4E66547D.2030907_at_cran.org.uk>, Bruce Cran writes:
>On 06/09/2011 18:05, Garrett Cooper wrote:
>> What is "LA"?
>
>Load Average?

We should kille the load avarage as a measure for system activity,
it only has any relevance if you run heavy CPU bound processes.

If the majority of your threads yield their quantum, load average
contains absolutely no information of any relevance to system
capacity.

Try this:

	main()
		for (i = 0; i < 10000; i++)
			start thread {
				calculate time until top of next second
				sleep (until then)
			}

You'll see a monster load-avg on idle cpus.


-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk_at_FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.
Received on Tue Sep 06 2011 - 15:39:16 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:17 UTC