Hacker News new | ask | show | jobs
by perihelions 1635 days 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?

3 comments

It's just like the end of Portal 1: you have to remove some cores in order to win the game. ;)
For 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

This isn't really black magic.

Just reading a book on the Linux kernel and it's structure should be enough to get you going.