Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Nov 2007 17:15:11 +0100
From:      Kris Kennaway <kris@FreeBSD.org>
To:        Ivan Voras <ivoras@freebsd.org>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Also seeing 2 x quad-core system slower that 2 x dual core
Message-ID:  <4750370F.80806@FreeBSD.org>
In-Reply-To: <fipa1s$ppu$1@ger.gmane.org>
References:  <200711291932.05614.max@love2party.net>	<E1IxtQS-000Kfz-I2@dilbert.ticketswitch.com>	<b41c75520711292059p5688a0ebled44d5b81694f539@mail.gmail.com>	<474FD17D.7080209@FreeBSD.org> <fipa1s$ppu$1@ger.gmane.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Ivan Voras wrote:
> Kris Kennaway wrote:
> 
>> Check dmesg for the APIC numbers corresponding to the CPUs you want to
>> disable and add the corresponding entries to /boot/loader.conf, e.g.:
>>
>> hint.lapic.1.disable="1"
>> hint.lapic.3.disable="1"
>> hint.lapic.5.disable="1"
>> hint.lapic.7.disable="1"
> 
> Hi,
> 
> Do you know how his method compares to setting machdep.hlt_cpus ?

That is not supported with ULE (and will lead to deadlocks), but I don't 
know off-hand if hyperthreading virtual CPUs have their own apic...ok, 
it does on one of my systems at least, so that is probably the way to go 
when possible.

Kris




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