Open In App

Priority to Round-robin scheduling with dynamic time quantum

Prerequisite – Program for Round Robin scheduling Processes are executed on basis of their priority in this scheduling algorithm. Processes have a specific priority associated with them on arrival. When a process arrives its priority is compared with other processes in the ready queue and if its priority is higher then it becomes running process. In case of a non-preemptive algorithm even if the arriving process has a higher priority, running process is not preempted if it is not completely executed i.e., once scheduled process will run till completion. To avoid starvation of processes which have lower priority, priority of running processes and processes in the ready queue are changed. Consider a preemptive priority scheduling algorithm where each process arrive at the ready queue with priority zero and priority changed at the rate of α at the ready queue (while waiting) and at the rate of ß at the CPU (while running), then there can be two cases:

Article Tags :