3,368 views
1 votes
1 votes

If there is a magnetic disk as following:

Average seek time: 12 ms

Rotation rate: 3600 RPM

Transfer rate: 3.5 MB/second

Number of sectors per track: 64

Sector size: 512 bytes

Controller overhead: 5.5 ms

What's the average time to read a single sector?

2 Answers

1 votes
1 votes

SEEK TIME=12MS

AVG RL=1/2(RL)=1/2(60/3600)=1/2(16.66MS)=8.33MS

NOW THE MAJOR PART:

ONE TRACK HAS 64 SECTOR

IN 16.66 MS WE CAN READ 64 SECTOR

SO TO READ 1 SECTOR WE NEED 16.66/64 MS=0.26MS

(NOTE THAT : THE TRANSEFER TIME OF ONE SECTOR IS 0.406 MS WHICH IS NOT NEEDED HERE COZ WE ARE ASKED TO READ ONLY  IF ASKED WE ALSO INCLUDE THIS FACTOR ALSO...)

TOTAL TIME REQUIRED IS

Seek time (12 MS) + Average RL (8.3 MS) + Sector read time (0.26MS) + Overhead (5.5 MS) = 26.1 MS(ANS)

1 votes
1 votes

Avg time to read=Tseek+Trotational+TTransfer+TController

Trotational=1/2(Rotational Time)

Rotational time:

3600 rotaion in 1 min

1 rotation in (1000*60)/3600 msec=16.66 msec

so Rotational time=16.66 msec

Trotational=1/2(16.66)=8.33msec

TTransfer:

3.5MB in 1 sec

As sectro contain 512 B

so time taken to read 512B=(512*1000)/(3.5*2^20)

TTransfer=0.139 msec

Hence

Total time to read=12+8.33+0.139+5.5=25.969 msec=26 msec

Related questions

0 votes
0 votes
0 answers
3
Na462 asked Jan 12, 2019
988 views
Consider a typical disk that transfers at a rate of 30 MBps and rotates at 5000 RPM. The average seek time of disk is twice average rotation delay and assume no controlle...
2 votes
2 votes
2 answers
4
Rohit Gupta 8 asked Nov 18, 2017
1,337 views
Suppose that cache access time is 7 ns, main memory access time is 50 ns and disk space access time is 1200 ns. If the hit rate of cache is 60% and of main memory hier...