As I was checking the kernel logs I noticed :
kernel: CPU2: Package temperature above threshold, cpu clock throttled (total events = 13430).
I have 4 CPUs and all of them have the same issue. My laptop hardware info :
K46CB (ASUS-NotebookSKU)
CPU info :
Architecture: x86_64
Model name: Intel(R) Core(TM) i7-3537U CPU @ 2.00GHz
I searched the log and found this CPU hardware errors in Ubuntu 17.04 and Stop cpu from overheating, I checked my packages and I have thermald and intel-microcode installed.
I can hear my laptop's fan working, but sometimes it really gets hot and I can feel it through the case.
In Windows-10, although CPU usage gets high, the temperature is usually normal.
Any idea what may have gone wrong? and what can I do to further investigate this issue?
Update
I checked thermald.service status and I found this line :
thermald[879]:sysfs read failed /sys/class/thermal/cooling_device0/cur_state
You should see (and possibly subscribe to) this bug report:
There have been numerous posts in Ask Ubuntu about CPU throttling recently:
All these posts say the same thing which happens to me periodically:
In my case it happens so rarely and with no adverse side-effects I've chosen to ignore the errors.
Similar launchpad bug reports on the same issue:
And just so you know it's not just Ubuntu, from Redhat:
It sounds like your
/etc/thermald/thermal-conf.xml
file needs to be tweaked for your hardware...I'd installthermald
...sudo apt-get update
sudo apt-get install thermaldThermald
comes with a default configuration file at/etc/thermald/thermal-conf.xml
that will control most computers, but may need to be customized for some computers. Seeman thermal-conf.xml
for some details and examples. Once one has modified the configuration file, stopthermald
and restart it:After installing thermald, I'd stop the
thermald
process, and run it manually assudo thermald --no-daemon
to watch its actions in real time. This real time info can be used to create your own customized thermal-conf.xml file. Seeman thermald
for more information.You can search for
thermald
here on Ask Ubuntu to see what previous answers there are. Many of the answers come from me.A good starter reference is at https://wiki.ubuntu.com/Kernel/PowerManagement/ThermalIssues
The problem is threefold. First, you have high CPU usage. Secondly, the CPU's cooling is not enough. Third, it doesn't correctly throttle.
Higher CPU usage might be due to Unity not correctly using your hardware acceleration; and Unity is quite CPU-intensive. You might tweak it or even switch to a different desktop manager such as: Cinnamon, Kubuntu, Lubuntu or Linux Mint.
CPU Cooling on laptops is notoriously bad. CleanIng your fan and putting the laptop on a flat surface instead of fabric/pillow might help.
About throttling, you can set the maximum CPU frequency to a lower setting or switch to power saving mode.
update your 'thermald' to 2.4.8 the latest one. https://github.com/intel/thermal_daemon/tree/v2.4.8
run 'thermald --version' to determine your version.
reason.. many, many thermald bugs and workarounds for intel 7700 cpus etc.. https://github.com/intel/thermal_daemon/issues/293 https://bugs.launchpad.net/ubuntu/+source/thermald/+bug/1600599