2 ms·
To prevent overheating on my X1 ThinkPad under Fedora I set the CPU governor to the power safe mode. As an added benefit it makes the laptop almost silent even
by _0w8t 4y ago
To prevent overheating on my X1 ThinkPad under Fedora I set the CPU governor to the power safe mode. As an added benefit it makes the laptop almost silent even when using all the cores/threads to compile huge C++ code base that may the memory usage towards 32 GB. Surely it compiles slower, but the slowdown is less than 25%
- auraham 4y agoCan 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.
- _0w8t 4y agoYou 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.
- hansel_der 4y agoin case you did not find out by now echo performance |tee /sys/devices/system/cpu/cpufreq/policy?/scaling_governor
- parasense 4y agoThe easy way in Fedora is using `tuned-adm`. ``` $ tuned-adm active ... $ tuned-adm list ... $ tuned-adm recommend ... $ tuned-adm profile powersave ```
- whitesilhouette 4y agoand 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).