vanutsteen.nl => nerds only A blog on rails, php, computing, my bass guitar and stuff

Disabling a cpu-core in Ubuntu

on in Linux

When we play unreal tournament GOTY it always runs bad on newer machines. One of my collegues found it the problem was the smp support of UT. Disabling all cores except the first on solved the problem. In Linux that’s like doing:

1
echo 0 > /sys/devices/system/cpu/cpu1/online

To get it back online:

1
echo 1 > /sys/devices/system/cpu/cpu1/online

More on cpu hotplugging.

Comments