The Gateway to Computer Science Excellence
0 votes
480 views
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.
in CO and Architecture by (5 points) | 480 views

1 Answer

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
by Junior (785 points)

Related questions

Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,833 questions
57,742 answers
199,469 comments
108,056 users