Thread 'Terminating jobs early'

Message boards : Server programs : Terminating jobs early
Message board moderation

To post messages, you must log in.

AuthorMessage
OBrash

Send message
Joined: 16 Mar 19
Posts: 6
United States
Message 90702 - Posted: 16 Mar 2019, 15:46:06 UTC

We have just start experimenting using Boinc to run a local grid for one specific application which involves a numeric search for a solution. If an appropriate solution is found, it might mean that no further tasks need to be executed for that job.

What is the recommended way for the assimilator to cancel all remaining tasks for that job if it finds a solution that eliminates the need for further searching? And, is there a way to notify the clients to cancel any tasks they might have queued up?
ID: 90702 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5125
United Kingdom
Message 90704 - Posted: 16 Mar 2019, 15:54:21 UTC - in response to Message 90702.  

ID: 90704 · Report as offensive
OBrash

Send message
Joined: 16 Mar 19
Posts: 6
United States
Message 90706 - Posted: 16 Mar 2019, 16:30:31 UTC - in response to Message 90704.  

Well, that makes me feel silly. One follow on questions: is there any bad side effect to calling cancel on workunits that have already been assimilated or do I need to take care and only call it on those that have not been returned yet?
ID: 90706 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5125
United Kingdom
Message 90707 - Posted: 16 Mar 2019, 16:40:09 UTC - in response to Message 90706.  

I don't think so, but that one's a bit above my pay-grade: my experience is more as a client-user than as a server-administrator.

I would say that cancelling test jobs in a closed test environment has very few downsides, but is something to be avoided in a live environment if at all possible. Sometimes the BOINC system cancels jobs issued to clients if they haven't started running yet - say if a late return from a wingmate completes validation on the workunit. That's not a problem - nothing is wasted.

But if you cancel a job which has already started running, then the time spent so far IS wasted, and your volunteer users might start to feel that their efforts aren't being valued, and start to drift away.
ID: 90707 · Report as offensive

Message boards : Server programs : Terminating jobs early

Copyright © 2024 University of California.
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.