Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Aug 2005 17:38:41 +0800
From:      Xin LI <delphij@frontfree.net>
To:        freebsd-stable@FreeBSD.org, freebsd-current@FreeBSD.org
Subject:   [RELENG_6] idle thread statistics not correct?
Message-ID:  <20050812093841.GA11814@frontfree.net>

next in thread | raw e-mail | index | archive | help

--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 <delphij frontfree net>	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--



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