On project switching


log in

Advanced search

Questions and Answers : Wish list : On project switching

Author Message
Profile Wuz
Send message
Joined: 9 Feb 00
Posts: 9
Credit: 1,330,423
RAC: 0
United States
Message 744402 - Posted: 26 Apr 2008, 9:45:47 UTC

So I was checking in on Boinc just now and was excited to see a WU approaching completion. 97%, 98%, 99%, 99.861% and then it shut down to switch over to a climateprediction WU.

It would have been more efficient if that WU finished before switching over rather than unloading, loading the other client, and then loading back up to finish that extra 0.1%. no?


____________

Profile Ageless
Avatar
Send message
Joined: 9 Jun 99
Posts: 12300
Credit: 2,596,267
RAC: 1,023
Netherlands
Message 744442 - Posted: 26 Apr 2008, 12:25:13 UTC - in response to Message 744402.

Not really. BOINC doesn't know how much longer the last 0.1% takes. For example, on CPDN it can take days, if not weeks. Other projects out there even go past 100% (yes, it happens), so how do you expect BOINC to react then?

It would probably be easy if BOINC only ran one project with tasks that all run for the same time. It becomes more difficult when you run multiple projects each with their own tasks, each with their own run-time.
____________
Jord

Fighting for the correct use of the apostrophe, together with Weird Al Yankovic

Profile Pooh Bear 27
Volunteer tester
Avatar
Send message
Joined: 14 Jul 03
Posts: 3221
Credit: 2,605,108
RAC: 20,480
United States
Message 744452 - Posted: 26 Apr 2008, 12:54:33 UTC

There was some logic added to BOINC to make sure it finishes a checkpoint before going to the next project as there was an issue if you did not use the keep in memory you often lost seconds / minutes of work when the project restarted. As Ageless stated, that .1% could take hours, depending on the project (as you already know with Climate project). There could be more logic added to check timing, but then it would slow down processing to keep checking that.

____________

Aurora Borealis
Volunteer tester
Avatar
Send message
Joined: 14 Jan 01
Posts: 2975
Credit: 5,028,326
RAC: 1,305
Canada
Message 744466 - Posted: 26 Apr 2008, 13:27:52 UTC

This subjets has been brought up on the dev list many time. Unfortunately there is no way for Boinc to know how much work there is left to do. The best that can be done is what Boinc now does, to wait for the next checkpoint to switch so no crunching is wasted. I've seen WU paused with 100% showing. Some projects have a long cleanup process to go through before the results can be uploaded. Currently I have a Seti WU that has been sitting at 3:01 min for the last 4 days. These things happen when you run 15 projects with some with a much higher resource share.
____________
Questions? Answers are in the "Unofficial" BOINC Wiki.

Boinc V7.0.27
Win7 i5 3.33G 4GB, GTX470

Odysseus
Volunteer tester
Avatar
Send message
Joined: 26 Jul 99
Posts: 1786
Credit: 3,817,331
RAC: 472
Canada
Message 744708 - Posted: 26 Apr 2008, 21:33:35 UTC - in response to Message 744466.

[…] I've seen WU paused with 100% showing. Some projects have a long cleanup process to go through before the results can be uploaded. […]

Or take MilkyWay@home—at least some versions of the astronomy app; the project is under development—where a (short) post-processing stage would start a new count, after the main part of the task had reached 100%. Then there’s SDG, where a “one line” WU will show 0% until it jumps to 100% on completion … Any assumptions BOINC might make about the time remaining are likely to be wrong on some ‘exceptional’ project or other.
____________

John McLeod VII
Volunteer developer
Volunteer tester
Avatar
Send message
Joined: 15 Jul 99
Posts: 24520
Credit: 521,562
RAC: 92
United States
Message 744712 - Posted: 26 Apr 2008, 21:42:39 UTC - in response to Message 744708.

[…] I've seen WU paused with 100% showing. Some projects have a long cleanup process to go through before the results can be uploaded. […]

Or take MilkyWay@home—at least some versions of the astronomy app; the project is under development—where a (short) post-processing stage would start a new count, after the main part of the task had reached 100%. Then there’s SDG, where a “one line” WU will show 0% until it jumps to 100% on completion … Any assumptions BOINC might make about the time remaining are likely to be wrong on some ‘exceptional’ project or other.

There was one project that for a while would count up to 100% and kept going and going and going. I believe the typical end point was around 2400%, and take days doing it.

Actually CPDN only takes a few hours to a few days for the last 01%.

There is a project that currently counts to 15% or so and terminates. There is another that regularly counted to 114%. No amount of arguing with the administrator ever got that straightned out (I have quite processing for that project for other reasons, and no, I won't discuss why on the boards).
____________


BOINC WIKI

Questions and Answers : Wish list : On project switching

Copyright © 2014 University of California