[Gllug] loadavg (Was Re: [Gllug] Biitorrent for a dummy)

Russell Howe rhowe at wiss.co.uk
Mon Jan 24 08:36:33 UTC 2005


Tethys said:

>"Martin A. Brooks" writes:
>
>>A load average of 1 simply means that 1 process is always on the CPU.
>
>Errr... no. It means that your box is too heavily loaded. A load average
>of 0 is opitimal. A load average of 1 means that your CPU can't keep up
>with the amount of work being thrown at it. Load is the number of jobs
>in the run queue -- that is, processes that are waiting for a timeslice
>(those is runnable state, not those sleeping, waiting on I/O etc.). They
>could be run were the CPU not busy doing other things.

Doesn't the kernel include running tasks in that calculation, so that the perfectly loaded box would have a loadavg equal to the number of CPUs (i.e. all CPUs are executing code, with nothing waiting for a CPU to become free). That's certainly how it appears from my experience...

-- 
Russ, still on the crappy webmail 




________________________________________________________________
Sent via the WebMail system at wiss.co.uk


 
                   
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list