mersenneforum.org  

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

Reply
 
Thread Tools
Old 2014-08-01, 11:05   #1
krissM
 
Aug 2014
Visby

5 Posts
Default Reverse approach: computer last depending of temperature

I've built my new computer with fanless components, also cooling capacity is constant. As the result I want not run prime95 in more than 1 thread under this hot summer.

Idea: Last should be depend of CPU temperature.

One could run more instances of prime95 if someone could write program which check CPU's temperature and controls (dynamically) the number of (prime95) threads.
krissM is offline   Reply With Quote
Old 2014-08-03, 22:30   #2
krissM
 
Aug 2014
Visby

5 Posts
Default Solution

I've written self a “dirty” manager. CPU temperature one can get using “Core Temp“ http://www.alcpu.com/CoreTemp/developers.html SDK. I've used example code from “.NET Framework 2.0 Dynamic Link Library for the shared memory interface”.

Then, manager starts and kills dummy programs and prime.txt has following row:

PauseWhileRunning=pauseP95_1.exe[1],pauseP95_2.exe[2],pauseP95_All.exe

Core Temp program must use (in my implementation) degrees in Celsius and “Display the distance to TjMax in temperature fields” - Advanced tab in Options | Settings.

I'm testing my manager and is seems to work correctly. I don't use more then 3 workers – so utility is not adapted for more workers.

I use Win7 and Intel Core i7 4770S CPU in fanless computer.
Attached Thumbnails
Click image for larger version

Name:	TMan.jpg
Views:	92
Size:	31.3 KB
ID:	11541  
krissM is offline   Reply With Quote
Old 2014-08-10, 05:25   #3
Ken_g6
 
Ken_g6's Avatar
 
Jan 2005
Caught in a sieve

18B16 Posts
Default

On my laptop, I find it's more efficient to run one thread for each core, but throttled way back with ThrottleStop, than to run a single thread faster. But that may not be what you want if you run other software on that machine. And I haven't found a way to throttle based on temperature, unfortunately - you just have to fiddle with the multiplier manually.
Ken_g6 is offline   Reply With Quote
Old 2014-09-06, 17:12   #4
krissM
 
Aug 2014
Visby

5 Posts
Default Strange behavior with 4 workers

I've tested my temp manager with 4 workers. It is too much load for my passive cooled computer, so first one and then second worker has stopped.

Strange (for me) is that load is constant 50% for two last cores – I have Core i7 4770S CPU.

For start condition with 2 or 3 workers load is dynamically divided between cores.

Can someone explain me such behavior?
krissM is offline   Reply With Quote
Old 2014-09-07, 09:50   #5
krissM
 
Aug 2014
Visby

5 Posts
Default With an image

Quote:
Originally Posted by krissM View Post
I've tested my temp manager with 4 workers. It is too much load for my passive cooled computer, so first one and then second worker has stopped.

Strange (for me) is that load is constant 50% for two last cores – I have Core i7 4770S CPU.

For start condition with 2 or 3 workers load is dynamically divided between cores.

Can someone explain me such behavior?
(can not edit, write new version of my last post)
Attached Thumbnails
Click image for larger version

Name:	3_2.JPG
Views:	97
Size:	141.5 KB
ID:	11676  
krissM is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
The reverse Sierpinski/Riesel problem sweety439 sweety439 20 2020-07-03 17:22
Best approach for P-1? Mark Rose PrimeNet 6 2017-05-23 23:58
Reverse memory lookup ewmayer Programming 6 2012-11-12 00:25
Reverse home primes themaster Factoring 12 2008-09-27 14:44
Reverse Decomp Program nfortino LMH > 100M 2 2004-01-30 22:38

All times are UTC. The time now is 21:54.


Fri Jul 16 21:54:35 UTC 2021 up 49 days, 19:41, 2 users, load averages: 2.18, 2.13, 1.99

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.