For some benchmarks it can be important to have a system operating on just a specific number of CPU cores. To find out how many you have, just count them by: $ ls -l /sys/devices/system/cpu/ Switching a core off is just as easy as echo 0 > /sys/devices/system/cpu/cpu7/online which would switch off core 7. For… Continue reading switch off cpu cores in ubuntu/linux