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