by perihelions · 4y ago · 0 comments
# echo 0 > /sys/devices/system/cpu/cpu{121..127}/online
>"Disabling just one core makes the game start, but then it segfaults when the menu opens. Disabling six cores makes the menu work. Disabling seven makes the rest of the game work too."What path do you walk to be able to figure out this kind of black magic by yourself?
They're still consuming about the same power they would normally (when idle) :)
Edit: cpusets would probably handle this better dynamically. I'm not sure if that influences the count visible to a process
Just reading a book on the Linux kernel and it's structure should be enough to get you going.