Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Nov 2005 04:07:07 -0500
From:      Kris Kennaway <kris@obsecurity.org>
To:        Kris Kennaway <kris@obsecurity.org>
Cc:        cperciva@FreeBSD.org, current@FreeBSD.org, jhb@FreeBSD.org
Subject:   Re: idle task running on the wrong CPU
Message-ID:  <20051123090706.GA91223@xor.obsecurity.org>
In-Reply-To: <20051123090334.GA90972@xor.obsecurity.org>
References:  <20051123090334.GA90972@xor.obsecurity.org>

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

--cWoXeonUoKmBZSoM
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Nov 23, 2005 at 04:03:34AM -0500, Kris Kennaway wrote:
> On 6.0-STABLE:
>=20
>   PID USERNAME  THR PRI NICE   SIZE    RES STATE  C   TIME   WCPU COMMAND
>    13 root        1 171   52     0K     8K CPU1   0   0:00 100.00% idle: =
cpu1
> =20
> Note: the cpu1 idle task is running on CPU 0.  Actually it is not
> running, since it's not accumulating any CPU time, and in fact nothing
> at all is being scheduled on CPU 1.
>=20
> Kris

It was pointed out that machdep.hyperthreading_allowed=3D1 fixes this
bug (it was set to 0).  However, hyperthreading was already in use
(partly), because this machine has 2 physical CPUs with HTT, and CPUs
0, 2 and 3 were running jobs.

Looks like machdep.hyperthreading_allowed=3D0 does not work as intended.

Kris


--cWoXeonUoKmBZSoM
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDhDE6Wry0BWjoQKURAonNAJ9QsfYWiBrZlX0TPcvKV1bujvQDpwCeNJOJ
50ujf6MlrbgBncmN5CBcm08=
=//dH
-----END PGP SIGNATURE-----

--cWoXeonUoKmBZSoM--



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