top's CPUn vs C column
Chris Ross
cross+freebsd at distal.com
Fri Mar 1 19:20:16 UTC 2013
So, I was looking at a v240 I have running stable/9 (9.1-STABLE), and noticed something odd. The per-CPU information displayed by top seems inconsistent. To simplify things, while I'm running a "make release" in /usr/src/release, I just started running the following command over and over (by hand):
cross: top | grep " CPU"
cross: top | grep " CPU"
1044 cross 1 72 0 17128K 4464K CPU1 0 0:01 1.27% zsh
22528 root 1 77 5 11672K 2592K CPU1 1 0:00 0.00% sh
cross: top | grep " CPU"
cross: top | grep " CPU"
22634 cross 1 72 0 12808K 2872K CPU1 1 0:00 0.00% top
22633 root 1 77 5 6272K 880K CPU0 1 0:00 0.00% make
cross: top | grep " CPU"
22637 root 1 77 5 6272K 1656K CPU0 0 0:00 0.00% make
cross: top | grep " CPU"
cross: top | grep " CPU"
22684 root 1 77 5 11672K 2592K CPU0 0 0:00 0.00% sh
cross:
This displayed what I had earlier seen in the full-screen top. There doesn't appear to be any specific binding between the "n" in the "CPUn" state value, and the number in the "C" column, which is according to the man page, should mean the same thing.
Is this a sparc64 problem, a generic FreeBSD SMP problem, or not a problem at all and I'm misunderstanding something?
Thanks…
- Chris
More information about the freebsd-sparc64
mailing list