[PATCH v2 0/9] Introduce SMT level and add PowerPC support

Sachin Sant sachinp at linux.ibm.com
Thu Jun 29 23:31:22 AEST 2023


>> 
>> Without this option but changing SMT level during runtime using
>> ppc64_cpu —smt=<level>, the SMT level is not retained after
>> cpu core add.
> 
> That's because ppc64_cpu is not using the sysfs SMT control file, it's
> just onlining/offlining threads manually.
> 
> If you run:
> $ ppc64_cpu --smt=4 
> 
> And then also do:
> 
> $ echo 4 > /sys/devices/system/cpu/smt/control
> 
> It should work as expected?

Thanks Michael. Yes this works. The SMT level is preserved
after a core add.

- Sachin


More information about the Linuxppc-dev mailing list