Disk Scheduling
Project Information
- Category: Software
- Project Date: October 2019
- Project URL: https://github.com/ChibiKev/Disk-Scheduling
A program that implements the following disk-scheduling algorithms: FCFS, SSTF, SCAN, C-SCAN, LOOK, and CLOOK.
The program services a disk with 10,000 cylinders numbered 0 to 9,999. It will generate a random series of 1,000 cylinders requests and service them according to each of the algorithms listed above. It will be passed the initial position of the disk head (as a parameter on the command line), and report the total amount of head movement required by each algorithm. The program will show the result in a table. During each time it ran, the output vary based on what has randomly generated and the starting head value.