Run tasks by earliest deadline

Message boards : Server programs : Run tasks by earliest deadline
Message board moderation

To post messages, you must log in.

AuthorMessage
djo5296

Send message
Joined: 31 Jul 18
Posts: 1
Philippines
Message 87382 - Posted: 31 Jul 2018, 5:38:28 UTC

Is it possible to accept tasks but automatically suspend old tasks in place of newly added tasks that have much earlier deadlines?
ID: 87382 · Report as offensive
Seth

Send message
Joined: 19 Nov 16
Posts: 63
Australia
Message 87506 - Posted: 8 Aug 2018, 2:23:27 UTC - in response to Message 87382.  

On the client?
ID: 87506 · Report as offensive
robsmith
Volunteer tester
Help desk expert

Send message
Joined: 25 May 09
Posts: 976
United Kingdom
Message 87507 - Posted: 8 Aug 2018, 4:56:52 UTC

This is a client-side function that already exists (well, so of).

The client normally runs in First-in, First-out mode
If a task is detected by the client as probably not going to complete in time if it runs in sequence the it is promoted to run early, thus (hopefully) complete in time.

This has to be a client-side function because the client knows what work it has in hand, but the individual project servers only know about the work they have sent out.
ID: 87507 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 4542
United Kingdom
Message 87515 - Posted: 8 Aug 2018, 8:14:12 UTC - in response to Message 87507.  

I found the original question ambiguous. It could be a client-side question, but it's unusual for someone to go right down to the bottom of the list and pick the server area for those. He could just as easily have been referring to Prioritizing jobs in a multi-user project. That's server documentation, and the 'users' in this case are the research scientists.

In server land, the task deadline is known as the 'delay_bound', and is set in the input template. I don't know enough about user accounts and input templates to comment about how the delay bound and the job priority could be made to interact dynamically.
ID: 87515 · Report as offensive
Seth

Send message
Joined: 19 Nov 16
Posts: 63
Australia
Message 87532 - Posted: 9 Aug 2018, 0:41:19 UTC - in response to Message 87515.  

Theres some flags that you can work with for the feeder here: https://boinc.berkeley.edu/trac/wiki/BackendPrograms
ID: 87532 · Report as offensive
drlambert100

Send message
Joined: 18 Jul 18
Posts: 4
Canada
Message 87684 - Posted: 16 Aug 2018, 21:42:54 UTC

Is there a setting somewhere that can change the 'first in/first out' operation of the client? I frequently find myself suspending tasks more recently downloaded in order to make sure older tasks complete successfully on time.
D Lambert
Chemainus, BC
Canada
ID: 87684 · Report as offensive

Message boards : Server programs : Run tasks by earliest deadline

Copyright © 2021 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.