PrimeGrid
Please visit donation page to help the project cover running costs for this month

Toggle Menu

Join PrimeGrid

Returning Participants

Community

Leader Boards

Results

Other

drummers-lowrise

Advanced search

Message boards : Project Staging Area : Feature request: PRPNet UPS Awareness

Author Message
Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13399
ID: 53948
Credit: 229,132,773
RAC: 141,962
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!Discovered 1 mega primeFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,822,730)Cullen LLR Ruby: Earned 2,000,000 credits (2,005,249)ESP LLR Turquoise: Earned 5,000,000 credits (5,009,577)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,145,754)PPS LLR Jade: Earned 10,000,000 credits (15,528,453)PSP LLR Turquoise: Earned 5,000,000 credits (5,197,957)SoB LLR Sapphire: Earned 20,000,000 credits (34,291,181)SR5 LLR Jade: Earned 10,000,000 credits (10,007,110)SGS LLR Ruby: Earned 2,000,000 credits (2,276,330)TRP LLR Turquoise: Earned 5,000,000 credits (5,084,329)Woodall LLR Ruby: Earned 2,000,000 credits (2,195,123)321 Sieve Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,885,121)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Jade: Earned 10,000,000 credits (10,118,303)GFN Emerald: Earned 50,000,000 credits (74,743,128)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 42610 - Posted: 4 Nov 2011 | 13:11:01 UTC

Any chance PRPclient could be made UPS-aware, similar to the way that BOINC can stop crunching when on battery?

Full-bore crunching drains a battery really, really quickly.

I realize the complexity of what I'm asking. (Recognizing a power event isn't such a big deal, but making it possible to stop and start all the different programs might be tricky. I imagine you would want to suspend/resume the process rather than stop and restart it.)

With the fun weather we've had lately, combined with overhead wires and the forest that is the U.S. northeast, power outages have been uncomfortably frequent here. Having crunching suspended while on battery could mean the difference between an automatic resumption when utility power is returned vs. the computer going into hybernation or full shutdown, both of which require human intervention to restart.
____________
My lucky number is 75898524288+1

rogue
Volunteer developer
Avatar
Send message
Joined: 8 Sep 07
Posts: 1196
ID: 12001
Credit: 18,565,548
RAC: 0
PPS LLR Bronze: Earned 10,000 credits (31,229)PSA Jade: Earned 10,000,000 credits (18,533,435)
Message 42615 - Posted: 4 Nov 2011 | 13:39:49 UTC - in response to Message 42610.

Any chance PRPclient could be made UPS-aware, similar to the way that BOINC can stop crunching when on battery?


Unfortunately no. The reason is that the work is being done by helper programs (llr, pfgw, etc.) and those programs would have to be modified in order to do as you ask.

Profile Michael GoetzProject donor
Volunteer moderator
Project administrator
Avatar
Send message
Joined: 21 Jan 10
Posts: 13399
ID: 53948
Credit: 229,132,773
RAC: 141,962
The "Shut up already!" badge:  This loud mouth has mansplained on the forums over 10 thousand times!  Sheesh!!!Discovered the World's First GFN-19 prime!!!Discovered 1 mega primeFound 1 prime in the 2018 Tour de PrimesFound 1 prime in the 2019 Tour de PrimesFound 1 prime in the 2020 Tour de Primes321 LLR Ruby: Earned 2,000,000 credits (2,822,730)Cullen LLR Ruby: Earned 2,000,000 credits (2,005,249)ESP LLR Turquoise: Earned 5,000,000 credits (5,009,577)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,145,754)PPS LLR Jade: Earned 10,000,000 credits (15,528,453)PSP LLR Turquoise: Earned 5,000,000 credits (5,197,957)SoB LLR Sapphire: Earned 20,000,000 credits (34,291,181)SR5 LLR Jade: Earned 10,000,000 credits (10,007,110)SGS LLR Ruby: Earned 2,000,000 credits (2,276,330)TRP LLR Turquoise: Earned 5,000,000 credits (5,084,329)Woodall LLR Ruby: Earned 2,000,000 credits (2,195,123)321 Sieve Jade: Earned 10,000,000 credits (10,061,196)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,170,256)Generalized Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (5,059,304)PPS Sieve Sapphire: Earned 20,000,000 credits (22,885,121)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Amethyst: Earned 1,000,000 credits (1,035,522)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,051,121)AP 26/27 Jade: Earned 10,000,000 credits (10,118,303)GFN Emerald: Earned 50,000,000 credits (74,743,128)PSA Jade: Earned 10,000,000 credits (12,445,029)
Message 42621 - Posted: 4 Nov 2011 | 14:41:14 UTC - in response to Message 42615.

Any chance PRPclient could be made UPS-aware, similar to the way that BOINC can stop crunching when on battery?


Unfortunately no. The reason is that the work is being done by helper programs (llr, pfgw, etc.) and those programs would have to be modified in order to do as you ask.


Understood. Thanks anyway.

____________
My lucky number is 75898524288+1

Usucapio LibertatisProject donor
Avatar
Send message
Joined: 21 Apr 10
Posts: 736
ID: 59072
Credit: 560,823,804
RAC: 20,768
Discovered 1 mega prime2012 Tour de Primes highest prime scoreFound 2 primes in the 2018 Tour de PrimesFound 1 prime in the 2020 Tour de Primes321 LLR Jade: Earned 10,000,000 credits (14,136,498)Cullen LLR Ruby: Earned 2,000,000 credits (2,622,415)ESP LLR Ruby: Earned 2,000,000 credits (3,461,313)Generalized Cullen/Woodall LLR Ruby: Earned 2,000,000 credits (2,005,831)PPS LLR Jade: Earned 10,000,000 credits (12,560,737)PSP LLR Ruby: Earned 2,000,000 credits (2,414,623)SoB LLR Ruby: Earned 2,000,000 credits (3,923,258)SR5 LLR Ruby: Earned 2,000,000 credits (2,716,765)SGS LLR Ruby: Earned 2,000,000 credits (2,389,989)TRP LLR Ruby: Earned 2,000,000 credits (4,099,308)Woodall LLR Amethyst: Earned 1,000,000 credits (1,375,769)321 Sieve Ruby: Earned 2,000,000 credits (2,106,124)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,449,019)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,388,253)PPS Sieve Double Silver: Earned 200,000,000 credits (343,244,386)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Ruby: Earned 2,000,000 credits (2,072,601)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (2,441,257)AP 26/27 Sapphire: Earned 20,000,000 credits (21,294,481)GFN Emerald: Earned 50,000,000 credits (51,168,558)PSA Emerald: Earned 50,000,000 credits (79,952,619)
Message 42642 - Posted: 4 Nov 2011 | 16:48:41 UTC - in response to Message 42610.
Last modified: 4 Nov 2011 | 16:49:08 UTC

Any chance PRPclient could be made UPS-aware, similar to the way that BOINC can stop crunching when on battery?


I do not now how to do it, but i believe that task sheduler (on win 7) and power manager on Mac OS should allow you to stop/suspend PRPnet crunching when AC power is off.
____________
676754^262144+1 is prime

Profile Sysadm@NbgProject donor
Volunteer moderator
Volunteer tester
Project scientist
Avatar
Send message
Joined: 5 Feb 08
Posts: 1181
ID: 18646
Credit: 477,588,959
RAC: 114,647
Found 1 prime in the 2019 Tour de Primes321 LLR Amethyst: Earned 1,000,000 credits (1,310,491)Cullen LLR Amethyst: Earned 1,000,000 credits (1,065,659)ESP LLR Amethyst: Earned 1,000,000 credits (1,875,010)Generalized Cullen/Woodall LLR Amethyst: Earned 1,000,000 credits (1,216,209)PPS LLR Turquoise: Earned 5,000,000 credits (5,212,863)PSP LLR Amethyst: Earned 1,000,000 credits (1,323,642)SoB LLR Turquoise: Earned 5,000,000 credits (7,603,584)SR5 LLR Amethyst: Earned 1,000,000 credits (1,891,772)SGS LLR Amethyst: Earned 1,000,000 credits (1,163,706)TRP LLR Ruby: Earned 2,000,000 credits (3,832,495)Woodall LLR Amethyst: Earned 1,000,000 credits (1,323,182)321 Sieve Ruby: Earned 2,000,000 credits (2,432,077)Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (4,967,439)Generalized Cullen/Woodall Sieve (suspended) Ruby: Earned 2,000,000 credits (2,137,451)PPS Sieve Double Silver: Earned 200,000,000 credits (266,959,292)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Gold: Earned 500,000 credits (627,444)TRP Sieve (suspended) Ruby: Earned 2,000,000 credits (3,956,401)AP 26/27 Jade: Earned 10,000,000 credits (15,856,233)GFN Emerald: Earned 50,000,000 credits (64,937,531)PSA Emerald: Earned 50,000,000 credits (87,901,787)
Message 42758 - Posted: 5 Nov 2011 | 10:09:34 UTC

maybe anyone can script a change of stopasapoption in prpclient.ini depending on power switched to battery
____________
Sysadm@Nbg
my current lucky number: 3749*2^1555697+1
PSA-PRPNet-Stats-URL: http://u-g-f.de/PRPNet/

Profile rroonnaallddProject donor
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 3 Jul 09
Posts: 1213
ID: 42893
Credit: 34,634,263
RAC: 0
321 LLR Silver: Earned 100,000 credits (101,692)Cullen LLR Silver: Earned 100,000 credits (104,876)ESP LLR Silver: Earned 100,000 credits (101,979)PPS LLR Silver: Earned 100,000 credits (148,018)PSP LLR Silver: Earned 100,000 credits (140,441)SoB LLR Silver: Earned 100,000 credits (119,475)SR5 LLR Silver: Earned 100,000 credits (120,939)SGS LLR Silver: Earned 100,000 credits (122,783)TRP LLR Silver: Earned 100,000 credits (100,115)Woodall LLR Silver: Earned 100,000 credits (107,459)321 Sieve Silver: Earned 100,000 credits (202,757)Cullen/Woodall Sieve (suspended) Turquoise: Earned 5,000,000 credits (6,908,135)PPS Sieve Sapphire: Earned 20,000,000 credits (25,450,104)Sierpinski (ESP/PSP/SoB) Sieve (suspended) Silver: Earned 100,000 credits (130,966)TRP Sieve (suspended) Silver: Earned 100,000 credits (201,525)AP 26/27 Silver: Earned 100,000 credits (100,015)GFN Silver: Earned 100,000 credits (246,369)PSA Silver: Earned 100,000 credits (226,594)
Message 42830 - Posted: 6 Nov 2011 | 14:12:29 UTC - in response to Message 42758.

maybe anyone can script a change of stopasapoption in prpclient.ini depending on power switched to battery

prp-4.3.5 detect changes in prpclient.ini while calculating an unit?
I found screen-messages about it only after completing an unit or normal after a client-restart...
____________
Best wishes. Knowledge is power. by jjwhalen

Message boards : Project Staging Area : Feature request: PRPNet UPS Awareness

[Return to PrimeGrid main page]
DNS Powered by DNSEXIT.COM
Copyright © 2005 - 2020 Rytis Slatkevičius (contact) and PrimeGrid community. Server load 4.17, 3.78, 3.83
Generated 31 Oct 2020 | 3:02:32 UTC