Question: Chapter 5 : CPU Scheduling Why is it important for the scheduler to distinguish l 0 - bound programs from CPU - bound programs? Discuss
Chapter : CPU Scheduling
Why is it important for the scheduler to distinguish bound programs from CPUbound programs?
Discuss how the following pairs of scheduling criteria conflict in certain settings.
a CPU utilization and response time
b Average turnaround time and maximum waiting time
c IO device utilization and CPU utilization
Consider the exponential average formula used to predict the length of the next CPU burst. What are the implications of assigning the following values to the parameters used by the algorithm?
a and milliseconds
b and milliseconds
Consider the following set of processes, with the length of theCPUburst time given in milliseconds:
Process Burst TimePriority
P
P
P
The processes are assumed to have arrived in the order all at time
aDraw four Gantt charts illustrating the execution of these processes using FCFS SJF a nonpreemptive priority a smaller priority number implies a higher priority and RR quantum scheduling.
b What is the turnaround time of each process for each of thescheduling algorithms in part a
cWhat is the waiting time of each process for each of the scheduling algorithms in part a
d Which of the schedules in part a results in the minimal average waiting time over all processes
Which of the following scheduling algorithms could result in starvation?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
