Lecture 9: CPU Scheduling 3 Flashcards

1
Q

Real-Time

A

Processes must/ should complete by some deadline

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Hard Real-Time(Must):

A

Requires dedicated scheduler

e.g.: adjust landing gear on an aircraft

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Soft Real-Time(Should):

A

Can be integrated into Multi-level Feedback Queues
•Can be integrated into priority-based scheduler (e.g.: MFQ’s)
→ should not be demoted
→ requires strict time-slices
e.g.: deliver audio / video packets

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Real-Time Scheduling

A
  1. Determine “feasible” processes (deadline –now ≥ burst)
    • Re-determine at every context switch
  2. Greedy heuristic:
    Choose process with min value of [deadline –(now + burst)]
How well did you know this?
1
Not at all
2
3
4
5
Perfectly