Lab6.2-IO
Lab6.2-IO
Làm trên giấy; chụp hình nộp lên form; ghi rõ thông tin cá nhân
trên mỗi trang.
4 disks -> each disk can read a sector at a time, total memory can read at a time = 4
* 512 (size of sector) = 2KB.
To read 32KB in 4 disks, need to read 8k in each disk 8k = 8 * 1024 / 512 = 16
sectors
And all disks read at the same time -> answer is same as b
5. What is the average time to read or write a 512-byte sector for a typical disk rotating at
7200 RPM? The advertised average seek time is 8ms, the transfer rate is 20MB/sec, and the
controller overhead is 2ms. Assume that the disk is idle so that there is no waiting time. Disk
Access Time = seek time + rotational delay + transfer time + controller overhead
7. How much cylinder skew is needed for a 7200-rpm disk with a track-to-track seek time of
1 msec? The disk has 200 sectors of 512 bytes each on each track.
8. Disk requests come in to the disk driver for cylinders 10, 22, 20, 2, 40, 6, and 38, in that
order. A seek takes 6 msec per cylinder moved. How much seek time is needed for
1. (a) First-Come, first served.
2. (b) Closest cylinder next.
3. (c) Elevator algorithm (initially moving upward).