CPU overheating on Linux, but not on Windows, while doing the same things

17,791

I may have found a solution:

sudo apt-get install thermald

This package should do the following:

Thermal daemon looks for thermal sensors and thermal cooling drivers in the Linux thermal sysfs (/sys/class/thermal) and builds a list of sensors and cooling drivers. Each of the thermal sensors can optionally be binded to a cooling drivers by the in kernel drivers. In this case the Linux kernel thermal core can directly take actions based on the temperature trip points, for each sensor and associated cooling device. For example a trip temperature X in a sensor can be associates a cooling driver Y. So when the sensor temperature = X, the cooling driver "Y" is activated.

Since I installed it and rebooted, I have only 4 occurrences of overheating with uptime of 2 hours.

I wonder, why this useful package was not pre-installed, but never mind.

After I have run 8 simultaneous sha256sum of a 100GiB file, CPU was used at 100% for several minutes:

100% CPU usage

Without the thermald package, the chassis of the laptop above the CPU would literally burn my fingers when touching it, but now it's only moderately warm!

Not to mention there is nothing in dmesg about CPU throttling.

Share:
17,791

Related videos on Youtube

Vlastimil Burián
Author by

Vlastimil Burián

I am passionate about Linux systems in general and POSIX shell scripting in particular.

Updated on September 18, 2022

Comments

  • Vlastimil Burián
    Vlastimil Burián over 1 year

    I can clearly hear the fans (there are 2 of them) inside my laptop spin more on Linux Mint 18.2 Cinnamon 64-bit with kernel 4.10.0-37-generic, but any kernel I've tried for that matter, than on Windows 10 Pro. What is more important, my laptop's cooling does not keep up for the temperatures, as shows this dmesg snippet:

    [10498.701800] CPU1: Package temperature above threshold, cpu clock throttled (total events = 2582)
    [10498.701802] CPU4: Package temperature above threshold, cpu clock throttled (total events = 2582)
    [10498.701804] CPU7: Package temperature above threshold, cpu clock throttled (total events = 2582)
    [10498.701805] CPU0: Package temperature above threshold, cpu clock throttled (total events = 2582)
    [10498.701806] CPU3: Package temperature above threshold, cpu clock throttled (total events = 2582)
    [10498.701807] CPU5: Package temperature above threshold, cpu clock throttled (total events = 2582)
    [10498.701809] CPU2: Package temperature above threshold, cpu clock throttled (total events = 2582)
    [10498.701816] CPU6: Package temperature above threshold, cpu clock throttled (total events = 2582)
    

    with 2582 of these events in uptime -p of 3 hours, I don't know what does this Linux otherwise than the Windows.

    I must stress that I am using this Linux for a long time, and it always had this issue. And I start worrying about my CPU in the long-run.

    I tried installing intel-microcode in Driver Manager. Did not change a thing.

    For example, I am playing a browser game based on Flash Player in Chrome.

    The CPU in question is Intel Core i7 4700HQ.


    EDIT1:

    ps -aux
    

    output (expired on pastebin).

  • Vlastimil Burián
    Vlastimil Burián over 4 years
    Have you taking the time to report the issue to Caribou team (they need to have some GitHub but did not manage to find it now). Anyway, thanks for reporting it to us at least...
  • C. M.
    C. M. about 3 years
    Are you answering the original question, or seeking help with your own issue? If you have an issue of your own, please delete this answer and post your own question (and... read the community guidelines on how to ask a good question and what information to include to help us help you resolve it quickly.)