Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Mar 2013 23:14:32 +0100
From:      Marius Strobl <marius@alchemy.franken.de>
To:        Chris Ross <cross+freebsd@distal.com>
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: top's CPUn vs C column
Message-ID:  <20130301221432.GA12056@alchemy.franken.de>
In-Reply-To: <F4434B21-1E12-4F9F-9A17-450F3192AAD6@distal.com>
References:  <F4434B21-1E12-4F9F-9A17-450F3192AAD6@distal.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Mar 01, 2013 at 01:17:41PM -0500, Chris Ross wrote:
> 
>   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?
> 

I've no idea why this should be sparc64-specific in any way, that
should be all handled by MI code.

Marius




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130301221432.GA12056>