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