Drawbacks of SJF

Q9. What are the drawbacks of SJF?

Ans. We allocate CPU to shortest job so the job with more burst keeps on waiting. It is known as starvation. A particular process keeps on waiting, but it is not allocated the CPU. To prevent this, use aging.

According to waiting time, we calculate three age after a particular check time and after that the aged processes is given the system (10-15 ms).

Leave a Reply

Your email address will not be published. Required fields are marked *