What determines the sequence that tasks start in?

Questions and Answers : Windows : What determines the sequence that tasks start in?
Message board moderation

To post messages, you must log in.

AuthorMessage
Profile SirionStig

Send message
Joined: 9 Oct 02
Posts: 30
Credit: 128,470
RAC: 0
United Kingdom
Message 1141158 - Posted: 16 Aug 2011, 10:15:29 UTC

... as I have seen that, on my PC, the tasks with the closest deadline do not always start next.
Can I set it to always start the tasks with the closest deadlines next?

ID: 1141158 · Report as offensive
Profile Gundolf Jahn

Send message
Joined: 19 Sep 00
Posts: 3184
Credit: 446,358
RAC: 0
Germany
Message 1141160 - Posted: 16 Aug 2011, 10:28:07 UTC - in response to Message 1141158.  

No, you can't.

Normally, tasks are started in FIFO (First In First Out) mode. Only when a tasks is in danger to miss its deadline, it is started in "high priority" mode, also known as EDF mode (Earliest Deadline First).

There are many, many threads on this topic on the forum. You could try an Advanced search with a longer time range.

Gruß,
Gundolf
Computer sind nicht alles im Leben. (Kleiner Scherz)

SETI@home classic workunits 3,758
SETI@home classic CPU time 66,520 hours
ID: 1141160 · Report as offensive
Profile SirionStig

Send message
Joined: 9 Oct 02
Posts: 30
Credit: 128,470
RAC: 0
United Kingdom
Message 1141162 - Posted: 16 Aug 2011, 10:46:54 UTC

Okay, thanks.
End thread.

***
ID: 1141162 · Report as offensive
John McLeod VII
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 15 Jul 99
Posts: 24806
Credit: 790,712
RAC: 0
United States
Message 1141879 - Posted: 18 Aug 2011, 0:50:52 UTC

It is slightly more complicated if there are multiple projects. BOINC does a modified Round Robin between projects and FIFO within a project. If any tasks require high priority, the tasks in that set are started Earliest deadline first. Any remaining CPUs do the normal Round Robin / FIFO.


BOINC WIKI
ID: 1141879 · Report as offensive

Questions and Answers : Windows : What determines the sequence that tasks start in?


 
©2024 University of California
 
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.