mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Software (https://www.mersenneforum.org/forumdisplay.php?f=10)
-   -   Automatic temperature control (https://www.mersenneforum.org/showthread.php?t=16758)

TObject 2012-04-27 00:28

Automatic temperature control
 
Does anybody have a program that can be used to throttle Prime95 down automatically based on CPU temperature sensor reading?

Thanks

Uncwilly 2012-04-27 01:03

Sounds like a feature request for version 28.:truck:

Dubslow 2012-04-27 02:20

There is a "Throttle=" option you can put in prime.txt; enter a value between 1 and 100 and Prime95 will throttle itself. If you have something like Turbo Boost or Turbo Core, they ought to do something pretty much the same.

TObject 2012-04-27 04:49

Thanks for the replies.

Turbo Boost lowers the freqiency to nominal. That sometimes is not enogh on hot days in non-airconditioned rooms.

The throttle option does not allow the productivity to go up once temperature goes down.

Dubslow 2012-04-27 04:57

Depending on your setup, you [i]might[/i] be able to set the nominal frequency lower (while keeping Turbo at the same level).

xilman 2012-04-27 09:24

[QUOTE=TObject;297507]Thanks for the replies.

Turbo Boost lowers the freqiency to nominal. That sometimes is not enogh on hot days in non-airconditioned rooms.

The throttle option does not allow the productivity to go up once temperature goes down.[/QUOTE]Write a tiny program which updates the throttle option in the file based on a reading from the temperature sensor (and/or anything else you think might be relevant).

In case it wasn't clear, this is your homework assignment for this week.

Dubslow 2012-04-27 09:33

Prime95 in general doesn't react well when you modify the text files while it's running; you'd need to stop and restart it each time, which could quickly become self-defeating depending on the refresh rate (and this is only compounded if you're doing stage 2 P-1, where no real work is done for the first several minutes after each restart). A more sensible assignment might be simply to stop P95 until the temperature is low enough, but that still has the same problem if you're doing P-1 (and also each worker is staggered by 5 seconds on restart).

LaurV 2012-04-27 10:07

Now to divagate on the subject, the best approach, and without writing lots of code, is to use the "PauseWhileRunning=prog1[n1]" feature of P95. Put this in parallel with some "measuretemperature" stuff, that launch a process called prog1, when the temperature reaches some threshold. There are many choices like RealTemp, etc. They don't necessarily need to be able to start a process. Most of them play an alarm, (wave or mp3 file) or play some music, but in the background, they (windoze) launch Winamp for that, for example, or whatever you have associated with playing wav files. I did that once for an old laptop and it worked (win xp). The most mobos come with "assus probe" or whatever manufacturer put on them, tools to play with temperature, fans, launching processes to "cool down", which you just have to rename, or use them directly with "PauseWhileRunning".

schickel 2012-04-27 10:10

[QUOTE=xilman;297520]Write a tiny program which updates the throttle option in the file based on a reading from the temperature sensor (and/or anything else you think might be relevant).

In case it wasn't clear, this is your homework assignment for this week.[/QUOTE]

[QUOTE=Dubslow;297521]Prime95 in general doesn't react well when you modify the text files while it's running; you'd need to stop and restart it each time, which could quickly become self-defeating depending on the refresh rate (and this is only compounded if you're doing stage 2 P-1, where no real work is done for the first several minutes after each restart).[/QUOTE]There is a way available to throttle Prime95 down (even by a percentage on a multi-core machine) without modifying the settings files.

[SIZE="1"]The discovery of such method is left as an exercise for the reader....[/SIZE]

Dubslow 2012-04-27 16:19

[QUOTE=schickel;297527]There is a way available to throttle Prime95 down (even by a percentage on a multi-core machine) without modifying the settings files.

[SIZE="1"]The discovery of such method is left as an exercise for the reader....[/SIZE][/QUOTE]

LaurV just suggested one, but you guys have excellent cross posting skills : smile:

TObject 2012-04-27 18:41

Well, I was thinking more along the direction aligned with the following.

[url]http://technet.microsoft.com/en-us/sysinternals/bb897540[/url]

Perhaps, there is an utility that would monitor CPU temps and, based on pre-set ranges, implement pulse-width modulation of the Prime95 (or any, for that matter) process via suspension/resume intervals.

I am a new one guy here. Just checking if somebody else has done this already.

petrw1 2012-04-27 18:43

[QUOTE=TObject;297488]Does anybody have a program that can be used to throttle Prime95 down automatically based on CPU temperature sensor reading?

Thanks[/QUOTE]

Most newer (<5 years old) computers do this (throttle themselves, that is) automatically; but only when the temperature gets close to the maximum the PC is spec'd for.

Dubslow 2012-04-27 18:45

[QUOTE=petrw1;297612]Most newer (<5 years old) computers do this (throttle themselves, that is) automatically; but only when the temperature gets close to the maximum the PC is spec'd for.[/QUOTE]
That's more the CPU slowing its clock speed or OS shutting down rather than OS throttling high-use applications.

TObject 2012-04-27 19:33

[QUOTE=LaurV;297525]Now to divagate on the subject, the best approach, and without writing lots of code, is to use the "PauseWhileRunning=prog1[n1]" feature of P95. Put this in parallel with some "measuretemperature" stuff, that launch a process called prog1, when the temperature reaches some threshold. There are many choices like RealTemp, etc. They don't necessarily need to be able to start a process. Most of them play an alarm, (wave or mp3 file) or play some music, but in the background, they (windoze) launch Winamp for that, for example, or whatever you have associated with playing wav files. I did that once for an old laptop and it worked (win xp). The most mobos come with "assus probe" or whatever manufacturer put on them, tools to play with temperature, fans, launching processes to "cool down", which you just have to rename, or use them directly with "PauseWhileRunning".[/QUOTE]

Thanks for the suggestion. I think this should do.


All times are UTC. The time now is 19:27.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.