18. Multi-Resource Scheduling Flashcards
1
Q
Partitioned Multi-Processor Scheduling
A
- Consider parameters and assign priorities to tasks offline
- Apply single-core scheduling to each core independently
2
Q
First Fit on RM (RM-FF) and EDF (EDF-FF)
A
- Start with the first processor P_1 and use the schedulability test to check if P_1 is still schedulable after adding task tau_i
- If the test fails, repeat the assignment attempt on P_2
3
Q
RM-FF Schedulability Test
A
- A task set is schedulable on N processors under RM if the sum of the ratios of WCET / period <= N * (sqrt{2} - 1)
4
Q
EDF-FF Schedulability Test
A
- A task set is schedulable on N processers under EDF if the sum of the ratios of WCET / period <= (beta * N + 1) / (beta + 1)
- beta = floor(1 / max_k(C_k / T_k))
5
Q
Global Multi-Processor Scheduling
A
- Rank all of the tasks/jobs in the shared ready queue online
- Select top N to run on the N available processors
6
Q
Global EDF
A
- Invocation: at the completion or arrival of a job
- Policy: online, rank jobs by deadline and select the N tasks with the closest deadlines
- EDF is not optimal in the multi-processor case