Question 1
Real-time tasks with Rate Monotonic Scheduling (shorter period = higher priority):
- Task A: Execution 9, Period 40
- Task B: Execution 2, Period 10
- Task C: Execution 3, Period 40
Is the task set schedulable under RM?
Step-by-step solution:
1. Calculate utilization:
- Task A: 9/40 = 0.225
- Task B: 2/10 = 0.200
- Task C: 3/40 = 0.075
Total U = 0.500
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.500 ≤ 0.780 (RM bound)
Answer: Schedulable
1. Calculate utilization:
- Task A: 9/40 = 0.225
- Task B: 2/10 = 0.200
- Task C: 3/40 = 0.075
Total U = 0.500
2. RM schedulability bound for 3 tasks: 0.780
3. Conclusion: Utilization 0.500 ≤ 0.780 (RM bound)
Answer: Schedulable