mersenneforum.org  

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

Reply
 
Thread Tools
Old 2012-09-18, 02:08   #12
JuanTutors
 
JuanTutors's Avatar
 
Mar 2004

22·33·5 Posts
Default

Code up a mini battery monitor? Funny This still defeats the point of all the automaticity that comes with prime95.

Quote:
Originally Posted by swl551 View Post
Here is a script using WMI to get battery status. http://www.planet-source-code.com/vb...=8092&lngWId=4

There is probably a converted script to use PowerShell out there and seems more correct if you using Win7.

You could code up a mini battery monitor with the script and stop/start P95 accordingly

or if you want to access the information at a lower layer
http://msdn.microsoft.com/en-us/libr...(v=vs.85).aspx
JuanTutors is offline   Reply With Quote
Old 2012-09-18, 11:47   #13
swl551
 
swl551's Avatar
 
Aug 2012
New Hampshire

32816 Posts
Default Coding up a script is a proposed work-around.

Yes, I realize it does cause you to withdraw your "feature request", but I thought I'd give you some ideas for possible solutions until your request is implemented.
swl551 is offline   Reply With Quote
Old 2012-11-13, 11:16   #14
JuanTutors
 
JuanTutors's Avatar
 
Mar 2004

22·33·5 Posts
Default

I'd like to make a second push for this feature request. My laptop charges pretty well but I turned Prime95 back on while I was teaching for two periods, plugged in, and my battery power went only from 15% to 31%. That's really not enough for me to simply let Prime95 run in the background while plugged in because it doesn't let the laptop charge fast enough. I suspect others have the same issue.
JuanTutors is offline   Reply With Quote
Old 2012-11-13, 11:59   #15
axn
 
axn's Avatar
 
Jun 2003

22·33·47 Posts
Default

Quote:
Originally Posted by dominicanpapi82 View Post
I'd like to make a second push for this feature request. My laptop charges pretty well but I turned Prime95 back on while I was teaching for two periods, plugged in, and my battery power went only from 15% to 31%. That's really not enough for me to simply let Prime95 run in the background while plugged in because it doesn't let the laptop charge fast enough. I suspect others have the same issue.
Out of curiosity, what is your CPU?
axn is online now   Reply With Quote
Old 2012-11-13, 12:57   #16
JuanTutors
 
JuanTutors's Avatar
 
Mar 2004

22×33×5 Posts
Default

Quote:
Originally Posted by axn View Post
Out of curiosity, what is your CPU?
AMD A6-3420M APU with Radeon HD Graphics 1.5GHz
4 gigs ram
Windows 7 Home Premium, 64-bit
JuanTutors is offline   Reply With Quote
Old 2012-11-13, 14:48   #17
Prime95
P90 years forever!
 
Prime95's Avatar
 
Aug 2002
Yeehaw, FL

22·7·269 Posts
Default

Quote:
Originally Posted by dominicanpapi82 View Post
I'd like to make a second push for this feature request. My laptop charges pretty well but I turned Prime95 back on while I was teaching for two periods, plugged in, and my battery power went only from 15% to 31%.
Today is your lucky day. Add BatteryPercent=90 to prime.txt. This will tell prime95 to halt until battery level reaches 90%. This feature has always been available in Windows but is not in undoc.txt (I'll fix that).
Prime95 is offline   Reply With Quote
Old 2012-11-13, 15:00   #18
JuanTutors
 
JuanTutors's Avatar
 
Mar 2004

21C16 Posts
Default

Quote:
Originally Posted by Prime95 View Post
Today is your lucky day. Add BatteryPercent=90 to prime.txt. This will tell prime95 to halt until battery level reaches 90%. This feature has always been available in Windows but is not in undoc.txt (I'll fix that).
You're my favorite person for the next 23 hours and 59 minutes. Congratulations!
JuanTutors is offline   Reply With Quote
Old 2012-11-13, 21:44   #19
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Cambridge (GMT/BST)

133718 Posts
Default

You are also lucky you could charge at all. I am pretty some people have lost charge when using prime95.
henryzz is online now   Reply With Quote
Old 2013-02-06, 15:53   #20
petrw1
1976 Toyota Corona years forever!
 
petrw1's Avatar
 
"Wayne"
Nov 2006
Saskatchewan, Canada

2×2,341 Posts
Default a comment and a question

Comment: I am running Prime95 on several laptops (always only on AC power) and have never had an issue with the charger not keeping up. Could it be you need a new/different battery?

Question: does anyone have experience using Throttle=n?
I just tried it on my i5-2520 Laptop (Dual core Sandy)and found the results "interesting"
- no Throttle: temp stable at 77&84; iteration time .023
- Throttle=80: temps fluctuate between 65 and 88; iteration time: .021
Why are my iteration times better? Is the ocassional 65 degrees really enough to have it run faster overall? Could it be only timing during the 80% of time it is running?
Might constant temp changes of 20 or more be harder on the hardware?
Could my cooler be being fooled that it gets hotter at times with throttle?
petrw1 is offline   Reply With Quote
Old 2013-02-06, 16:26   #21
Chuck
 
Chuck's Avatar
 
May 2011
Orange Park, FL

3×5×59 Posts
Default

I put both of my laptops on Zalman fan bases. The big, slow fans have a soothing sound. I am using the ZM-NC3 model.
Chuck is offline   Reply With Quote
Old 2013-02-06, 16:29   #22
LaurV
Romulan Interpreter
 
LaurV's Avatar
 
Jun 2011
Thailand

23×419 Posts
Default

Quote:
Originally Posted by petrw1 View Post
Why are my iteration times better? Is the ocassional 65 degrees really enough to have it run faster overall? Could it be only timing during the 80% of time it is running?
Might constant temp changes of 20 or more be harder on the hardware?
Could my cooler be being fooled that it gets hotter at times with throttle?
That is normal. Nothing magic, your CPU is not "faster" at 65C, but it does "hardware" throttle (thermal protection jumps up and turns on) upper, when you don't use the "software" throttle of p95. The one employed by p95 is just "work x% of one time slice, stay the rest". Your CPU has enough time to get hot and cool in cycles (I mean visible cycles, one second or half second each period). "Time slice" depends of how fast p95 can fill and empty its caches. It could be nice to be possible to adjust that time slice (period), beside of the percent, but that depends of how fast the data is loaded/tasks are switched, it may not be so nice to stop it and clear the cache too often, therefore is hardware coded inside of P95, you can only specify the percent. P95 will chose that time slice depending on the work it has to do, and the percentage.

Last fiddled with by LaurV on 2013-02-06 at 16:35
LaurV is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Feature request tcharron Software 3 2018-10-03 20:08
Feature request TheMawn PrimeNet 3 2013-06-17 02:32
Feature Request Uncwilly Software 0 2008-03-06 21:07
Feature Request moo Software 24 2005-11-26 22:08
Feature request JuanTutors Software 2 2005-07-04 22:02

All times are UTC. The time now is 08:30.


Tue Jul 27 08:30:53 UTC 2021 up 4 days, 2:59, 0 users, load averages: 1.91, 1.86, 1.79

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.