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