Suppose that a 2 MB file consisting of 512-byte logical blocks is stored on a disk drive with the following characteristics: Parameter Value Rotational rate 15,000 RPMTavg seek 4 msAverage number of sectors/track 1,000Surfaces 8Sector size 512 bytes For each case below, suppose that a program reads the logical blocksof the file sequentially, one after the other, and that the time to positionthe head over the first block is Tavg seek + Tavg rotation .A. Best case: Estimate the optimal time (in ms) required to readthe file over all possible mappings of logical blocks to disksectors. B. Random case: Estimate the time (in ms) required to read thefile if blocks are mapped randomly to disk sectors.
Suppose that a 2 MB file consisting of 512-byte logical blocks is stored on a disk drive with the following characteristics:
Parameter Value
Rotational rate 15,000 RPM
Tavg seek 4 ms
Average number of sectors/track 1,000
Surfaces 8
Sector size 512 bytes
For each case below, suppose that a program reads the logical blocks
of the file sequentially, one after the other, and that the time to position
the head over the first block is Tavg seek + Tavg rotation .
A. Best case: Estimate the optimal time (in ms) required to read
the file over all possible mappings of logical blocks to disk
sectors.
B. Random case: Estimate the time (in ms) required to read the
file if blocks are mapped randomly to disk sectors.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps