Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2003 21:47:02 +0200
From:      "Petri Helenius" <pete@he.iki.fi>
To:        "Trish Lynch" <trish@bsdunix.net>
Cc:        <freebsd-current@FreeBSD.ORG>
Subject:   Re: hype(r)threading
Message-ID:  <0c9101c2e1bd$aa9a1b50$932a40c1@PHE>
References:  <20030303142353.C830-100000@femme>

next in thread | previous in thread | raw e-mail | index | archive | help
After some reading around I ended up putting a return; on top of
the mptable_hyperthread_fixup function and my performance is back.
Setting the sysctl helps some but it does not really fix the performance issues.

I would like to make the suggestion of making the HT "fixup" maybe a default
but allow disabling with a kernel variable?

Pete

On Mon, 3 Mar 2003, Petri Helenius wrote:

>
> I seem to want to quite the opposite what other people would like to happen,
> we have a supermicro P4DPR board with two Xeon´s. Since lately the kernel seems to
> want to launch the virtual cores regardless of BIOS setting of HyperThreading being
> [Disabled].
>
> Any ideas how to disable the cores since our workload is does not benefit from
> having more than two cores in a machine.
>
> Pete
>

Currently, AFAIK, there is no way to do this.

Depending on what you are doing you can increase performance slightly by
setting machdep.cpu_idle_hlt=1

-Trish

--
Trish Lynch    trish@bsdunix.net
Ecartis Core Team       trish@listmistress.org
EFNet IRC Operator @ efnet.demon.co.uk       AilleCat@EFNet
EFNet IRC Operator/SysAdmin @ irc.dkom.at             Aille_AT@EFNet
Key fingerprint = 781D 2B47 AA4B FC88 B919  0CD6 26B2 1D62 6FC1 FF16



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0c9101c2e1bd$aa9a1b50$932a40c1>