CPU idle incorret in top on ppc64
Issue
top, vmstat commands always display CPU %id to be 0 even after confirmation that there are no more applications running on the Linux server
top output:
Tasks: 413 total, 1 running, 412 sleeping, 0 stopped, 0 zombie
Cpu(s): 50.0%us, 50.0%sy, 0.0%ni, 0.0%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 1006784k total, 957376k used, 49408k free, 134208k buffers
Swap: 1048448k total, 4992k used, 1043456k free, 529856k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
16364 root 20 0 5824 3776 2432 R 0.3 0.4 0:00.04 top
1 root 20 0 6272 3200 1920 S 0.0 0.3 0:01.76 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.07 kthreadd
3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
4 root 20 0 0 0 0 S 0.0 0.0 0:00.04 ksoftirqd/0
5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
6 root RT 0 0 0 0 S 0.0 0.0 0:00.83 watchdog/0
7 root RT 0 0 0 0 S 0.0 0.0 0:00.11 migration/1
8 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/1
9 root 20 0 0 0 0 S 0.0 0.0 0:00.17 ksoftirqd/1
10 root RT 0 0 0 0 S 0.0 0.0 0:00.84 watchdog/1
11 root RT 0 0 0 0 S 0.0 0.0 0:00.83 migration/2
12 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/2
13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/2
14 root RT 0 0 0 0 S 0.0 0.0 0:00.82 watchdog/2
15 root RT 0 0 0 0 S 0.0 0.0 0:00.21 migration/3
16 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/3
17 root 20 0 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/3
18 root RT 0 0 0 0 S 0.0 0.0 0:00.82 watchdog/3
19 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/4
20 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/4
21 root 20 0 0 0 0 S 0.0 0.0 0:00.02 ksoftirqd/4
22 root RT 0 0 0 0 S 0.0 0.0 0:01.11 watchdog/4
vmstat output:
[root@host_name]# vmstat 2 4
procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
0 0 4992 50880 134208 529856 0 2 2151 2966 8099 16999 32 68 0 0 0
0 0 4992 49728 134208 529920 0 0 0 0 2 26 100 0 0 0 0
0 0 4992 49728 134208 529920 0 0 0 0 2 34 0 0 0 0 0
0 0 4992 49728 134208 529920 0 0 0 6 4 33 0 0 0 0 0
Environment
RHEL 6
IBM Power 720 Express Server
platform - pSeries (Full Power7 Mode)
model - IBM,8202-E4C
machine - CHRP IBM,8202-E4C
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.