RFC: Simplfying hyperthreading distinctions

Ivan Klymenko fidaj at ukr.net
Sat Mar 21 19:43:51 UTC 2015


В 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?


More information about the freebsd-arch mailing list