Question 1
Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority):
- Task A: Execution 2, Period 20
- Task B: Execution 3, Period 30
- Task C: Execution 8, Period 30
- Task D: Execution 10, Period 30
Is the task set schedulable under RM?
Step-by-step solution:
1. Calculate utilization:
- Task A: 2/20 = 0.100
- Task B: 3/30 = 0.100
- Task C: 8/30 = 0.267
- Task D: 10/30 = 0.333
Total U = 0.800
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.800 > 0.757 (RM bound)
Answer: May not be schedulable
1. Calculate utilization:
- Task A: 2/20 = 0.100
- Task B: 3/30 = 0.100
- Task C: 8/30 = 0.267
- Task D: 10/30 = 0.333
Total U = 0.800
2. RM schedulability bound for 4 tasks: 0.757
3. Conclusion: Utilization 0.800 > 0.757 (RM bound)
Answer: May not be schedulable