Priority

Image result for priority of  OS image

In case of priority scheduling the priority is not always set as the inverse of the CPU burst time, rather it can be internally or externally set, but yes the scheduling is done on the basis of priority of the process where the process which is most urgent is processed first, followed by the ones with lesser priority in order.

Processes with same priority are executed in FCFS manner.

The priority of process, when internally defined, can be decided based on memory requirementstime limits ,number of open filesratio of I/O burst to CPU burst etc.

Whereas, external priorities are set based on criteria outside the operating system, like the importance of the process, funds paid for the computer resource use, makrte factor etc.

Reference:

https://www.studytonight.com/operating-system/priority-scheduling.(2019).Wikipedia.Retrieved(2019).

Leave a comment

Design a site like this with WordPress.com
Get started