Disk Scheduling Algorithm
Disk scheduling algorithm are the algorithm that are used for scheduling a disk. With the help of operating system, disk scheduling is performed. we use disk scheduling to schedule the input/output requests that arrive for the disk. Disk scheduling is also called input/output scheduling.
Disk Scheduling is important because of the following reasons
- The slowest part of the computer system is the hard drive. So, to access the hard drive conveniently or effectively, we need disk scheduling.
- Sometimes, there are various I/O requests which arrive from the different processes. But at a time, the disk controller can only serve one I/O request. So, in this way, the other requests have to wait in the waiting queue, and scheduling is needed for those processes that are waiting in the waiting queue.
Objective of Disk Scheduling Algorithm
- Less traveling head time
- High throughput
- Fairness