Please confirm: top(1) cpu time broken on FreeBSD 6.1 (RELEASE/STABLE) SMP ?

Martin Blapp mb at imp.ch
Tue Jul 18 14:21:33 UTC 2006


Hi,

Ok, seems to be a HTT issue on a untuned system.

On two boxes I get with 'sysctl -a | grep smp | grep kern.smp.cpus'
kern.smp.cpus: 4

Here I see CPU-IDs 0 and 2 in top. No other CPUs seem to be
used. Here I get the broken CPU usage.

And yes, seeting hyperthreading_allowed=1 corrects the top usage.

On two other boxes where it works I get 'sysctl -a | grep smp | grep 
kern.smp.cpus' kern.smp.cpus: 2

Here I see CPU-ID's 0 and 1 in top. Here everything works as it should.

Martin

Martin Blapp, <mb at imp.ch> <mbr at FreeBSD.org>
------------------------------------------------------------------
ImproWare AG, UNIXSP & ISP, Zurlindenstrasse 29, 4133 Pratteln, CH
Phone: +41 61 826 93 00 Fax: +41 61 826 93 01
PGP: <finger -l mbr at freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------



More information about the freebsd-stable mailing list