RFC: Simplfying hyperthreading distinctions

Gary Jennejohn gljennjohn at gmail.com
Sun Mar 22 09:07:49 UTC 2015


On Sat, 21 Mar 2015 21:43:35 +0200
Ivan Klymenko <fidaj at ukr.net> wrote:

> __ Sat, 21 Mar 2015 12:24:20 -0700
> Alfred Perlstein <alfred at freebsd.org> __________:
> 
> > John,
> > 
> > Just a quick note on this, hopefully it's not too off-topic...
> > 
> > We need to detect if HTT or SMT is enabled, right now there are no 
> > sysctl nodes to detect this and instead we have to parse xml out of
> > the scheduler...
> > 
> > Does it make sense to have a basic sysctl tree for this?
> > 
> > hw.cpu.threading.smt=0
> > hw.cpu.threading.htt=0
> > 
> > or something?
> > 
> 
> I am sorry that I interfere
> Why then not use kern.smp.topology for this purpose?
>

Because it's only present in the ULE scheduler, BSD doesn't
have it.

-- 
Gary Jennejohn


More information about the freebsd-arch mailing list