- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Load Average in a multi CPU system
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 01:31 AM
05-10-2005 01:31 AM
Load Average in a multi CPU system
I am attaching the o/p here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 01:39 AM
05-10-2005 01:39 AM
Re: Load Average in a multi CPU system
http://www1.itrc.hp.com/service/james/dispDoc.do?docURL=http%3A%2F%2Fsearch.hp.com%2Fredirect.html%3Furl%3Dhttp%253A%2F%2Fforums1.itrc.hp.com%2Fservice%2Fforums%2Fquestionanswer.do%253FthreadId%253D852434%26qt%3D%252BLoad%2B%252BAverage%2B%26hit%3D1&aid=SEARCH_FORUMS&pil=1&serStr=Load+Average&pir=1
Educational doc:
http://www1.itrc.hp.com/service/james/dispDoc.do?docURL=%2Fservice%2Fcki%2FdocDisplay.do%3FdocLocale%3Den_US%26docId%3D200000071337163&aid=SEARCH_CKI&pil=5&serStr=Load+Average
Explanation attempt:
Load Average is just that, an average load factor over the time you are running the utility, in your case, sar.
Load has to do with the number of processes waiting for CPU and not getting it over a certain period of time, measured in milliseconds.
If Bill Hassell sees this and responds, he may share a story about how a system he worked on had a load average of 240 and excellent response time.
Load average being high is sometimes an indicator of trouble. Sometimes not. Your system looks pretty busy.
Does it have any specific performance issues?
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 01:40 AM
05-10-2005 01:40 AM
Re: Load Average in a multi CPU system
The load average is simply a weighted average of processes in the run queue - i.e. processes *waiting* for the next available CPU cycles.
This means that the more processes waiting to run the more the system is "loaded".
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 01:47 AM
05-10-2005 01:47 AM
Re: Load Average in a multi CPU system
Maybe obsolete to say, but another way to watch your system load is top or glance (mwa)
Cheerio,
Renarios
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 12:29 PM
05-10-2005 12:29 PM
Re: Load Average in a multi CPU system
As per your posted doc. we can see the Load averages (the average number of processes the were active in the last one, five, and fifteen minutes (1.72, 1.69, 1.56 respectivelly)) of all the active processors in the system.
You can see that in the last minute the value is 1.72, and if you see in the
bottom of the column CPU, there is the AVG value for all your CPus which corresponds to 1.72, which is the sum of all the values under the column LOAD of your CPU's divided by your 8 CPU.
In this case it seems that for the last 15 minutes the system has had consistent load,
although it is being a bit increased as per the last minute value (1.72).
In a very general way a light load may be considered below 3, medium grade loads could be considered around 5~7, and loads above 8 could be considered heavy loads, but, this is just a general point of view. You'll see many opinions on this issue.
It would be good idea to monitor your system at a regular intervals to
see what is normal to your system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2005 02:07 PM
05-10-2005 02:07 PM
Re: Load Average in a multi CPU system
while :
do
:
done
This script will keep a CPU 100% busy. On a one-CPU system, starting 5 copies doesn't change the CPU usage (still 100%) but there are 4 copies waiting for a timeslice, so the load factor is 5. Is the one-processor system any more loaded? No. HP-UX simply switches between each script every 100ms (kernel value is timeslice, default is 10, measure is 10ms).
So, it is simply the number of processes running or waiting to run. If you have a 2 processor system, a run_queue (load factor) of 2 means both CPUs are working as fast as they can on the user programs. A load factor of 240 for a 2 processor system is quite easy to create (just run the above script 240 times). But since all the scripts are CPU intensive, interrupts such as logins and other disk access will take priority and the system will seem fairly normal.
In the real world of databases and design programs, the load isn't nearly as simple because programs run lots of instructions as well as I/O. So the metric is slightly useful but should not be a major part of preformance monitoring.
Bill Hassell, sysadmin