I run a notebook with Fedora 34, actually Kernel Linux 5.12.11-300.fc34.x86_64 x86_64 and a processor ‘Intel Core™ i7-10750H CPU @ 2.60GHz × 12’. Usually the processor runs with a temparatur betweem 50-55 ° Celsius. But when I run a DNF UPDATE, even for small packages, the temperature quickly raises to about 90-95 ° Celsius and the fan runs at high speed. After DNF UPDATE ends then it takes a minute until the processor is at low temperature again.
What causes this? Do I have a chance to prevent this high temperature?
Usually high temperatures are an indicator of insufficient cooling. Either your fan’s cooling body is not making good contact with the cpu or the fan duct is clogged, or your fan speed is not controlled adequately.
the notebook is pretty new, so I doubt that this behaviour is caused by the hardware (only). Again: I see the high temperature/fan only when using dnf, no matter if I run it via command or via the dnfdragora gui. Esp. when dnf is ‘applying changes to the system’ the temperature rises high. Any other command or application that I can run for testing purposes to see it this is only caused by dnf?
While running the stress test, you can monitor your fan speed and core temperatures in another terminal window using:
watch -n 2 -d sensors
(sudo dnf install lm_sensors as @computersavvy pointed out, if not yet installed)
What’s the make and model? Maybe others with the same machine have some more insight. Could be too new…?! Are the fans spinning up, when the load increases? Is the BIOS firmware up to date?
I was not aware of ‘stress’. I installed and ran it for 30 seconds. Everything worked as expected: cpu temperature raised to 90° celsius, fans ran at 70-80%, and after the 30 seconds test it took just 10 seconds until cpu temperature came down to 50° celsius and fan at 10%. Seems to be fine for my part. So a highly assume a bug in dnf that stresses the cpu.
I don’t think it is a bug. Dnf does use a lot of cpu during the actual update while unpacking and installing the packages after the download part is complete. If the update is large it can be seen with cpu temps.
Anyways, especially with a new machine, the fan should be able to keep the temperature lower that what you report. Maybe update your BIOS firmware and your system, maybe some hardware is not yet fully supported by the kernel?
BTW, dnf keeps my CPU busy as well, but the temperature never rises above 74C. (oldish Thinkpad T440s)
I use a notbook esp. manufactured for Linux: TUXEDO Polaris 17 - Gen1
Again, DNF is the only application that stresses its CPUs. Luckily when I recently upgraded to 5.12.13-300.fc34.x86_64 the cpu temperature did not raise above 65 °C and fan ran low.
I will keep this open and double check with the next kernel upgrade.
I just detected that the temperature increases differently depending on the power supply. I tested with stress command: [jojo@fedora ~]$ sudo stress --cpu 12 --timeout 30
In case I run my laptop using battery the CPU temperature the temperature increases about 20 ° C only (from approx. 45° to 65° C) .
In case I run my laptop with power supply the temperature increases about 40-45°C! Strange enough (from approx. 45° up to 85° C). What might cause the different behaviour?
I would like to proceed with this issue because I get too often
fedora kernel: thermal thermal_zone0: acpitz: critical temperature reached, shutting down
This happens while using dnf, no matter via command or dnfdragora dialog. This time the shutdown started in between the
sudo dnf update
Any chance to limit dnf stressing the cpu?
Remark: I wonder why the cpu frequency is permantently on ‘powersave’. Also running the notebook connect to a power supply I have never seen ‘performance’. Why causes the switch from powersave to performance and vice versa?
Dnf is not “stressing” the cpu per se.
I think, from reading this again, that your issue is likely inadequate cooling and that anything that causes the cpu to work will overheat it.
I seem to recall this is a laptop, and the suggestion has been made to open it up and clean the fans and air passages. If you do not do that (or have someone with the skills to do so do so) then the problem will only get worse. Beating your head against a brick wall hurts, and not fixing the problem properly has the same effect.
So far you have been lucky in that the high temp shutdowns have not occurred in such a manner as to corrupt the file system, but it is only a matter of time until it happens while writing and it does.
Sorry for jumping in this thread. But I have a similar issue with my laptop HP ZBook 15 G6 (from 2020) that started recently. I am running Fedora 34 (kernel 5.13.9-200.fc34.x86_64).
I have made sure to clean any dust in the laptop by opening it. When I use the command stress as shown before my computed shut down. But only if the power supply is plugged in.
For what is worth, my computer was off for the summer break (July month) and when going back on the computer I have updated the machine (installing the new kernel 5.13.6 from 5.12.11) and the overheating issues started from that moment.
@christian-nils
Actually my issue is not fixed. I still try to figure out whether is is just DNF combined with kernel 5.13 that stresses the cpu. While my notebook is on power supply I can run
with no emergency shutdown, maximum temperature is 95° Celsius for seconds, but most of the time about 85-90° celsius.
Because DNF UPDATE in the only item that causes the notebook to perform the emergency shutdown I circumvent by limiting DNF UPDATE (after having set SU), e.g.;
systemd-run --scope -p CPUQuota=20% dnf update
This allow to run DNF in the shell with limited cpu usage (e.g. 20%).
Actually I am looking for additional test programs that might stress cpu and graphics cpu. I still want to figure our if my issue is related to kernel 5.13 and DNF.
additional information: I doubt this might be caused by dust or dirty fans. The notebook was manufactured only 4 months ago and is stored at a clean place.