297 views
0 votes
0 votes

In addition to this Avg rotational delay is also given as 8.3 ms.

I am confused when we access 8 consecutive track then how many time we should take rotational delay and seek time.

1 Answer

1 votes
1 votes
First calculate time to read the file of 128 KB $\rightarrow$ $\frac{2^{17}}{2^{20}}$ $\rightarrow$ $0.125 $ sec $\rightarrow$ $125$ ms.

A) As file is contiguous in first part, so in order to read 256 sectors, overhead will come only 1 time

Total time = T avg seek + T rotn delay + T transfer time $\rightarrow$ 8.3+20+125 ms $\rightarrow$ $153.3 ms$

B) When sectors are random, overhead will come for each sector, so

Total time = 256* (T avg seek + T rotn delay + T transfer time for 1 sector)

               $\rightarrow$ 256 * (T avg seek + T rotn delay) + T total transfer time

               $\rightarrow$ 256*(28.3) + 125 $\rightarrow$ $7369.8ms$

Related questions

2 votes
2 votes
2 answers
2
Simar sandhu asked Aug 12, 2017
4,696 views
Consider a disk with seek time of 4 ms, rotation speed of 15,000 rpm and 512-byte sectors with 500 sectors per track. Suppose that we wish to read a file consistinh of 25...