[問題] 91NCCU-CS 磁碟空間+資料讀取速度計算
3.
(a) A 2HD floppy disk has a storage capacity of 1440KB. Given that there are
18 sectors per track and each sector contains 512 Bytes of data, what is the
number of tracks on this 2HD disk?
(b) Suppose the floppy disk drive has a rotation speed of 300 rpm. Assume the
arm movement time = 10 ms fixed startup time + 1 ms for each track crossed.
Compute the best-case, worst-cast and average-case (assume, on average, the
read-write head moves 20 tracks) access times for this disk drive.
(a)我的計算是 18*512bytes = 9216 byte
(1440*1024bytes)/9216byte = 160 track
(b) 300 rpm 所以 60/300 = 0.2秒 0.2*(1/2) = 100 ms 平均旋轉時間
接下來的best-case 100 + 10 + 1*1(track) = 111 ms
average-case 100 + 10 + 1*20(track) = 130 ms
worst-cast 100 + 10 + 1*160(track) = 270 ms
不知道這樣算是否正確?請指教。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 218.162.129.136
推
05/20 10:34, , 1F
05/20 10:34, 1F
→
05/20 21:40, , 2F
05/20 21:40, 2F
推
05/27 23:59, , 3F
05/27 23:59, 3F
推
06/03 09:35, , 4F
06/03 09:35, 4F