What are some of the problems the operating system scheduler has to solve? i wit
ID: 3857479 • Letter: W
Question
What are some of the problems the operating system scheduler has to solve?
i with mainframes, the scheduler has to decide whether a batch job or an interactive user at a terminal should go next, and manage scarce CPU resource
ii with personal computers, which run many programs at the same time, the scheduler needs to manage the scarce CPU with a more clever and efficient algorithm
iii a key issue related to scheduling is when to make scheduling decisions, for example: when a process creates a new process should we run the parent or the child next, when a process blocks waiting on I/O, another process has to be selected to run, and so on.
iv giving each process a fair share of the CPU
Explanation / Answer
Answer is: 1 and 3 and 4.
Explanation:
The job of the scheduler is to distribute the scarce resource of the CPU to the different processes fairly and in a way that optimizes some performance criteria.
The job of the Scheduler is to select another process from the ready queue to run next and giving each and every process in the ready queue a fair share of the CPU resouce
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.