I was looking at ways to keep the CPU cool when running long jobs (40-70 mins long) that use all available cores at maximum available frequency. Also I have a lot of these jobs to run.
First I came across this script but I don't understand bash much and couldn't figure out when I kill the script, if it will restore default values in
/sys/devices/system/cpu/cpu0/cpufreq so I abandoned that approach.
Then I came across this question but my PC only shows
scaling_available_governors. It is set to
- Does it mean the PC is automatically throttling performance to keep things cool?
Also in my
/sys/devices/system/cpu/cpu0/cpufreq folder I found a file
energy_performance_preference whose options are:
Mine is set to
- What is this option and where can I find out what each one does?
Yes I know people say that modern CPUs will handle throttling and heat on their own, but nevertheless I feel about PCs the same way about cars. Sure you can get your RPM to redline, and most modern cars will prevent you from permanently damaging your engine. But once you make it a habit to redline frequently, surely the life-expectancy of the engine goes down.
- Are their any recommended easy to use tools for Ubuntu that will let me set a max/min temperature and throttle performance like the linked script attempted to do?