mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2012-04-27, 00:28   #1
TObject
 
TObject's Avatar
 
Feb 2012

1100101012 Posts
Default Automatic temperature control

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

Thanks
TObject is offline   Reply With Quote
Old 2012-04-27, 01:03   #2
Uncwilly
6809 > 6502
 
Uncwilly's Avatar
 
"""""""""""""""""""
Aug 2003
101Γ—103 Posts

22×72×47 Posts
Default

Sounds like a feature request for version 28.
Uncwilly is online now   Reply With Quote
Old 2012-04-27, 02:20   #3
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

160658 Posts
Default

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.
Dubslow is offline   Reply With Quote
Old 2012-04-27, 04:49   #4
TObject
 
TObject's Avatar
 
Feb 2012

34×5 Posts
Default

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.
TObject is offline   Reply With Quote
Old 2012-04-27, 04:57   #5
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

722110 Posts
Default

Depending on your setup, you might be able to set the nominal frequency lower (while keeping Turbo at the same level).
Dubslow is offline   Reply With Quote
Old 2012-04-27, 09:24   #6
xilman
Bamboozled!
 
xilman's Avatar
 
"π’‰Ίπ’ŒŒπ’‡·π’†·π’€­"
May 2003
Down not across

2×3×1,753 Posts
Default

Quote:
Originally Posted by TObject View Post
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.
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.

Last fiddled with by xilman on 2012-04-27 at 09:25
xilman is offline   Reply With Quote
Old 2012-04-27, 09:33   #7
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

3×29×83 Posts
Default

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).
Dubslow is offline   Reply With Quote
Old 2012-04-27, 10:07   #8
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

100011110000102 Posts
Default

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".

Last fiddled with by LaurV on 2012-04-27 at 10:11
LaurV is offline   Reply With Quote
Old 2012-04-27, 10:10   #9
schickel
 
schickel's Avatar
 
"Frank <^>"
Dec 2004
CDP Janesville

2×1,061 Posts
Default

Quote:
Originally Posted by xilman View Post
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:
Originally Posted by Dubslow View Post
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).
There is a way available to throttle Prime95 down (even by a percentage on a multi-core machine) without modifying the settings files.

The discovery of such method is left as an exercise for the reader....
schickel is offline   Reply With Quote
Old 2012-04-27, 16:19   #10
Dubslow
Basketry That Evening!
 
Dubslow's Avatar
 
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88

1C3516 Posts
Default

Quote:
Originally Posted by schickel View Post
There is a way available to throttle Prime95 down (even by a percentage on a multi-core machine) without modifying the settings files.

The discovery of such method is left as an exercise for the reader....
LaurV just suggested one, but you guys have excellent cross posting skills : smile:
Dubslow is offline   Reply With Quote
Old 2012-04-27, 18:41   #11
TObject
 
TObject's Avatar
 
Feb 2012

34·5 Posts
Default

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

http://technet.microsoft.com/en-us/s...rnals/bb897540

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.
TObject is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to control the temperature of the cores? qqlovekerry Information & Answers 7 2018-03-21 01:34
Automatic Submission Spider for Workers... chalsall GPU to 72 113 2014-09-20 15:19
Automatic kvetching about P-1, LL and DC work from GPU72 chalsall GPU to 72 60 2013-12-08 21:33
There's a [remote control] app for that? jasong jasong 0 2013-06-24 21:07
75M - 80M removed from LMH control Prime95 Lone Mersenne Hunters 0 2010-07-20 02:25

All times are UTC. The time now is 02:34.

Mon Jan 25 02:34:01 UTC 2021 up 52 days, 22:45, 0 users, load averages: 2.22, 2.16, 2.18

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.