Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jun 2003 16:11:27 +0100
From:      "Killing" <killing@barrysworld.com>
To:        "Doug White" <dwhite@gumbysoft.com>
Cc:        freebsd-smp@freebsd.org
Subject:   Re: SMP in 5.1 cant deactivate hyperthreading
Message-ID:  <024201c330f4$e58fdcf0$7b07000a@int.mediasurface.com>
References:  <F33F0D32429BD1458C34E3315053CE520FB830@xch-nw-28.nw.nos.boeing.com><012201c32fac$3f1cfa90$b3db87d4@vader> <20030612075426.F57541@carver.gumbysoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message ----- 
From: "Doug White" <dwhite@gumbysoft.com>
> > sysctl machdep.hlt_logical_cpus:
> > machdep.hlt_logical_cpus: 1
> 
> Halting them will still cause the CPUs to be detected. They just won't do
> any useful work.

Yep but the issue is that all the core admin tools are unaware of this and
hence include the virtual cores in idle calcs etc making load monitoring
impossible without nasty cludges :(

So what's the way forward?
1. Dont just use halt have a compile or other directive to disable them?
2. Update all tools to be halt aware?

Personally I'd go with 2 all be it more work / ramifications on other 3rd party
tools as it gives the benefit of also working when physical CPU's are halted.

Which ever it needs someone to pick it up ASAP dont you think?

    Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?024201c330f4$e58fdcf0$7b07000a>