From owner-freebsd-sparc64@FreeBSD.ORG Fri Mar 1 19:20:16 2013 Return-Path: Delivered-To: freebsd-sparc64@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 380162B8 for ; Fri, 1 Mar 2013 19:20:16 +0000 (UTC) (envelope-from cross+freebsd@distal.com) Received: from mail2.markmonitor.com (mail2.markmonitor.com [64.124.14.95]) by mx1.freebsd.org (Postfix) with ESMTP id 2210110F1 for ; Fri, 1 Mar 2013 19:20:15 +0000 (UTC) Received: from localhost (localhost.localdomain [127.0.0.1]) by mail2.markmonitor.com (Postfix) with ESMTP id 75C7F14D4E for ; Fri, 1 Mar 2013 10:18:07 -0800 (PST) X-Virus-Scanned: amavisd-new at markmonitor.com Received: from mail2.markmonitor.com ([127.0.0.1]) by localhost (mail2.mm-corp.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vSjIonsPwPfr for ; Fri, 1 Mar 2013 10:18:03 -0800 (PST) Received: from dc-exch2.mm-ads.com (dc-exch2.mm-corp.net [10.112.0.223]) by mail2.markmonitor.com (Postfix) with ESMTP id 14BC8148FB for ; Fri, 1 Mar 2013 10:18:03 -0800 (PST) Received: from dc-exch4.mm-ads.com ([10.112.0.225]) by dc-exch2.mm-ads.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 1 Mar 2013 13:18:02 -0500 Received: from zalamar.mm-corp.net ([10.112.52.72]) by dc-exch4.mm-ads.com with Microsoft SMTPSVC(6.0.3790.4675); Fri, 1 Mar 2013 13:17:41 -0500 From: Chris Ross Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Subject: top's CPUn vs C column Date: Fri, 1 Mar 2013 13:17:41 -0500 Message-Id: To: freebsd-sparc64@freebsd.org Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-OriginalArrivalTime: 01 Mar 2013 18:17:41.0534 (UTC) FILETIME=[1013CBE0:01CE16A9] X-BeenThere: freebsd-sparc64@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the Sparc List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Mar 2013 19:20:16 -0000 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=85 - Chris