idle task running on the wrong CPU
Kris Kennaway
kris at obsecurity.org
Wed Nov 23 09:07:10 GMT 2005
On Wed, Nov 23, 2005 at 04:03:34AM -0500, Kris Kennaway wrote:
> On 6.0-STABLE:
>
> 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
>
> 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.
>
> Kris
It was pointed out that machdep.hyperthreading_allowed=1 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=0 does not work as intended.
Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20051123/f8518100/attachment.bin
More information about the freebsd-current
mailing list