Le 11/12/2014 21:51, Brock Palen a écrit :
> When a system has HT enabled is one core presented the real one and one the 
> fake partner?  Or is that not the case?
>
> If wanting to test behavior without messing with the bios how do I select 
> just the 'real cores'  if this is the case?   
>
> I am looking for the equivelent of 
>
> hwloc-bind ALLREALCORES  my.exe
>

Assuming this still makes sense after your discussion with Jeff, you can
easily bind on the first hyperthread of all cores with:

hwloc-bind core:all.pu:0 my.exe


None of the hyperthreads is better than the others afaik.

By the way, if you can't in the BIOS, you may want to disable the
hyperthread in the kernel:

for i in $(hwloc-calc --whole-system --po -I pu core:all.pu:0) ; do echo 0 > 
/sys/devices/system/cpu/cpu$i/online ; done

(write 1 instead of 0 to reenable them).

Brice

Reply via email to