Skip to Main Content

Infrastructure Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

high run queues but CPU not 0% idle?

807567Jul 18 2003 — edited Oct 29 2004
I have a 2 CPU Sun 220R running Solaris 8 that vmstat -S 5 shows run
queue spikes from 0 to the mid 40's. See output below. I would expect
to see the cpu id at 0 but never do. There are no processes blocked or
waiting on IO. iostat shows very low wait and busy. sr, de are 0 or
low so I don't have a memory issue. Also, user time is consistantly >
sys time. There are a ton of processes on this box, several have
very high execution times as reported by ps -ef. Why does vmstat show
run queues > # processors but cpu id is not 0? Given this scenario is
there any quantative way to determine what will have the most impact;
ie. adding more cpu's vs. using faster cpu's (only way to profile
applications?)

Thanks in advance!


0 0 0 4781848 754672 0 0 1 120 57 0 0 1 1 0 0 802 27501 8212
10 7 84
7 0 0 4781816 754608 0 0 1 534 294 0 0 10 10 0 0 1730 60043
11133 61 28 11
35 0 0 4781736 754752 0 0 0 372 219 0 0 1 1 0 0 1522 53000
11220 48 23 29
0 0 0 4781816 754768 0 0 0 19 14 0 0 1 1 0 0 913 27735 9797
14 7 79
0 0 0 4781768 754824 0 0 0 32 28 0 0 7 7 0 0 839 20166 8604
16 2 82
procs memory page disk faults
cpu
r b w swap free si so pi po fr de sr s0 s1 s6 sd in sy cs
us sy id
0 0 0 4781768 754848 0 0 0 49 35 0 0 0 0 0 0 717 33595 8470
6 4 90
0 0 0 4781720 754768 0 0 0 44 35 0 0 0 0 0 0 751 33659 8477
7 5 88
0 0 0 4781800 754864 0 0 0 44 30 0 0 7 7 0 0 848 31319 8420
6 6 88
2 0 0 4781800 754872 0 0 0 172 81 0 0 1 1 0 0 897 29821 8935
19 9 72
2 0 0 4781904 754904 0 0 6 214 118 0 0 3 4 0 0 1263 44178
10420 35 15 50
0 0 0 4781480 754360 0 0 0 52 36 0 0 1 1 0 0 832 30322 9332
6 8 86
0 0 0 4781528 754432 0 0 0 11 6 0 0 1 1 0 0 721 19417 8604
2 1 97
0 0 0 4781528 754456 0 0 0 22 14 0 0 1 1 0 0 727 21467 8579
2 2 96
0 0 0 4781800 754728 0 0 11 11 4 0 0 9 10 0 0 860 19026 8463
1 2 97
0 0 0 4781984 754880 0 0 0 62 40 0 0 1 1 0 0 780 26682 8652
6 4 90
6 0 0 4781936 754832 0 0 0 334 184 0 0 0 0 0 0 1247 41826 9773
46 18 37
1 0 0 4781744 754656 0 0 12 108 67 0 0 3 1 0 0 1042 35629
10301 19 9 71
0 0 0 4781408 754240 0 0 0 22 12 0 0 0 0 0 0 753 22018 8888
2 2 95
0 0 0 4781408 754256 0 0 0 35 17 0 0 0 0 0 0 729 23785 8683
3 3 94
0 0 0 4781400 754272 0 0 1 9 4 0 0 7 7 0 0 816 18661 8378
1 2 97
0 0 0 4781664 754568 0 0 6 48 28 0 0 1 1 0 0 737 29763 8306
5 5 90
0 0 0 4781520 754400 0 0 0 64 40 0 0 3 3 0 0 819 25576 8634
7 5 89
24 0 0 4781520 754392 0 0 0 456 248 0 0 1 1 0 0 1366 49845
10163 51 24 26
4 0 0 4781472 754384 0 0 0 304 174 0 0 1 1 0 0 1288 44613
10505 36 19 45
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 26 2004
Added on Jul 18 2003
5 comments
383 views