For years I wonder why my cpu is hotter when using linux. Cooler when using windows.
Tonight, accidentally I learn about cpu frequency. The hot comes from the hard work of the cpu. So if the system can lower it, it will cooler.
Check on which frequency the cpu is working by command : cpufreq-info
If the result show to the max number then we need to lower it down.
Here is how
Add these line in /etc/rc.d/rc.local
cpufreq-set --cpu 0 --governor conservative cpufreq-set --cpu 1 --governor conservative
then restart. Or do these command
echo "conservative" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor echo "conservative" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
Next the computer reboot, check the cpufreq-info again. It will show the freq number to the lowest one.
And you know what, my notebook is no longer hot like before. The movie played by vlc also run smooth.
My cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 10.0 us.
hardware limits: 1000 MHz – 2.17 GHz
available frequency steps: 2.17 GHz, 1.67 GHz, 1.33 GHz, 1000 MHz
available cpufreq governors: conservative, ondemand, userspace
current policy: frequency should be within 1000 MHz and 2.17 GHz.
The governor “conservative” may decide which speed to use
within this range.
current CPU frequency is 1000 MHz.
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0 1
CPUs which need to have their frequency coordinated by software: 1
maximum transition latency: 10.0 us.
hardware limits: 1000 MHz – 2.17 GHz
available frequency steps: 2.17 GHz, 1.67 GHz, 1.33 GHz, 1000 MHz
available cpufreq governors: conservative, ondemand, userspace
current policy: frequency should be within 1000 MHz and 2.17 GHz.
The governor “conservative” may decide which speed to use
within this range.
current CPU frequency is 1000 MHz.