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

From
Sachin Sant <hidden>
Date
2023-06-29 13:32:02
Also in
linux-arch, lkml
Reply to
Michael Ellerman, 2023-06-29
quoted
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
Thread (14 messages) 14 messages, 3 authors, last reply 2023-06-29
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help