Question: Q-suppose a system uses priority scheduling (where a small integer number means a high priority) Processes in system processes Required processing time priority 0 60
Q-suppose a system uses priority scheduling (where a small integer number means a high priority)
| Processes in system | ||
| processes | Required processing time | priority |
| 0 | 60 | 3 |
| 1 | 10 | 4 |
| 2 | 40 | 1 |
| 3 | 80 | 2 |
i- with time quantum 50 ms, if a single context switching process requires 1ms, calculate the CPU utilization of the system, and what are the effects of increasing and decreasing of time quantum for the round-robin scheduler?
ii- Discuss the relationship between the context switching and the CPU utilization in the embedded system. Justify how this relationship affects the characteristic of batch system and interactive system?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
