cpu scheduling SRTF

382 Views Asked by At

SRTF cpu scheduling is given in 3 parts , a process spend CPU BURST TIME followed by an IO BURST TIME followed by a CPU BURST TIME , confusion is that on which burst time SRTF need to be applied ,on a TOTAL CPU BURST TIME or just on THE CPU BURST TIME GIVEN IN 1ST CPU RUN seperately followed by on the 2nd cpu burst time seperately ?

1

There are 1 best solutions below

1
On

These type of problems are usually asked when using RR scheduling and rarely asked when using SRTF.

If you really want an answer,since I/O-bound job should always have higher priority than CPU-bound job to get CPU.It is make sense to use first part to calculate because this allows I/O operation start earlier.