Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Apr 2010 09:48:12 -0400
From:      John Baldwin <jhb@freebsd.org>
To:        freebsd-smp@freebsd.org
Cc:        Hubert Tournier <hubert@frbsd.org>, oklahoma <stopeme@gmail.com>
Subject:   Re: Disabling HyperThreading?
Message-ID:  <201004260948.12730.jhb@freebsd.org>
In-Reply-To: <4BD563F7.4010203@googlemail.com>
References:  <28357071.post@talk.nabble.com> <28359495.post@talk.nabble.com> <4BD563F7.4010203@googlemail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Monday 26 April 2010 5:59:19 am oklahoma wrote:
> Hubert Tournier wrote:
> >
> > I forgot to specify that the system is a remote dedicated server, for 
which
> > i have no physical access.
> >
> > I could rent a virtual KVM in order to try to access its BIOS settings, 
but
> > i'm not sure this would work.
> >
> > Any other software solution?
> if the server is dedicated entirely to you, ask your colo support to 
> disable it for you.
> other thing i find was
> 
> machdep.hlt_cpus 
> 
> is suppose to tell the scheduler that there is extra cores but not to use 
them.
> try to enable and see with top is there app that use logical cores.

You can manually disable any CPU (except for the boot CPU), via 
'hint.lapic.X.disabled=1' in loader.conf.  You can find the APIC IDs to use in 
place of 'X' in dmesg.

-- 
John Baldwin



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