Depending on whether a disk has fixed or movable heads, are three factors that contribute to the time required to access a file: seek time, search time, and transfer time.
Seek Time has been the slowest of the three factors. This is the time required to position the read/write head on the proper track. This does not apply to devices with fixed read/write heads because each track has its own read/write head.
Search Time, also known as rotational delay, is the time it takes to rotate the disk until the requested record is moved under the read/write head.
Transfer time is the fastest of the three; thats when the data is actually transferred from secondary storage to main memory.
Fixed-Head Drives
Fixed-head disk drives are fast. The total amount of time required to access data depends on the rotational speed, which varies from device to device but is constant within each device, and the position of the record relative to the position of the read/write head. Therefore, total access time is the sum of search time plus transfer time. search time (rotational delay) + transfer time (data transfer) =access time
Because of continuous rotation of the disk, three basic positions are for the requested record in relation to the position of the read/write head .
Access Time
16.8 ms + 0.00094 ms/byte
Average access
Sequential access
Depends on the length of the record; generally less than 1 ms (known as the transfer rate)
Data recorded on fixed head drives may or may not be blocked at the discretion of the application programmer. Blocking isnt used to save space because there are no IRGs between records. Instead, blocking is used to save time.
Or we can read one block of 10 records we would make a single access, so wed compute the access time only once, multiplying the transfer rate by 10: access time = 8.4 + (0.094 * 10) = 8.4 + 0.94 = 9.34 ms for 10 records in one block
Once the block is in memory, the software that handles blocking and deblocking takes over. But, the amount of time used in deblocking must be less than what you saved in access time (75.6 ms) for this to be a productive move.
Movable-Head Devices
Movable-head disk drives add a third time element to the computation of access time. Seek time is the time required to move the arm into position over the proper track. So now the formula for access time is: seek time (arm movement) search time (rotational delay) + transfer time (data transfer) =access time
The calculations to figure search time (rotational delay) and transfer time are the same as those presented for fixed-head drives. The maximum seek time, which is the maximum time required to move the arm, is typically 50 ms.
Access Time
50 ms + 16.8 ms + 0.00094 ms/byte
Average access
Sequential access
The variance in access time has increased in comparison to that of the fixed-head drive but its relatively smallespecially when compared to tape access, which varies from milliseconds to minutes.
In this case, blocking is a good way to minimize access time. using the same example as for fixed-head disks and considering the average case with 10 seeks followed by 10 searches, we would get: Access time =25 + 8.4 + 0.094 = 33.494 ms for one record Total access time = 10* 33.494 =334.94 ms for 10 seconds ( about 1/3 of a second)
But when we put ten records into one block, the access time s signifigantly decreased. Total access time = 25+ 8.4+ (0.094 * 10) =33.4 + 0.94 =34.34 ms for ten records