Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #256927
| From | David Christensen <dpchrist@holgerdanske.com> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: how to limit a CPU temperature? |
| Date | 2023-04-09 03:10 +0200 |
| Message-ID | <GirJ7-Klc-1@gated-at.bofh.it> (permalink) |
| References | <GihA5-E2o-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 4/8/23 07:17, songbird wrote:
> i have a program that has changed it's behavior to suddenly
> become a CPU hog (while doing something simple like uploading
> files for my website). probably a bug, but it got me to
> wondering how i could limit the CPU temperature to a range
> well below the maximum that kicks in by the CPU itself.
>
> i have an intel processor and it has the MAX which does
> prevent it from going higher (100C), but i'd like to keep it
> at 70C or lower.
>
> i've been trying to find anything that will let me set this
> but no luck yet in my searches.
>
> thanks! :)
>
>
> songbird
Assuming the computer had a proper thermal solution when assembled, the
100 C processor temperature indicates that the thermal paste between the
processor and its heat sink has gone bad. I suggest replacing it with
silver-based thermal paste.
As for adjusting the processor with Debian and Linux, in the past I used:
cpufrequtils
cpufreq-info(1) prints information (Dell Precision 3630 with an Intel
Xeon E-2174G processor):
2023-04-08 15:52:47 root@taz ~
# cat /etc/debian_version ; uname -a
11.6
Linux taz 5.10.0-21-amd64 #1 SMP Debian 5.10.162-1 (2023-01-21) x86_64
GNU/Linux
2023-04-08 15:53:01 root@taz ~
# cpufreq-info --hwlimits
800000 4700000
2023-04-08 15:53:08 root@taz ~
# cpufreq-info --governors
performance powersave
2023-04-08 15:53:20 root@taz ~
# cpufreq-info --policy
800000 4700000 powersave
cpufreq-set(1) appears to make changes:
2023-04-08 16:15:20 root@taz ~
# cpufreq-set -r --max 2000000
2023-04-08 16:15:54 root@taz ~
# cpufreq-info --policy
800000 2000000 powersave
But, benchmarking before and after shows no effect (?).
STFW:
https://wiki.debian.org/CpuFrequencyScaling
cpufreq is being replaced by cpupower.
Install the cpupower package and try it:
2023-04-08 17:04:29 root@taz ~
# apt-get install linux-cpupower
<snip>
2023-04-08 17:09:31 root@taz ~
# cpupower frequency-info
analyzing CPU 0:
driver: intel_pstate
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: Cannot determine or is not supported.
hardware limits: 800 MHz - 4.70 GHz
available cpufreq governors: performance powersave
current policy: frequency should be within 800 MHz and 2.00 GHz.
The governor "powersave" may decide which speed to use
within this range.
current CPU frequency: Unable to call hardware
current CPU frequency: 828 MHz (asserted by call to kernel)
boost state support:
Supported: yes
Active: yes
2023-04-08 17:10:46 root@taz ~
# cpupower frequency-set --max 2000000
Setting cpu: 0
Setting cpu: 1
Setting cpu: 2
Setting cpu: 3
Setting cpu: 4
Setting cpu: 5
Setting cpu: 6
Setting cpu: 7
Benchmark -- now it runs slower and cooler.
David
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
how to limit a CPU temperature? songbird <songbird@anthive.com> - 2023-04-08 16:20 +0200
Re: how to limit a CPU temperature? songbird <songbird@anthive.com> - 2023-04-08 16:30 +0200
Re: how to limit a CPU temperature? "tv.debian" <tv.debian@googlemail.com> - 2023-04-08 16:50 +0200
Re: how to limit a CPU temperature? songbird <songbird@anthive.com> - 2023-04-08 18:00 +0200
Re: how to limit a CPU temperature? "Andrew M.A. Cater" <amacater@einval.com> - 2023-04-08 18:20 +0200
Re: how to limit a CPU temperature? songbird <songbird@anthive.com> - 2023-04-08 20:40 +0200
Re: how to limit a CPU temperature? "Jeremy Nicoll" <jn.ml.dbi.73@letterboxes.org> - 2023-04-08 17:00 +0200
Re: how to limit a CPU temperature? davidson <davidson@freevolt.org> - 2023-04-08 17:20 +0200
Re: how to limit a CPU temperature? songbird <songbird@anthive.com> - 2023-04-08 17:50 +0200
Re: how to limit a CPU temperature? songbird <songbird@anthive.com> - 2023-04-08 18:10 +0200
Re: how to limit a CPU temperature? Vincent Lefevre <vincent@vinc17.net> - 2023-04-13 16:30 +0200
Re: how to limit a CPU temperature? songbird <songbird@anthive.com> - 2023-04-11 02:20 +0200
Re: how to limit a CPU temperature? Max Nikulin <manikulin@gmail.com> - 2023-04-11 03:30 +0200
Re: how to limit a CPU temperature? tom@myposts.ovh - 2023-04-08 16:30 +0200
Re: how to limit a CPU temperature? songbird <songbird@anthive.com> - 2023-04-08 18:10 +0200
Re: how to limit a CPU temperature? Emanuel Berg <incal@dataswamp.org> - 2023-04-08 17:20 +0200
Re: how to limit a CPU temperature? songbird <songbird@anthive.com> - 2023-04-08 18:00 +0200
Re: how to limit a CPU temperature? "Jeremy Nicoll" <jn.ml.dbi.73@letterboxes.org> - 2023-04-08 18:10 +0200
[OFFTOPIC] Re: how to limit a CPU temperature? Stefan Monnier <monnier@iro.umontreal.ca> - 2023-04-08 19:00 +0200
Re: [OFFTOPIC] Re: how to limit a CPU temperature? Emanuel Berg <incal@dataswamp.org> - 2023-04-08 19:20 +0200
the front (was: " Re: [OFFTOPIC] Re: how to limit a CPU temperature?") Emanuel Berg <incal@dataswamp.org> - 2023-04-08 19:30 +0200
Re: the front (was: " Re: [OFFTOPIC] Re: how to limit a CPU temperature?") Jeffrey Walton <noloader@gmail.com> - 2023-04-08 20:00 +0200
Re: the front (was: " Re: [OFFTOPIC] Re: how to limit a CPU temperature?") Emanuel Berg <incal@dataswamp.org> - 2023-04-08 20:10 +0200
Re: [OFFTOPIC] Re: how to limit a CPU temperature? Jeremy Ardley <jeremy@ardley.org> - 2023-04-09 01:00 +0200
Re: how to limit a CPU temperature? Tixy <tixy@yxit.co.uk> - 2023-04-08 22:10 +0200
Re: how to limit a CPU temperature? Ash Joubert <ash@transient.nz> - 2023-04-09 02:30 +0200
Re: how to limit a CPU temperature? David Christensen <dpchrist@holgerdanske.com> - 2023-04-09 03:10 +0200
Re: how to limit a CPU temperature? Mark Allums <maa@allums.com> - 2023-04-09 05:20 +0200
Re: how to limit a CPU temperature? David Christensen <dpchrist@holgerdanske.com> - 2023-04-10 01:50 +0200
Re: how to limit a CPU temperature? Darac Marjal <mailinglist@darac.org.uk> - 2023-04-09 14:30 +0200
Re: how to limit a CPU temperature? Emanuel Berg <incal@dataswamp.org> - 2023-04-09 14:40 +0200
Re: how to limit a CPU temperature? David Christensen <dpchrist@holgerdanske.com> - 2023-04-10 04:20 +0200
csiph-web