Home CPU Scheduling Disk Scheduling Page Replacement Deadlock


LOOK Disk Scheduling

It is a better version of the scan disk scheduling where it considers the requests if it is scanning in the same direction. In fact, it works in the real sense of an elevator. If the elevator picks someone from the 4th floor and if the person needs to be dropped at 5th floor, it will not go till the end and then start from bottom to drop you at 3rd floor. Though it will go till the last requested level, it will drop you on the way back.

Advantages
  • It does not causes the head to move till the ends of the disk when there are no requests to be serviced.
  • It provides better performance as compared to SCAN Algorithm.
  • It does not lead to starvation.
  • It provides low variance in response time and waiting time.
  • Disadvantages
  • There is an overhead of finding the end requests.
  • It causes long waiting time for the cylinders just visited by the head.
  • EXAMPLE : Let say we are given with the following queue ==> 95, 180, 34, 119, 11, 123, 62, 64 with the Read-write head initially at the track 50 and the tail track being at 199 let us now discuss the different algorithms.

    LOOK image


    Lets try to Run and Understand how these Disk Scheduling Algorithms actually WORK and even make a COMPARITIVE ANALYSIS.