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