Comparison

As we know, a process needs 2 types of time, CPU time and I/O time. For I/O, it requests the operating system to access the disk. However, the operating system must be fare enough to satisfy each request and at the same time, operating system must maintain the efficiency and speed of process execution. The technique that operating system uses to determine the request which is to be satisfied next is called disk scheduling.

The main purpose of disk scheduling algorithm is to select a disk request from the queue of I/O requests and decide the schedule when this request will be processed.


SEEK TIME : Seek time is the time taken in locating the disk arm to a specified track where the read/write request will be satisfied.

RESPONSE TIME : It is the average of time spent by each request waiting for the I/O operation.





Enter the track numbers upto 200.