Re: [問題] 89NCCU-CS 磁碟存取時間與空間計算

看板TransCSI作者 (David)時間17年前 (2007/05/20 10:07), 編輯推噓2(203)
留言5則, 2人參與, 最新討論串3/3 (看更多)
※ 引述《just1016 (誰陪我玩五子棋?)》之銘言: : ※ 引述《aweila75 (David)》之銘言: : : 2.A multiplattered hard disk is divided into 40 sectors and 400 cylinders. : : There are four platter surfaces. The total capacity of the disk is 128MB. : : A cluster consists of 4 sectors. The disk is rotating at a rate of 5400rpm. : : The disk has an average seek time of 12 msec. : : (a) what is the capacity of a cluster for this disk? : : (b) what is the average access time before starting data transfer? : : (c) what is the maximal disk transfer rate in bytes per second? : : 想了很久,算不出來XD,高手請幫忙,感謝您。 : (a)4*400*40 = 64000 sectors : 一sector的capacity:128MB / 64000 = 2000 bytes : 一cluster的capacity:2000*4 = 8000 bytes : (b)(60*1000ms)/ 5400 = 11.11ms : 11.11ms / 2=5.55ms : 12ms+5.55ms = 17.55ms : (c)迴轉一圈所須時間:(60*1000ms)/ 5400 = 11.11ms = 0.01111second : 資料量:2000 bytes*40 = 80000 bytes ^^^^^^^^^^^^^^^ 為什麼資料量要用sector*40 ,又為什麼資料量是這樣算來的? 看不太懂,麻煩高手解釋一下,謝謝。 : maximal disk transfer rate: : 80000 / 0.01111 = 7200720 bytes/second -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.162.129.136

05/20 10:08, , 1F
sector/份=2000bytes 一圈的sector=40份
05/20 10:08, 1F

05/20 10:10, , 2F
此外,為什麼資料量/旋轉一圈時間就是資料傳輸時間阿?
05/20 10:10, 2F

05/20 10:15, , 3F
相當於這些 資料量 在 一圈時間內 傳出去的速率
05/20 10:15, 3F

05/20 10:21, , 4F
就好像瞬時速度 v =(m)/(sec)
05/20 10:21, 4F

05/23 08:40, , 5F
了解,謝謝你的講解
05/23 08:40, 5F
文章代碼(AID): #16JwrXrO (TransCSI)
文章代碼(AID): #16JwrXrO (TransCSI)