Professional Documents
Culture Documents
Process Scheduling
Multiple process is ready to execute.
But, which Process should be executed first?
P1
P4 P1 -> P3 -> P2 -> P4 -> P5 ?
C
P2 P1 -> P2 -> P3 -> P5 -> P4 ? P
U
P3
P5
Device
Queue
Job Ready C
Queue Queue P
U
Device
Queue
● Reside in Secondary Memory ● Reside in Main Memory
● Keeps all the processes of the ● Keeps all the processes that
Processes wait
system are waiting to be executed.
here waiting for the
device to be free Device 2
Queueing Diagram
● Less frequently
executed. ● More frequently
● Controls degree of executed.
multiprogramming.
CPU Bound Vs I/O Bound Process
CPU bound processes spend more time doing computation using processors than I/O.