Lecture 9: CPU Scheduling 3 Flashcards
1
Q
Real-Time
A
Processes must/ should complete by some deadline
2
Q
Hard Real-Time(Must):
A
Requires dedicated scheduler
e.g.: adjust landing gear on an aircraft
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
4
Q
Real-Time Scheduling
A
- Determine “feasible” processes (deadline –now ≥ burst)
• Re-determine at every context switch - Greedy heuristic:
Choose process with min value of [deadline –(now + burst)]