Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #256959
| Path | csiph.com!fu-berlin.de!bofh.it!news.nic.it!robomod |
|---|---|
| From | Emanuel Berg <incal@dataswamp.org> |
| Newsgroups | linux.debian.user |
| Subject | Re: how to limit a CPU temperature? |
| Date | Sun, 09 Apr 2023 14:40:01 +0200 |
| Message-ID | <GiCuR-R7Q-1@gated-at.bofh.it> (permalink) |
| References | <GihA5-E2o-5@gated-at.bofh.it> <GiClc-R4w-1@gated-at.bofh.it> |
| X-Mailbox-Line | From debian-user-request@lists.debian.org Sun Apr 9 12:36:18 2023 |
| Old-Return-Path | <gldu-debian-user-2@m.gmane-mx.org> |
| X-Amavis-Spam-Status | No, score=-6.75 tagged_above=-10000 required=5.3 tests=[BAYES_00=-2, HEADER_FROM_DIFFERENT_DOMAINS=0.25, LDO_WHITELIST=-5] autolearn=ham autolearn_force=no |
| X-Policyd-Weight | using cached result; rate:hard: -4.6 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| Mail-Followup-To | debian-user@lists.debian.org |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 8bit |
| User-Agent | Gnus/5.13 (Gnus v5.13) |
| Cancel-Lock | sha1:UcQzJr4q0+j9QMs1mmcChsSQaeU= |
| Mail-Copies-To | never |
| X-Mailing-List | <debian-user@lists.debian.org> archive/latest/798261 |
| List-ID | <debian-user.lists.debian.org> |
| List-URL | <https://lists.debian.org/debian-user/> |
| List-Archive | https://lists.debian.org/msgid-search/87pm8d2py2.fsf@dataswamp.org |
| Approved | robomod@news.nic.it |
| Lines | 33 |
| Organization | linux.* mail to news gateway |
| Sender | robomod@news.nic.it |
| X-Original-Date | Sun, 09 Apr 2023 14:35:49 +0200 |
| X-Original-Message-ID | <87pm8d2py2.fsf@dataswamp.org> |
| X-Original-References | <ik98gj-qk7.ln1@anthive.com> <ea685c78-5e32-2139-9dbe-ecbf29cb21a5@darac.org.uk> |
| Xref | csiph.com linux.debian.user:256959 |
Show key headers only | View raw
Darac Marjal wrote: > As an alternative, you could try writing a small shell > script that works like the following (pseudocode): > > STOP_TEMP=70 > START_TEMP=65 > JOB_RUNNING=1 > > while true: > cpu_temp=$(cat /sys/something/temperature) > > if JOB_RUNNING and cpu_temp > STOP_TEMP: > systemctl stop something.service > JOB_RUNNING=0 > elif not JOB_RUNNING and cpu_temp < START_TEMP: > systemctl start something.service > JOB_RUNNING=1 > endif > > sleep 1 > wend Maybe the software scheduler should already schedule optimally, be it preemptive SJF or whatever, anyway so only possibility to reduce CPU temperature that way is to schedule less anyway - also backwards, since computing is like the "king" here it means if heat is a problem, it's not on our side of it really. -- underground experts united https://dataswamp.org/~incal
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