Question

In: Computer Science

Consider a hard disk with the following specifications: 3.5in diameter 3600RPM 20 platters, and 2 surfaces...

Consider a hard disk with the following specifications:

  • 3.5in diameter
  • 3600RPM
  • 20 platters, and 2 surfaces per platter
  • Capacity: 40GB
  • Number of cylinders: 1024
  • 1 block = 4KB
  • 20% overhead between blocks (gaps)
  • Average seek time: 10ms.

Compute the following:

  1. the average time to access a block?
  2. the average time to read 4 adjacent blocks?
  3. the average time to read one track, starting at a specified location?

Which of the following is true about the above computation?

A. The average time to read a track is approximately 35ms

B. The average time to read a track is approximately 25ms

C. The average time to read a track is approximately 26.7ms [ I already no this is not the correct answer. This was answer was marked wrong on my assignment.]

D. The average time to read a track is approximately 45ms

Solutions

Expert Solution

A disk consists of platters. Both side of a platter can contain memory. A platter is divided into tracks. Tracks are concentric circles. A particular track of all the platters in the disk forms a cylinder. So, number of cylinders in a disk gives the number of tracks in a platter. Tracks are divided into sectors. A block consists of one or more sectors. Blocks are the fundamental unit of memory transfer operation of a disk. Means memories are read or written in the disk in multiple of blocks.

We have the below information about the disk-

Diameter = 3.5 inch

Rotation rate = 3600 Rotations Per Minute

Platters = 20, and 2 surfaces per platter

Capacity = 40 GB

Number of cylinders = 1024

1 block = 4 KB

Now we calculate how much memory a single track contains. Let it be N KB.

N KB/track * 1024 tracks/platter * 20 platters/disk * 2 sides/platter = total memory = 40 GB

So, N = (40 * 1024 * 1024)/(1024*20*2) = 102.4

So, one track contains 102.4 KB memory.

Average time to access a block?

Average time to access a block = Average seek time + Average rotational delay

Average seek time is the time to place the read/write head to the desired track. This is given to be 10 ms.

Average rotational delay is the time required for the rotation after which the read/write head will point to the start of the desired block.

This Average rotational delay is taken to be the half of time taken for a full rotation.

For 3600 rotations the disk takes (1*60*1000) ms

For 1 rotation the disk takes (1*60*1000)/360 ms = 16.67 ms

So, Average rotational delay = 16.67/2 ms = 8.33 ms.

Putting these values in the formula we get

Average time to access a block = 10 ms + 8.33 ms = 18.33 ms. (Answer)

Average time to read four adjacent blocks?

Average time to read four adjacent blocks = Average seek time + Average rotational delay + Time required to read the blocks.

The four blocks are separated by 3 overhead gaps which is 20 % of the blocks. Each block is of 4 KB

Total amount of memory required to read four blocks = (4*4) KB + (3 * 4 * 20/100) KB = 18.4 KB

To read a complete track (102.4 KB) it requires one full rotation = 16.67 ms

To read 18.4 KB time required = (16.67 *18.4)/102.4 ms = 2.99 ms

Average time to read four adjacent blocks = (10 + 8.33 + 2.99) ms = 21.32 ms. (Answer)

The average time to read one full track?

Average time to read a full track = Average seek time + Average rotational delay + Time required to read a full track.

Time required to read a full track is equal to time required for one full rotation.

Average time to read a full track = (10 + 8.33 + 16.67) ms = 35 ms. (Answer)

Option A is the correct answer. You forgot to add the average rotational delay in your answer. That’s the reason your answer came option C.

For any further doubts let me know through comments. Please upvote if the discussion solved your query.


Related Solutions

2. Consider a thin disk composed of two homogenous halves connected along a diameter of the...
2. Consider a thin disk composed of two homogenous halves connected along a diameter of the disk. One half has the density ρ and the other has density 2ρ. a) Find the position of the center-of-mass of the disk. b) Consider an axis which is perpendicular to the plane of the disk and goes through the geometric center of the disk. Calculate the moment of inertia of the disk with respect to this axis. c) Find the moment of inertia...
A company manufactures computers, whose hard disk has a capacity of 20 GB and others of...
A company manufactures computers, whose hard disk has a capacity of 20 GB and others of 30 GB. In the previous month, 35% of the computers sold were those with a 20 GB hard drive. Of buyers of computers with a 20 GB hard drive, 45% buy those with 356 MB of RAM, while 30% of buyers of computers with a 30 GB hard drive also do so. (a) What is the probability that a randomly selected computer will have...
A 8.0-cm-diameter disk emits light uniformly from its surface. 20 cm from this disk, along its...
A 8.0-cm-diameter disk emits light uniformly from its surface. 20 cm from this disk, along its axis, is an 9.0-cm-diameter opaque black disk; the faces of the two disks are parallel. 20 cm beyond the black disk is a white viewing screen. The lighted disk illuminates the screen, but there�s a shadow in the center due to the black disk. What is the diameter of the completely dark part of this shadow?
For a mass storage device e.g. a hard disk or solid state disk give an example...
For a mass storage device e.g. a hard disk or solid state disk give an example of data processing when: sustained rate was used burst rate was "triggered"
What is a traditional Hard Disk Drive (HDD) composed?
What is a traditional Hard Disk Drive (HDD) composed?
2.Consider a video file with the following specifications: • Width: 1920 • Height: 1080 • Frame...
2.Consider a video file with the following specifications: • Width: 1920 • Height: 1080 • Frame rate: 60 fps • Length: 2 hr 20 mins • Each frame is stored in 36-bit RGB a) What is the video bit rate per second? b) What is the size of the video file in GB (GigaBytes)? 3. If audio is added to the above video with the following specifications: • Sample rate of 44.1 kHz • Sampling depth: 16 bits • Dolby...
Consider the surfaces x^2 + y^2 + z^2 = 1 and (z +√2)2 = x^2 +...
Consider the surfaces x^2 + y^2 + z^2 = 1 and (z +√2)2 = x^2 + y^2, and let (x0, y0, z0) be a point in their intersection. Show that the surfaces are tangent at this point, that is, show that the have a common tangent plane at (x0, y0, z0).
1. What is a given= 0.215 [ms^-2] and diameter of disk with uniform mass distribution= 19.5...
1. What is a given= 0.215 [ms^-2] and diameter of disk with uniform mass distribution= 19.5 [cm]. theta= ? 2. Using information found in previous question, if the dropping mass is 195 [g], then what is T? T= ? [Nm]
A user continually gets the following warning message that his hard disk space is low: ``You...
A user continually gets the following warning message that his hard disk space is low: ``You are running out of disk space on drive C:``. He says he knows his disk space is low, but he doesn`t have time to deal with the problem. He would like to know if there is a way to disable the message. Can this warning be disabled? Is so, how? Is it advisable to do so? Write an email response to the user with...
Consider a hard disk drive that has 5 double-sided platters, each surface has 1000 tracks, each...
Consider a hard disk drive that has 5 double-sided platters, each surface has 1000 tracks, each track has 256 sectors of size 512 bytes. Each block (disk page) comprises of 8 sectors. The seek time between adjacent tracks in 1ms and the average seek time between two random tracks is 25ms. The disk rotates at a speed of 7200 rpm (revolutions per minute). Let’s say, we have a file of size 1 MB and it contains 2048 equal-sized records. 1....
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT