0% found this document useful (0 votes)
286 views1 page

CAO Quiz Solution 2

The document contains solutions to two questions about disk drive specifications and calculations. For the first question, the disk has a capacity of 256 MB with 8 surfaces, 512 tracks per surface, 64 sectors per track, and 1kB sector size. The average access time is estimated to be 17.8 ms based on seek time, rotational delay, and track-to-track time. Transferring a 5 MB file would require accessing 80 tracks and 5120 sectors across 10 cylinders. The second question involves a single-platter disk with 30,000 tracks, 600 sectors per track, 7200 rpm rotation, and a seek time formula. The average seek time is estimated to be 149.995 ms and the average rotational

Uploaded by

Arsalan Shah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
286 views1 page

CAO Quiz Solution 2

The document contains solutions to two questions about disk drive specifications and calculations. For the first question, the disk has a capacity of 256 MB with 8 surfaces, 512 tracks per surface, 64 sectors per track, and 1kB sector size. The average access time is estimated to be 17.8 ms based on seek time, rotational delay, and track-to-track time. Transferring a 5 MB file would require accessing 80 tracks and 5120 sectors across 10 cylinders. The second question involves a single-platter disk with 30,000 tracks, 600 sectors per track, 7200 rpm rotation, and a seek time formula. The average seek time is estimated to be 149.995 ms and the average rotational

Uploaded by

Arsalan Shah
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Q1 Solution:

Consider a magnetic disk drive with 8 surfaces, 512 tracks per surface, and 64 sectors per track.
Sector size is 1kB. The average seek time is 8 ms, the track-to-track access time is 1.5 ms, and the
drive rotates at 3600 rpm. Successive tracks in a cylinder can be read without head movement.

a. What is the disk capacity?


1024bytes / sector.
64 sectors per track,
512 tracks per surface,
8 surfaces.
65536 bytes / track.
512 * 65536 = 33554432 bytes per surface (32 mB per surface).
33554432 bytes * 8 = 268435456 bytes / 1024 / 1024 = 256 mB.
The disk can hold 256 megabytes.

b. What is the average access time?


Assume this file is stored in successive sectors and tracks of successive cylinders, starting at
sector 0, track 0, of cylinder i.
Seek time + rotational delay + track to track.
8ms + 8.3 + 1.5ms = 17.8ms

c. Estimate the time required to transfer a 5-MB file.


5MB = 5242880 bytes. 5242880 / 65536 = 80 tracks.
80 * 64 = 5120 sectors.
So 80 tracks, 5120 sectors, 10 cylinders (80 tracks / 8 surfaces).

Q2: Solution:
Consider a single-platter disk with the following parameters:
rotation speed: 7200 rpm;
number of tracks on one side of platter: 30,000;
number of sectors per track: 600;
seek time: 1ms for every 100 tracks traversed.
Let the disk receive a request to access a random sector on a random track and assume the disk
head starts at track 0.

a. What is the average seek time?


100 tracks = 1ms seek time
(Total tracks – 1) / 100 * 1ms= (30,000 – 1) / 100 * 1ms = 29,999 / 100 * 1ms = 299.99 ms
The average number of tracks to traverse on random * seek time = 299.99 / 2 * 1ms
= 149.995 ms

b. What is the average rotational latency?


7200 rpm = 120 rotation per sec
Rotational Latency = 1 / (2r) = 4.16 ms

You might also like