mersenneforum.org  

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

Reply
 
Thread Tools
Old 2003-02-20, 23:58   #1
flava
 
flava's Avatar
 
Feb 2003

11810 Posts
Default Prime95 - summer edition

The hot summer is just a few months away ;) .
Some of us know how hot it gets when you let Prime95 run 24/7 in a room without air conditioning. No metter how good the fans are. Slowing it down a bit will help the CPU stay cool. When I downloaded the 21.? version's source code (long time ago...) I modified it like this: a new edit box "Sleep in ms/iteration" in the "Preferences" dialog and just called a Sleep() after each LL iteration. A value of 20-30ms/iteration keeps my CPU at about 70%. When it's cold enough (like now) I just enter 0 and it works at full speed.
Do you think it would be a good thing to have this feature implemented in the official version ?
flava is offline   Reply With Quote
Old 2003-02-21, 02:18   #2
nomadicus
 
nomadicus's Avatar
 
Jan 2003
North Carolina

F616 Posts
Default

Very interesting. Could this have application for laptops? I don't own one, but I've heard laptops have heat problems but worse. Does anyone do LL on a laptop?
A touch of irony here: A throttle mechanism for some of the most highly optimized code I've ever used. :?
nomadicus is offline   Reply With Quote
Old 2003-02-21, 03:24   #3
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

1D6D16 Posts
Default

I'll add it in 23.3
Prime95 is online now   Reply With Quote
Old 2003-02-21, 05:20   #4
NickGlover
 
NickGlover's Avatar
 
Aug 2002
Richland, WA

22×3×11 Posts
Default

I like the idea of this option, but I think it might be better if it were a percentage of CPU time rather than ms/iteration. That way, when you work on an exponent of a different FFT size, the actual percentage of CPU time that Prime95 uses won't change like it would if you did ms/iteration.
NickGlover is offline   Reply With Quote
Old 2003-02-21, 05:51   #5
Xyzzy
 
Xyzzy's Avatar
 
"Mike"
Aug 2002

2·23·179 Posts
Default

Boy that is a good idea!

I try to run Prime95 on my wife's 1.5GHz laptop but it cycles the fan too much... I could probably set it to 25% and it would run (slowly!) just fine...

Anything is better than nothing!

My only concern is if the power/non-power cycles are too large they will heat/unheat the CPU causing thermal stress, but if the duty cycle is implemented rapidly, like how an electronic speed control controls a motor (1000s of Hz) then it would be just perfect...

Scary thought... What if someone tries a 25% duty cycle on a P75 laptop! :)

I vote we give this feature a cool name, like flava-cycle®... :)
Xyzzy is offline   Reply With Quote
Old 2003-02-21, 06:45   #6
garo
 
garo's Avatar
 
Aug 2002
Termonfeckin, IE

22×691 Posts
Default

Well as flava implemented it, the sleep function was called after every iteration which is essentially in 10's of milliseconds. Now some chip expert tell me here if this will cause thermal stress.

I guess George could make a smarter implementation where sleep is called more frequently? That will cause less stress!?
garo is offline   Reply With Quote
Old 2003-02-21, 13:41   #7
delta_t
 
delta_t's Avatar
 
Nov 2002
Anchorage, AK

35710 Posts
Default Laptop

That is very interesting idea. I do run Prime95 on a P4 laptop 24/7. The only time it doesn't run is when I'm running off of the battery. The stop when on battery feature works great.
What I'm wondering is if implementing this type of feature will cause these new mobile processors to keep changing their speeds - i.e. SpeedStep, etc. When I run Prime95 my laptop is at 1.8GHz, if I stop it it will go down to 1.2GHz. I wonder if cycling will cause my laptop to go from 1.8GHz to 1.2Ghz and back.
delta_t is offline   Reply With Quote
Old 2003-02-21, 17:15   #8
Jwb52z
 
Jwb52z's Avatar
 
Sep 2002

14378 Posts
Default

I use a Winbook 2.4 GHz P4 laptop with 512 MB of RAM. I don't have many problems with it getting REALLY hot as others describe. How will this new CPU percentage function change the amount of time it takes to do a test? If it will slow it down, I don't want it.
Jwb52z is offline   Reply With Quote
Old 2003-02-21, 19:45   #9
Ian_H
 
Aug 2002
Europe

2·3·5 Posts
Default

Quote:
Originally Posted by Jwb52z
How will this new CPU percentage function change the amount of time it takes to do a test? If it will slow it down, I don't want it.
It will of course slow progress in proportion to the extent you use it. If you add a 20 ms break per iteration and the iteration time is 80 ms, the test will take 25% longer. (Assuming I've understood flava properly!) But for some people that will mean using their laptop for GIMPS where they wouldn't otherwise have done so, meaning more progress overall. And no one will force you to use it!
Ian_H is offline   Reply With Quote
Old 2003-02-22, 17:17   #10
Jwb52z
 
Jwb52z's Avatar
 
Sep 2002

17×47 Posts
Default

I think there should be a choice to do it either way. I'd rather not have to mess with CPU usage to use the program.
Jwb52z is offline   Reply With Quote
Old 2003-02-23, 01:14   #11
garo
 
garo's Avatar
 
Aug 2002
Termonfeckin, IE

22×691 Posts
Default

Oh yeah! I'm sure there would be a choice and by default this option would be turned off. So unless you want otherwise your CPU will run 100%.
garo is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Summer is over up here.... swl551 Lounge 0 2014-09-13 12:23
Long hot summer... davieddy Soap Box 7 2011-09-12 10:45
Google Summer of Code rgiltrap Software 22 2008-09-10 19:16
British Summer time is here at last davieddy Lounge 17 2008-04-09 17:09
summer vacation jasong jasong 1 2007-09-05 12:31

All times are UTC. The time now is 16:48.


Sun Aug 1 16:48:40 UTC 2021 up 9 days, 11:17, 0 users, load averages: 2.04, 1.53, 1.45

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.