The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Advanced & Expert Users
Google UNIX.COM


UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
HP-UX File System device load fkaba81 HP-UX 0 12-22-2006 10:10 AM
Need help in wrting Load Script for a Load-Resume type of load. ankitgupta Shell Programming and Scripting 1 11-09-2006 09:46 PM
cannot load any operating system Derrek Filesystems, Disks and Memory 3 08-12-2004 04:22 AM
system load tool mikester Linux 0 04-27-2004 03:16 AM
determining the load on a system 98_1LE UNIX for Dummies Questions & Answers 3 10-24-2001 07:26 AM

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 12-07-2001
Registered User
 

Join Date: Dec 2001
Posts: 2
How is system load determined?

Hello!

I'm wondering what factors are used to determine the "system load"

Where can i look to get more information on this?

Patrick
Forum Sponsor
  #2  
Old 12-07-2001
Registered User
 

Join Date: Dec 2001
Posts: 2
Found it

system load is the average length of the processor queue.
  #3  
Old 12-08-2001
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
Re: Found it

Quote:
Originally posted by Patrick_Morris
system load is the average length of the processor queue.
I would be interested to know where you found that particular language. The man page for uptime says
Quote:
the average number of jobs in the run queue
which is very close to your language. I encountered many cases where this didn't seem to jibe with reality so I took a peek at the source code.

Rather than looking at the run queue, the load is actually computed by scanning the proc table. A process is counted if
  • it is runnable (in the run queue)
  • if it is running (in a cpu)
  • if it sleeping with a priority lower than PZERO

That last one is intended to cover processes that are waiting for disk i/o to complete. And the load is divided by the number of cpu's.
  #4  
Old 12-11-2001
Neo's Avatar
Neo Neo is offline
Administrator
 

Join Date: Sep 2000
Location: Asia Pacific
Posts: 4,493
Quote:
System Load Average (SLA). It is important to note that the SLA can only be used as a rough indicator as it does not take scheduling priority into account . It also counts as runnable all jobs waiting for disk I/O, including NFS I/O. However, uptime is a good place to start when trying to determine whether a bottleneck is CPU or I/O based.
The extract above is from this paper..... CLICK HERE.
Google The UNIX and Linux Forums
Closed Thread

Tags
load average, performance

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 10:07 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0