3,439 views
1 votes
1 votes
A disk is advertised with a seek time of 3 ms, 512 bytes per sector and 128 sectors per track.  The disk rotates at 5, 200 rpm.

i.    Determine the average rotational delay for the disk.

ii.    Determine the time required to read a 4 Mbyte file.  You are to assume that the file occupies sectors on adjacent tracks.

1 Answer

0 votes
0 votes
5200 rotation --------> 60 seconds

  1     rotation  --------> $\frac{60}{5200}$ = 11.53 msec

i) Avg rotational delay = $\frac{11.53}{2}$ = 5.76 msec

1 track data = 128 × 512 = 65536 Byte

now,

1 track data wiil be fetched in 1 rotation

65536 byte -------> 11.53 msec

  4 Mbyte    -------> $\frac{11.53}{65536}$ × $2^{22}$  = 737.92 msec

Number of tracks required to store 4 Mbyte = $\frac{2^{22}}{65536}$ = 64

Since data are stored in adjacent track, seek time and rotation time will be considered for every track change

ii) Time to read 4 Mbyte = ((Seek time + Avg rotation time) × 64)  + Time to transfer 4 Mbyte

                                            = ((3 msec + 5.76 msec) × 64) + 737.92 msec

                                            = 560.64 msec + 737.92 msec

                                            = 1298.56 msec

Related questions

0 votes
0 votes
1 answer
1
kathan Mistry asked Aug 9, 2022
613 views
In a pipelined architecture Static branch prediction is used with branch taken assumption. Assume that 30% of the instructions executed for a program are branch instructi...
2 votes
2 votes
0 answers
2
1 votes
1 votes
2 answers
4
cse23 asked Oct 11, 2016
3,369 views
If there is a magnetic disk as following:Average seek time: 12 msRotation rate: 3600 RPMTransfer rate: 3.5 MB/secondNumber of sectors per track: 64Sector size: 512 bytesC...