back

by auraham·4y ago·view on hn ↗
Can you elaborate on how to set the CPU on that mode? Is a command or BIOS setting? I would like to do the same on Ubuntu.
3 comments
You just need to write 1 to /sys/devices/system/cpu/intel_pstate/no_turbo , like in

sudo sh -c 'printf 1 > /sys/devices/system/cpu/intel_pstate/no_turbo'

Writing 0 re-enables turbo. Note it is not the same as the power-saving mode in Gnome settings under the Power section. This is more similar to Low-power mode in MacOS which also prevents Turbo boost.

EDIT: I was wrong to call it power-saving mode in the grandparent comment. It should be called no-turbo mode there.

in case you did not find out by now

  echo performance |tee /sys/devices/system/cpu/cpufreq/policy?/scaling_governor
The easy way in Fedora is using `tuned-adm`.

```

$ tuned-adm active ...

$ tuned-adm list ...

$ tuned-adm recommend ...

$ tuned-adm profile powersave

```

and the lazy way to do this is via "panel" apps (on Genome KDE whatever). I prefer this way since it helps me switch between different modes (such as if I want to do something resource intensive).