Homework 5 (Files)

 

1.    Assume a rather old disk drive is configured as follows.  The total storage is approximately 675MB divided among 15 surfaces.  Each surface has 612 tracks; there are 144 sectors/track, 512 bytes/sector, and 16 sectors/cluster.  The interleaving factor is 4.  The disk turns at 3600 rpm.  the track-to-track seek time is 20 ms.  The average seek time is 80 ms.  Given a 360 KB file on the disk, and assuming the first track of the file is randomly placed on the disk, the file is on adjacent tracks, there is a seek for each new track accessed and the file fills each track before using another track, determine the average time it will take to read the entire file.

2.    Using the same disk, calculate the time to read an entire track, just one sector and just one byte.

3.    Using the same disk, what is the average access time to read the entire file if the clusters are randomly scattered over the disk.