Pirates@Home logo

Pirates@Home

Berkeley Open Infrastructure
BOINC!
for Network Computing
Home Help Status Forums Glossary Account

One BOINC bug squashed...

log in

Advanced search

Message boards : Number Crunching : One BOINC bug squashed...

Author Message
Profile Ageless
Chief Petty Officer
Volunteer tester
Avatar
Send message
Joined: 20 Jul 04
Netherlands
Machinae Supremacy
Credit: 1,524.1
RAC: 0.00
Joined: Jul 20, 2004
Verified: Jul 9, 2011
Dubloons: 3
Pieces of Eight: 7
Punishment: Walk Plank
Message 9274 - Posted: 22 Dec 2014 | 5:30:32 UTC
Last modified: 22 Dec 2014 | 5:31:05 UTC

With thanks to Pirates and its scheduler wait of 3636 seconds, a crashing Google Earth and it taking down the OpenGL&OpenCL driver, and this requiring a BOINC restart, I found a bug in the way BOINC handles the scheduler wait value... it doesn't.

Upon each client restart, BOINC would automatically contact Pirates, that scheduler wait be damned. Didn't matter if BOINC was just 5 minutes into the wait, or an hour... The server would answer that the last contact was too recent and just reset the wait to another 3636 seconds.

BOINC shouldn't be trying to contact the project if there is a minimum RPC value set, which the scheduler wait is. And so I reported that through BOINC Alpha, to get answer back from David that he fixed this behaviour.

client: preserve min RPC time across client restart

My 18 Oct 2013 commit caused the client to clear PROJECT::min_rpc_time on startup.
This causes project-requested RPC delays to be ignored if the client is restarted.
This is probably undesirable, so I unded that change.

Note: min_rpc_time is used for both
a) project-requested RPC delay
b) exponential backoff due to server down, not work, etc.

To me it makes sense to clear b) on restart, but not a).
Maybe at some point we should separate these.

To be added to a new client in the future.

:-)
____________
Jord.

Used to be a single voice that vanished in a crowd. Vague just like a distant sun when hidden by the clouds.
Found a way to surface and to speak my truth aloud. Be powerful. Stand fast and proud

Profile Wormholio
Captain
Avatar
Send message
Joined: 6 Jun 04
United States
Away
Credit: 4,065.6
RAC: 0.00
Joined: Jun 6, 2004
Verified: Mar 13, 2008
Dubloons: 3
Pieces of Eight: 10
Punishment: Aztec curse
Message 9275 - Posted: 23 Dec 2014 | 13:47:28 UTC - in response to Message 9274.

With thanks to Pirates and its scheduler wait of 3636 seconds, a crashing Google Earth and it taking down the OpenGL&OpenCL driver, and this requiring a BOINC restart, I found a bug in the way BOINC handles the scheduler wait value... it doesn't.

Congratulations on a successful bug hunt. I'm glad to know that this rusty scow could still be of some small service.

____________
-- Eric Myers

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats

Post to thread

Message boards : Number Crunching : One BOINC bug squashed...

Home Help Status Forums Glossary Account


Return to Pirates@Home main page


Copyright © 2017 Capt. Jack Sparrow