Difference between Seek Time and Disk Access Time in Disk SchedulingIn this article, you will learn about the difference between the seek time and disk access time, But before discussing the differences, you have to know about the seek time and disk access time in Disk Scheduling. What is Seek Time in Disk Scheduling?Seek time is the time taken for a hard disk controller to locate a specific piece of stored data. Seek time can vary upon where the head is present when the read/write request is sent. When anything is read or written to a disc drive, the read/write head of the disc moves to the right position. The actual physical positioning of the read/write head of the disc is called seeking. The time the read/write head of the disc takes to move from one disk to another is called the seek time. The seek time can be different for a given disc due to the varying distance from the start point to where the read/write head has been instructed to go. Because of this, seek time is generally measured as an average seek time. Seek time is also measured in two other ways, track to track and full stroke.
The operating system requests the drive controller firmware to get a hard disk to read information, which actuates the read/write head to move to the position where the required data is stored. Switching between tracks requires the head actuator to move the access arm, which takes a certain amount of time. This time is called the seek time. It can vary depending on the distance between tracks and from its origin at the time of each read /write command. Because there are no industry standards for recording seek time, no single number determines the seek time for the whole drive. This is why most disc drive manufacturers measure the seek time in averages, and some manufacturers also include the full stroke and track to track specifications. For example, Consider a hard disk of the concentric circle called tracks, and you want to fetch some data, but the read/write head is currently on track 1, as shown in the below diagram. But the user request data that is present on Track 4. In this case, the read/write head will move to track 4 shown in the below diagram. The time it will take to reach track 4 is the seek time. Seek time is the time needed for the head to move from its current track (track 1) to where the data is present (rack 4). Even after this, it might have to wait for some more time because the data is present on the opposite side of the track, and this delay is called Rotational Latency, but this isn't counted in Seek Time. What is Disk Access Time in Disk Scheduling?Disk Access Time is defined as the total time required by the computer to process a read/write request and then retrieve the required data from the disk storage. There are two components in disk access time. The first component is the seek time which occurs when the read and write arm seeks the desired track. The second component is latency or wait time which occurs when the head write arm waits for the desired sector on the track to spin around. Access to the data on disks is measured in terms of milliseconds. However, this is actually much slower than the processing speeds of CPUs. Although I/O is still slow, it cannot match the speed improvements of modern processors. Disk Access Time is divided into two parts:
Formula You can calculate the disk access time by using the following formula. 1. Access Time Access Time is defined as the setup time before the actual data transfer takes place. For example, the read/write head is on track 1, but we need to read data from another track or segment. Thus, the read/write head will move to the data block location before the actual transfer occurs. This delay is called Access Time. Access Time is calculated by summation of the following:
NOTE: Command Processing Time and Settle Time are not normally mentioned in the numerical question, and we take them as zero.2. Data Transfer Time Data Transfer Time is defined as the time required to transfer data between the system and the disk. Data Transfer Time is two types:
Difference between Seek Time and Disk Access TimeBelow are some differences between rotational latency and disk access time in disk scheduling, such as:
|