3 ms·
>"The solution?" # echo 0 > /sys/devices/system/cpu/cpu{121..127}/online >"Disabling just one core makes the game start, but then it segfaults when the me
by perihelions 5y ago
>"The solution?"
# 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?
- notpopcorn 5y agoIt's just like the end of Portal 1: you have to remove some cores in order to win the game. ;)
- bravetraveler 5y agoFor anyone curious/hopeful, this only really disables the cores in terms of the kernel. 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
- Davidbrcz 5y agoThis isn't really black magic. Just reading a book on the Linux kernel and it's structure should be enough to get you going.