Disk Scheduling Algorithms

Algorithm Descriptions 

  1. First Come First Served (FCFS): The simplest form of scheduling that means that we process items from the queue in sequential order. This strategy has the advantage of being fair, because every request is honored and the requests are honored in the order received.
  2. Shortest Service Time First (SSTF): The SSTF algorithm is to select the disk I/O request that requires the least movement of the disk arm from its current position. Thus, we always choose to incur the minimum seek time.
  3. SCAN: With SCAN, the arm is required to move in one direction, satisfying all the outstanding requests en route, until it reaches the end of the disk. Once reached at one end, the arm starts to move to the other end.
  4. C-SCAN: The C-SCAN algorithm restricts scanning to one direction only. Thus, when the one end of the disk is reached, the arm is returned to the opposite end of the disk and scan begins again.
  5. LOOK: Same as SCAN but with one difference. The arm instead to traveling to the end of the disk returns back after reading the last track en route.
  6. C-LOOK: The LOOK algorithm restricts scanning to one direction only. Thus, when the one end of the disk is reached, the arm is returned to last sector requested in the opposite end of the disk and scan begins again.

Helpful Hints 
Enter Track #'s:Input field to enter track numbers to be traversed
Report: Result of the simulation is displayed in the field
Tracks to be accessed: Total number of tracks entered
Total # Tracks Traversed: Total number of tracks traversed
Tracks were Traversed in the following Order: Order of track traversal
Average Seek Length: Used to measure efficiency of an algorithm. The smaller the number, the efficient the algorithm. Calculated by dividing total tranversed tracks by total number of tracks entered for traversal.
Head Starts: Track number to start the traversing
Drop Dowm: To select the algorithms described above
Run: Button to start the simulation

Contact US

Contact US
Tel:(853)2888 1122
Fax:(853)2888 0022
Email: [email protected]
Address: Avenida Wai Long,Taipa,Macau


Personnel Office
Address:Room N515, Block N,
Macau University of Science and
Technology,Avenida Wai Long,
Taipa, Macau
E-mail: [email protected]
Recruitment: [email protected]

Hotline: (853) 8897 2099
Fax: (853) 2882 7089