Sunday, August 30, 2015

Caffe Install: ATLAS installation Ubuntu CPU throttling apparently enabled

Caffe Install requires a Math library. Of the 3 options, ATLAS is open source and, hence, the default. Installation of ATLAS was causing issues because intel_pstate governor. Governor does power management for Kernel [1].

To identify if, the intel_pstate is the issue, identify if the governor is intel_pstate. 

  1. cpufreq-info will show the governor.
  2. If intel_pstate is shown as the governor, disable intel_pstate.
  3.  Edit the file /etc/default/grub and add: GRUB_CMDLINE_LINUX_DEFAULT="intel_pstate=disable"
  4. Update grub.cfg ala grub-mkconfig -o /boot/grub/grub.cfg
Reference
[1] https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt
[2] http://unix.stackexchange.com/questions/121410/setting-cpu-governor-to-on-demand-or-conservative
[3] https://wiki.archlinux.org/index.php/CPU_frequency_scaling#Scaling_governors

No comments:

Post a Comment