作者just1016 (谁陪我玩五子棋?)
看板TransCSI
标题Re: [问题] 89NCCU-CS 磁碟存取时间与空间计算
时间Sun Apr 22 13:28:37 2007
※ 引述《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
maximal disk transfer rate:
80000 / 0.01111 = 7200720 bytes/second
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 122.127.53.72
※ 编辑: just1016 来自: 122.127.53.72 (04/22 22:55)