cancel
Showing results for 
Search instead for 
Did you mean: 

Load Average

SOLVED
Go to solution
Sundar_7
Honored Contributor

Load Average

Folks,

How would you explain this load average ? Per my understanding, load average is the average of the number of processes in the run queue. System is 97.6% idle but still a load average of 10 ?

top - 10:36:03 up 314 days, 1:45, 2 users, load average: 10.66, 10.23, 7.25
Tasks: 82 total, 1 running, 81 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.1% us, 1.4% sy, 0.0% ni, 97.6% id, 0.8% wa, 0.0% hi, 0.0% si

Sundar.
Learn What to do ,How to do and more importantly When to do ?
6 REPLIES
Ivan Ferreira
Honored Contributor
Solution

Re: Load Average

Hi Sundar, here is a good explanatio of load average:

http://www.redhat.com/magazine/011sep05/departments/tips_tricks/
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
skt_skt
Honored Contributor

Re: Load Average

load average=number of processes in the run queue waiating for CPU time/"number of processor"

load avaerage will be 5 if there are 4 cpus and 20 processes currently in the queue.I have noticed that this has been increasing gradually , but there was not real performance problem.
Stuart Browne
Honored Contributor

Re: Load Average

Santhosh, not under Linux it isn't.
One long-haired git at your service...
Steven E. Protter
Exalted Contributor

Re: Load Average

Shalom,

Lots of processes waiting, never getting the resources they need.

Bug. The system has been running a long time between boots.

I'd look at what processes are running and their state. There should be an explanation in that analysis.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Sundar_7
Honored Contributor

Re: Load Average

The following paragraph from the Redhat website explains it all

"Some other operating systems calculate their load averages simply by looking at processes in R state. On those systems, load average is synonymous with the run queue -- high load averages mean that the box is CPU bound.

This is not the case with Linux. On Linux the load average is a measurement of the amount of "work" being done by the machine (without being specific as to what that work is). This "work" could reflect a CPU intensive application (compiling a program or encrypting a file), or something I/O intensive (copying a file from disk to disk, or doing a database full table scan), or a combination of the two.

"

The load average is computed differently in HP-UX and Linux.
Learn What to do ,How to do and more importantly When to do ?
Sundar_7
Honored Contributor

Re: Load Average

Redhat website explains the difference in the algorithm used to computer load average between Linux and other UNIX variants. Closing the thread.
Learn What to do ,How to do and more importantly When to do ?