11-14-2018, 02:58 AM
Sometimes, especially in older machines, the CPU temperature may rise above it's normal threshold.
This is usually not an issue with new CPUs, since they don't consume power so much.
But since we are talking about older computers, over heating may become an issue and I write this topic
about how to deal with it.
First of all, old CPU units tend to consume much power, which leads to heating. there is no way out of the fact.
This is the reason why desktop computers usually have huge cooling units - of various kinds, which themselves
produce again more heat - there is no way out of this thermodynamic fact. The extra heat must go somewhere.
Desktops just "blow away" the heat into room air, which is usually always much cooler.
But how about older laptops. They don't have efficient cooling systems and sometimes the CPU temperature
just hits it's maxium. There are many ways to deal with this situation though. I try to explain some of them here.
The first one is kernel-dependent, meaning that you cannot use it if the running kernel does not support it.
To find out, open the console and command:
Code:
sudo grep MCE /boot/config-$(uname -r)
If the output has a line like: "CONFIG_X86_MCE=y", then you can use the CPU Machine Exception Banks for
this purpose. Just make sure the service has been enabled by commanding:
Code:
systemctl status mcelog
Code:
systemctl enable mcelog; sleep 5; systemctl start mcelog
That should do it. Now the kernel is able to communicate with the mce-process, and warn if the temperature
is too high. How to configure the mcelog daemon? Ask! MCElog does much more than just reports about
temperatures, so this may not be the best possible solution to this particular problem.
There are many other ways to deal with this issue, for example using the desktop XFCE sensors plugin, which
brings the CPU core temperatures to the XFCE desktop.
And you may always just read the temperature from /sys: (and maybe use it in cron or by other means)
Code:
cat /sys/class/thermal/thermal_zone0/temp
Divide that by 1000 and you have approximately the core0 temperature in Celsius, metric units (The Correct ones
Well, I thought I would write more about this topic, but I'll write about "thermald", "lm_sensors" and "SMART" in
other topics if you guys think it might be interesting
Cheers!
KP