[RELENG_6] idle thread statistics not correct?

Xin LI delphij at frontfree.net
Fri Aug 12 09:39:07 GMT 2005


Hi, all,

I got into a strange issue on a remote box I just upgraded to RELENG_6.

[delphij at 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: cpu1]
root       12 70.7  0.0     0     8  ??  RL   Thu03AM 2300:52.77 [idle: cpu2]
root       14 27.8  0.0     0     8  ??  RL   Thu03AM 2292:59.84 [idle: cpu0]

However, if I set machdep.hlt_logical_cpus=0, the ps aux output looks more
rational:

[delphij at www] ~> ps aux | grep idle | grep -v grep
root       11 92.5  0.0     0     8  ??  RL   Thu03AM 2307:08.09 [idle: cpu3]
root       13 81.2  0.0     0     8  ??  RL   Thu03AM 2306:58.61 [idle: cpu1]
root       12 57.1  0.0     0     8  ??  RL   Thu03AM 2304:56.66 [idle: cpu2]
root       14 39.1  0.0     0     8  ??  RL   Thu03AM 2294:48.68 [idle: cpu0]

I have not looked into this deeply yet, but I think this really looks weird
and may indicate other issues.

Cheers,
-- 
Xin LI <delphij frontfree net>	http://www.delphij.net/
See complete headers for GPG key and other information.

-------------- 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-stable/attachments/20050812/65cc772c/attachment.bin


More information about the freebsd-stable mailing list