Feature request: Prioritising tasks

Message boards : Questions and problems : Feature request: Prioritising tasks
Message board moderation

To post messages, you must log in.

AuthorMessage
Saxbend

Send message
Joined: 15 Nov 17
Posts: 2
United Kingdom
Message 82981 - Posted: 15 Nov 2017, 10:18:34 UTC

Hi. I'm using boinc with no bugs or technical problems on two Windows 7 machines. I have a request for a feature to be added to a later version though.

It would be really helpful to set priority for completion of tasks either by establishing some rules for the client to follow, or perhaps by assigning tasks manually to different priority bands.

My boinc clients often tend to favour newly downloaded tasks when there are still others to be completed with much sooner deadlines. Manually suspending newer tasks can get around this issue but only if I also temporarily set projects to "no new tasks" otherwise new tasks will be downloaded making it even more difficult to ensure all deadlines are met.


It would be very helpful therefore to have the client prioritise tasks in order of time remaining to deadline minus estimated cpu time remaining. If there is a reason why that would be difficult to implement then perhaps tasks could be selected by the user and marked as high, medium or low priority (where low is the same as the priority given to newly downloaded tasks).

Thanks for taking the time to read this! :)
ID: 82981 · Report as offensive     Reply Quote
SekeRob
Volunteer tester
Help desk expert

Send message
Joined: 25 Aug 06
Posts: 1596
Message 82982 - Posted: 15 Nov 2017, 10:40:13 UTC - in response to Message 82981.  
Last modified: 15 Nov 2017, 10:45:06 UTC

How big is your buffer/cache setting?, what are the typical deadlines?, how many hours in a day is the client running?

(This has been requested many times, but goes against the core mechanics of the scheduling logic: FIFO and project weight/resource share. Earliest Deadline First (EDF), is already programmed in IF the client scheduler determines a deadline will not be met when sticking to the base FIFO order)

BTW, suspending a task will automatically defer work fetching for that project and move the fetch order to the next highest in line to have work fetched from. So, if you suspend a task for WCG, then no more work will be fetched from WCG if you also have Rosetta active on that client. Then, any new work requests will go to Rosetta to back fill the buffer/cache.
Coelum Non Animum Mutant, Qui Trans Mare Currunt
ID: 82982 · Report as offensive     Reply Quote
Saxbend

Send message
Joined: 15 Nov 17
Posts: 2
United Kingdom
Message 82985 - Posted: 15 Nov 2017, 12:08:51 UTC - in response to Message 82982.  

Thanks for your quick response. I can't find the settings specific to cache/buffer you mention so that means I will not have changed them from the default.
My computers are on constantly and so running the client for a good 20 hours a day on average, often while I'm working on something that doesn't need a lot of computing resources.

I'm running five projects, the same five on each machine. What tends to happen is the projects with smaller tasks (primaboinca, mindmodelling, acoustics), download a large number of tasks with deadlines less than a week away, complete most of them but then ignore the remaining few focusing on larger tasks from other projects (rosetta, cosmology),with deadlines up to two weeks away while those short deadlines get to within 24 hours. Since there's always a chance of that last 24 hours being a day when I need to suspend boinc to make more demanding use of my machine it doesn't make sense for boinc to leave those tasks outstanding for so long when the tasks it favours have plenty of time to be completed later.
ID: 82985 · Report as offensive     Reply Quote
SekeRob
Volunteer tester
Help desk expert

Send message
Joined: 25 Aug 06
Posts: 1596
Message 82986 - Posted: 15 Nov 2017, 12:47:59 UTC - in response to Message 82985.  

If you run 'based on preferences', the client is set to pause/suspend automatically when the non-BOINC load is greater than I think default 25%, though I'm using 50%. When compiling something or run a large multi-threaded Office job, the client pause kicks in... benefit: I wont forget.

The preferences can by found under Options > Computing Preferences > Computing tab, under Store At Least nn days of work / Store up to an additional nn days of work.

If you've never meddled with them, then the website location prefs are in effect. In the Computing Prefs, right top there could be button. If there and it says "Use web prefs", then local overrides are used. If there's no button, then you've got no overrides, all is fine, and best you hit Cancel to get out of the prefs screen, else you would lock the present settings in as local and forward on the web prefs are ignored.
Coelum Non Animum Mutant, Qui Trans Mare Currunt
ID: 82986 · Report as offensive     Reply Quote

Message boards : Questions and problems : Feature request: Prioritising tasks

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