- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Diffrence between load average and run Q
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
Discussions
Discussions
Discussions
Forums
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
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
тАО02-24-2004 09:18 AM
тАО02-24-2004 09:18 AM
We've made some benchmark and took some system measures.
Question : we have different figures when looking at the load average (1 min / 5 min / 15 min --> the one you have with uptime, top, ...) and the first column of the vmstat output :
procs ... ...
R B W
The "R" column.
Does anyone know what's behind the load average, is it the CPU run Q + process blocked in I/O wait, ... ?
Thanks for you help,
Nicolas
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 09:32 AM
тАО02-24-2004 09:32 AM
Re: Diffrence between load average and run Q
The load avg is simply the 1 - minute load avg for all processors. As of 11i it does NOT include processes or threads waiting for disk I/O. ON 10.2 & 11.0 it DOES include them.
BUT - Don't forget to check the Priority queue as well. IF CPU is at/near 100% AND The Pri Queue is > 3, you most probably have a CPU bottleneck.
You can get VERY high run queue values, CPU at/near 100% & have absolutely NO CPU bottleneck, because the Pri Queue is at/near 0 - it's just busting ass & not knocking procs out of the CPU queue - it's just servicing them.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 11:05 AM
тАО02-24-2004 11:05 AM
Re: Diffrence between load average and run Q
Thx for the info, but to be very specific and reformulate : why does vmstat tells me there x process in the CPU run Q when I see a work load of y for last minute ( given that x is constant during that minute).
In other word, in which way the run Q displayed by vmstat is different from the one given as an average work load ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 09:13 PM
тАО02-24-2004 09:13 PM
Re: Diffrence between load average and run Q
Look at itrc.hp.com :
Date: 15/05/00
Document description: System Performance Tuning Guide
Document id: KBRC00000947
Good luck
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-24-2004 11:29 PM
тАО02-24-2004 11:29 PM
Re: Diffrence between load average and run Q
If it's not too much to ask, can you give me the explicit href of the document ?
Thk in advance
Nicolas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 01:49 AM
тАО02-25-2004 01:49 AM
Re: Diffrence between load average and run Q
I believe this is because vmstat is giving you "instant in time" snapshots whereas the load avg is a weighted average over specific time periods.
You have to remember that processes normally spend *very* little time actually in the run queue. They're either being executed or much more often - sleeping.
This is just one of the reasons that CPU bottlenecks are probably the most misdiagnosed ( i.e. mistaken for other bottlenecks) and usually the hardest to definitively pindown as to root cause (i.e. it frequently requires tusc-type tracing or even source code examination).
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 03:45 AM
тАО02-25-2004 03:45 AM
Re: Diffrence between load average and run Q
There is something odd in deed in the fact that this is the same entity that is doing the measure and be measured : it's like looking yourself walking ! So, waht I'm saying is that I'm aware of the difficulty of resource accounting.
But, at the end, both tool depend on the structures maintained by the kernel ?
Subsidiary question : what result would you value most ?
Best regards,
Nicolas
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 03:50 AM
тАО02-25-2004 03:50 AM
SolutionI use a combo of glance/gpm, sar AND vmstat along with the uptime/top stats.
But I probably rely on glance/gpm the heaviest as you can really drill down with it.
Rgds,
Jeff