- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Run queue query
Operating System - HP-UX
1752754
Members
4996
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО12-19-2008 01:50 AM
тАО12-19-2008 01:50 AM
Run queue query
Output of vmstat :
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
9 0 0 3770998 382269 321 45 6 0 0 0 0 2415 1966951 1251 44 7 49
9 0 0 3770998 381883 2 0 0 0 0 0 0 2334 2785076 1633 60 7 32
9 0 0 3770998 381883 0 0 0 0 0 0 0 2315 2767665 1473 62 7 31
9 0 0 3770998 381883 0 0 0 0 0 0 0 2310 2783469 1385 60 7 32
9 0 0 3770998 381883 0 0 0 0 0 0 0 2314 2769268 1326 61 8 32
No of processors : 4
The run queue has more processes than the number of CPU's which indicates that the CPU is overloaded. But CPU idle% is above 30%. Does this indicate all the 9 processes in the run queue are able to run with only 70% CPU and none of them are waiting for CPU ..??
Is this correct?
Thanks,
Srini
procs memory page faults cpu
r b w avm free re at pi po fr de sr in sy cs us sy id
9 0 0 3770998 382269 321 45 6 0 0 0 0 2415 1966951 1251 44 7 49
9 0 0 3770998 381883 2 0 0 0 0 0 0 2334 2785076 1633 60 7 32
9 0 0 3770998 381883 0 0 0 0 0 0 0 2315 2767665 1473 62 7 31
9 0 0 3770998 381883 0 0 0 0 0 0 0 2310 2783469 1385 60 7 32
9 0 0 3770998 381883 0 0 0 0 0 0 0 2314 2769268 1326 61 8 32
No of processors : 4
The run queue has more processes than the number of CPU's which indicates that the CPU is overloaded. But CPU idle% is above 30%. Does this indicate all the 9 processes in the run queue are able to run with only 70% CPU and none of them are waiting for CPU ..??
Is this correct?
Thanks,
Srini
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 02:10 AM
тАО12-19-2008 02:10 AM
Re: Run queue query
>which indicates that the CPU is overloaded.
Not really. It could indicate there is a lot of waiting for I/O or swap. Or lots of process starting and ending.
What does "swapinfo -tam" show?
>... with only 70% CPU and none of them are waiting for CPU?
That seems reasonable, the problem is elsewhere.
Not really. It could indicate there is a lot of waiting for I/O or swap. Or lots of process starting and ending.
What does "swapinfo -tam" show?
>... with only 70% CPU and none of them are waiting for CPU?
That seems reasonable, the problem is elsewhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 03:22 AM
тАО12-19-2008 03:22 AM
Re: Run queue query
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 32704 2139 30565 7% 0 - 1 /dev/vg00/lvol2
reserve - 29358 -29358
memory 32701 8177 24524 25%
total 65405 39674 25731 61% - 0 -
I have been digging on the significance of run-queue in vmstat and understood that having
runq -size > no of processors , is not good..
But this server of ours has been running like this , without significant performance issues from users. So am trying to understand what is happening. The sar -u doesnot show any %wio .
I notice that the sar -q output shows the runq size as <2 , when vmstat shows it as 11 at the same time.
10:59:57 runq-sz %runocc swpq-sz %swpocc
10:59:59 1.8 50 0.0 0
11:00:01 1.8 100 0.0 0
11:00:03 2.0 50 0.0 0
11:00:05 1.6 82 0.0 0
11:00:07 1.5 80 0.0 0
Average 1.7 72 0.0 0
What is the difference between both?
Thanks,
Srini
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 32704 2139 30565 7% 0 - 1 /dev/vg00/lvol2
reserve - 29358 -29358
memory 32701 8177 24524 25%
total 65405 39674 25731 61% - 0 -
I have been digging on the significance of run-queue in vmstat and understood that having
runq -size > no of processors , is not good..
But this server of ours has been running like this , without significant performance issues from users. So am trying to understand what is happening. The sar -u doesnot show any %wio .
I notice that the sar -q output shows the runq size as <2 , when vmstat shows it as 11 at the same time.
10:59:57 runq-sz %runocc swpq-sz %swpocc
10:59:59 1.8 50 0.0 0
11:00:01 1.8 100 0.0 0
11:00:03 2.0 50 0.0 0
11:00:05 1.6 82 0.0 0
11:00:07 1.5 80 0.0 0
Average 1.7 72 0.0 0
What is the difference between both?
Thanks,
Srini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2008 05:51 AM
тАО12-19-2008 05:51 AM
Re: Run queue query
dev 32704 2139 30565 7%
reserve - 29358 -29358
memory 32701 8177 24524 25%
total 65405 39674 25731 61% - 0 -
It doesn't look like you are swapping.
>understood that having runq -size > no of processors, is not good.
Not always.
>without significant performance issues from users. So am trying to understand what is happening.
You should not just be looking at the run queue. You should be looking at CPU percentage and other performance criteria.
>The sar -u does not show any %wio.
So you don't have an I/O bottleneck.
reserve - 29358 -29358
memory 32701 8177 24524 25%
total 65405 39674 25731 61% - 0 -
It doesn't look like you are swapping.
>understood that having runq -size > no of processors, is not good.
Not always.
>without significant performance issues from users. So am trying to understand what is happening.
You should not just be looking at the run queue. You should be looking at CPU percentage and other performance criteria.
>The sar -u does not show any %wio.
So you don't have an I/O bottleneck.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP