3

I'm installing ATLAS on a multicore system. It runs Rocks OS, a linux distro specialized for cluster computing. I need to turn CPU throttling off.

According to a guide at csrc.tamu-commerce.edu, "$ /usr/bin/cpufreq-selector -g performance" turns off throttling on one CPU, but not all of them. They provide a way to turn off others, but does this control each CPU, or each individual core?

zr00
  • 331
  • 5
  • 16

1 Answers1

1

You could loop through the cores and set the governor for each.

CORES=$(cat /sys/devices/system/cpu/possible | tr '-' ' ')
for CPU in $(seq $CORES); do
    /usr/bin/cpufreq-selector -g performance -c $CPU
done

A good place for this code would be /etc/rc.local.

BillThor
  • 11,345
  • 2
  • 28
  • 25