1,689 views
1 1 vote
Q(1) Consider a disk I/O transfer, in which 1500 bytes are to be transferred, but number of bytes on a track is 1000, and rotation speed of disk is 1500 rps but the average time required to move the disk arm to required track is 15milisec, then what will be total access time?

(a) 16.33 ms (b) 15.33 ms (c) 14.33 (d) none

Please answer ASAP

2 Answers

1 1 vote

Here we should know : 

a) Total access time = Seek Time + Rotational latency + Transfer time

b) Transfer time is decided by :    Number of bytes / Transfer rate where Transfer rate is found using the fact that the data equivalent to track capacity is transferred in 1 rotation.

As data to be transferred  =   1500 B which is greater than track capacity which is given as 1000 B , so all data is not in the same track , so the disk arm needs to move at least once , so at least 1 seek time is involved.

Given seek time      =      15 ms

Average rotational latency    =  1/2 * 1 Rotation time   =    0.5 rotation time

For transfer time , we know in 1 rotation time , number of bytes that can be transferred  =   1000 B

                  So number of rotation times needed for transfer of 1500 B                          =   1.5 rotation times

Hence rotational latency + transfer time      =        2 rotation times.

Now given ,

          Number of rotations in  1 s              =        1500

          Hence time taken for 1 rotation        =        1 / 1500 s        =    1000 / 1500 ms

          Hence time taken for 2 rotations      =         2000 / 1500 ms

                                                               =        1.33 ms

          Hence rotational latency + transfer time     =    1.33 ms

          Thus ,

          Total delay                                    =         Seek time + Rotational latency + Transfer time

                                                              =         15  +  1.33

                                                              =         16.33 ms

   Hence A) should be the correct option .

1 1 vote

b=1500 bytes  r=1500

N=1000 bytes

Ts=15ms

T=1500/1000*1500=2=1ms

Rotational Latency= 1/(2*1500)=0.33ms

Ta= 15+1 + 0.33=16.33ms

Source: William Stallings :)

Position:
Show:

Related questions

0 0 votes
0 0 answers
752
752 views
54Y4N asked Oct 9, 2023
752 views
A 1 kilometer long CSMA/CD (not 802.3) has a propagation speed of 200m/ìsec. Repeaters are not allowed in this system Data frames are 256 bits long, including 32 bits of ...
0 0 votes
1 answers 1 answer
682
682 views
shreys02 asked Mar 14, 2019
682 views
The round trip delay between X and Y is given as 60 ms and bottle neck bandwidth of link between X and Y is 512 KBps. What is the optimal window size (in packets) if the ...
0 0 votes
1 1 answer
1.9k
1.9k views
talha hashim asked Oct 6, 2018
1,898 views
A resource record of DNS has Time to live field which gives the indication of how stable the record is.Such information which is highly stable is assigned to________
0 0 votes
1 1 answer
925
925 views
Mayank Gupta 3 asked Sep 2, 2018
925 views
which of the following statement is correct with respect to half duplex communication?a) error correction is not possibleb)always a pair of physical links is necessary'c)...