in Operating System
395 views
0 votes
0 votes
OS:

Which process scheduling mechanism gives the optimal average waiting time and throughput, is it SJF or SRTF?

Which DISK scheduling algo gives the minimum seek time is it SSTF?
in Operating System
395 views

1 comment

I think it depends on the requests.
0
0

1 Answer

0 votes
0 votes

usually it depends on what kind of requests are presents in queue.

but in std books like tanenbaum says sstf is provide better throughtput in respect of waiting time  than elevator algorithm.(general approach) 

bcoz in elevator algorithm if request is come behind the head it service that request only in  round trip.(huge wait)

even one question also ask in gate about it.(remember sstf and c-look algorithms are used as default case)

hope its helpful.

https://gateoverflow.in/1463/gate1999-1-10

Related questions