Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jul 2006 16:20:02 +0200 (CEST)
From:      Martin Blapp <mb@imp.ch>
To:        David Wolfskill <david@catwhisker.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Please confirm: top(1) cpu time broken on FreeBSD 6.1 (RELEASE/STABLE) SMP ?
Message-ID:  <20060718161104.X36995@godot.imp.ch>
In-Reply-To: <20060718140707.GG66891@bunrab.catwhisker.org>
References:  <20060718152306.X36995@godot.imp.ch> <20060718155642.H36995@godot.imp.ch> <20060718140707.GG66891@bunrab.catwhisker.org>

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

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@imp.ch> <mbr@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@freebsd.org>
PGP Fingerprint: B434 53FC C87C FE7B 0A18 B84C 8686 EF22 D300 551E
------------------------------------------------------------------




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