Tutorial6

Tutorial6 - s of 10 ms and average rotational delay(T r of 5 ms The two disks differ in the organization of their tracks Each track of disk 1

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Tutorial VI Question 1 (1999/00 Examination) Given a disk with 200 tracks (0-199). Suppose it takes 1 time unit to cross a track, and servicing a request (rotational latency + read/write) takes 2 time units. At time 0, the head is at the outermost track (0). Compute the average waiting time for the following three requests using the SCAN algorithm. Request time Requested track 0 15 12 150 130 100 Question 2 (2007/08 Assignment) Two identical files, f 1 and f 2, of 100KiB each are stored on two different disks. The file blocks are spread randomly over the disk sectors. Both disks have an average seek time (T
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: s ) of 10 ms and average rotational delay (T r ) of 5 ms. The two disks differ in the organization of their tracks. Each track of disk 1 consists of 32 sectors of 1 KiB each, and each track of disk 2 consists of eight sectors of 4 KiB each. Assume the transfer delay can be modeled as ± ² ³ ´ µ ± ¶ µ · ¸ , where b is the number of bytes to be transferred and N is the number of bytes on a track. How long will it take to sequentially read the two files?...
View Full Document

This note was uploaded on 12/01/2010 for the course CS 2342 taught by Professor Dr during the Spring '10 term at HKU.

Ask a homework question - tutors are online