From owner-freebsd-stable@FreeBSD.ORG Fri Aug 12 09:39:06 2005 Return-Path: X-Original-To: freebsd-stable@FreeBSD.org Delivered-To: freebsd-stable@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E2BC516A41F; Fri, 12 Aug 2005 09:39:06 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: from tarsier.geekcn.org (tarsier.geekcn.org [210.51.165.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 512B943D53; Fri, 12 Aug 2005 09:39:06 +0000 (GMT) (envelope-from delphij@frontfree.net) Received: from beastie.frontfree.net (unknown [219.239.99.7]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by tarsier.geekcn.org (Postfix) with ESMTP id 23F97EB543B; Fri, 12 Aug 2005 17:39:03 +0800 (CST) Received: from localhost (localhost.frontfree.net [127.0.0.1]) by beastie.frontfree.net (Postfix) with ESMTP id A0B421369BA; Fri, 12 Aug 2005 17:39:01 +0800 (CST) Received: from beastie.frontfree.net ([127.0.0.1]) by localhost (beastie.frontfree.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 11843-01; Fri, 12 Aug 2005 17:38:42 +0800 (CST) Received: by beastie.frontfree.net (Postfix, from userid 1001) id E5CA91350A6; Fri, 12 Aug 2005 17:38:41 +0800 (CST) Date: Fri, 12 Aug 2005 17:38:41 +0800 From: Xin LI To: freebsd-stable@FreeBSD.org, freebsd-current@FreeBSD.org Message-ID: <20050812093841.GA11814@frontfree.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k+w/mQv8wyuph6w0" Content-Disposition: inline User-Agent: Mutt/1.4.2.1i X-GPG-key-ID/Fingerprint: 0xCAEEB8C0 / 43B8 B703 B8DD 0231 B333 DC28 39FB 93A0 CAEE B8C0 X-GPG-Public-Key: http://www.delphij.net/delphij.asc X-Operating-System: FreeBSD beastie.frontfree.net 5.4-RELEASE-p6 FreeBSD 5.4-RELEASE-p6 #4: Thu Jul 28 10:59:26 CST 2005 delphij@beastie.frontfree.net:/usr/obj/usr/src/sys/BEASTIE i386 X-URL: http://www.delphij.net X-By: delphij@beastie.frontfree.net X-Location: Beijing, China X-Virus-Scanned: amavisd-new at frontfree.net Cc: Subject: [RELENG_6] idle thread statistics not correct? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Aug 2005 09:39:07 -0000 --k+w/mQv8wyuph6w0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi, all, I got into a strange issue on a remote box I just upgraded to RELENG_6. [delphij@www] ~> ps aux | grep idle | grep -v grep root 11 92.5 0.0 0 8 ?? RL Thu03AM 0:00.00 [idle: cpu3] root 13 92.5 0.0 0 8 ?? RL Thu03AM 2293:59.13 [idle: cpu= 1] root 12 70.7 0.0 0 8 ?? RL Thu03AM 2300:52.77 [idle: cpu= 2] root 14 27.8 0.0 0 8 ?? RL Thu03AM 2292:59.84 [idle: cpu= 0] However, if I set machdep.hlt_logical_cpus=3D0, the ps aux output looks more rational: [delphij@www] ~> ps aux | grep idle | grep -v grep root 11 92.5 0.0 0 8 ?? RL Thu03AM 2307:08.09 [idle: cpu= 3] root 13 81.2 0.0 0 8 ?? RL Thu03AM 2306:58.61 [idle: cpu= 1] root 12 57.1 0.0 0 8 ?? RL Thu03AM 2304:56.66 [idle: cpu= 2] root 14 39.1 0.0 0 8 ?? RL Thu03AM 2294:48.68 [idle: cpu= 0] I have not looked into this deeply yet, but I think this really looks weird and may indicate other issues. Cheers, --=20 Xin LI http://www.delphij.net/ See complete headers for GPG key and other information. --k+w/mQv8wyuph6w0 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFC/G4h/cVsHxFZiIoRAoNdAJ47Fb4QWD7ZJ069oofE/RuWTK2R+wCfbrjn LEzRbKlyXyfjWSKsSy2fk5Y= =y7HH -----END PGP SIGNATURE----- --k+w/mQv8wyuph6w0--