# Re: \[PATCH v2 0/9\] Introduce SMT level and add PowerPC support

- From: Sachin Sant \<hidden\>
- Date: 2023-06-29 13:32:02 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2023/06/2249749
- Thread: https://ratatoskr.run/linuxppc-dev/2023/06/2248419/t.md

```text

>> 
>> 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
```
