Question: Suppose that a 1 MB file consisting of 512-byte logical blocks is stored on a disk drive with the following characteristics: For each case below,

Suppose that a 1 MB file consisting of 512-byte logical blocks is stored on a disk drive with the following characteristics:

Parameter Rotational rate Tavg seek Average number of sectors/track Surfaces Sector size Value 13,000 RPM 6

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 given the best possible mapping of logical blocks to disk sectors (i.e., sequential).

B. Random case: Estimate the time (in ms) required to read the file if blocks are mapped randomly to disk sectors.

Parameter Rotational rate Tavg seek Average number of sectors/track Surfaces Sector size Value 13,000 RPM 6 ms 5,000 4 512 bytes

Step by Step Solution

3.42 Rating (155 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

This is a good check of your understanding of the factors that affect disk performance First we need ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Computer Systems A Programmers Perspective Questions!