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

  1. The slowest part of the computer system is the hard drive. So, to access the hard drive conveniently or effectively, we need disk scheduling.
  2. 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

  1. Less traveling head time
  2. High throughput
  3. Fairness

Purpose of Disk Scheduling

The purpose of disk scheduling is to choose a disk request from the input/output request queue and then scheduling the remaining request means which has to be processed.

Disk Scheduling Algorithms

There are different types of disk scheduling algorithms. Each algorithm contains its own benefits and drawbacks.