On 27/08/2020 11.21, jdd@dodin.org wrote:
I found a solution
right now it's only a "manual" one (no script), but anybody can manage this.
as root, one can *lower* the maximum speed of the cpu(s)
for me
cpupower frequency-set -u 2G
did the job, reducing the *maximum* cpu speed to 2GHz (default is 2.4)
the temperature went from 95°C to 73°C...
and the computer keeps reactive. The problem being given by a script, some more waiting is no problem
To me, this indicates a kernel problem or bug somewhere. The kernel should be able to automatically slow down the CPU when it overheats, keeping the machine fully responsive and within temp margins. I have a small fan-less server that does this fine, I see the entries in the log. I also have a fan-less laptop where I have not noticed the behaviour, but should be there. And certainly, you can slow down the processor manually. For example, I do: Isengard:~ # systemctl edit rsyncd.service [Service] CPUQuota=85% ---- And that is it, that process (that service) runs slower. I use this other tool on scripts or commands called manually: Isengard:~ # rpm -qi cpulimit Name : cpulimit Version : 2.5 Release : lp151.2.3 Architecture: x86_64 Install Date: Sat Oct 26 14:37:19 2019 URL : http://limitcpu.sourceforge.net/ Summary : Limit the CPU Usage of a Process Description : LimitCPU is a program to throttle the CPU cycles used by other applications. LimitCPU will monitor a process and make sure its CPU usage stays at or below a given percentage. This can be used to make sure your system has plenty of CPU cycles available for other tasks. It can also be used to keep laptops cool in the face of CPU-hungry processes and for limiting virtual machines. LimitCPU is the direct child of CPUlimit, a creation of Angelo Marletta, which can be found at http://cpulimit.sourceforge.net Distribution: openSUSE Leap 15.1 Isengard:~ # -- Cheers / Saludos, Carlos E. R. (from 15.1 x86_64 at Telcontar)