Question

In: Computer Science

Consider a single-platter disk with the following parameters: rotation speed: 7200 rpm; number of tracks on...

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: one ms for every hundred 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?
b. What is the average rotational latency?
c. What is the transfer time for a sector?
d. What is the total average time to satisfy a request?

Solutions

Expert Solution

a.

The seek time for every 100 tracks traversed = 1 ms

Number of tracks traversed in going from the track 1 to track 30,000 = 29,999

Seek time for 29,999 tracks traversed is

Average seek time is generally taken to be half of time taken to traverse from the first track to the last track

So, average seek time is,

b.

Time to complete 7200 rotations = 1 min = 60 sec

Time to complete 1 rotation is

Average rotational latency is half of the time to complete 1 rotation

c.

In a full rotation an entire track can be transferred. Also it is given that there are 600 sectors per track

Time to transfer an entire track is the same as time to complete a single rotation

Time to transfer 600 sectors = 8.33 ms

Time to transfer 1 sector is

d.

Total average time to satisfy a request = Average seek time + Average rotational latency + Transfer time of a sector

We have already calculated those values in the previous questions

Total average time to satisfy a request = 149.99 ms + 4.165 ms +0.01388 ms = 154.168 ms


Related Solutions

Suppose the following disk request sequence (track numbers) for a disk with 200 tracks is given:...
Suppose the following disk request sequence (track numbers) for a disk with 200 tracks is given: 23, 89, 132, 42, 97, 35, 187 Assume that the initial position of the R/W head is on track 100. Draw the diagrams for arm movement for the seek strategies given below. Calculate the total and average number of tracks travelled and conclude which strategy performed best in the given scenario. Note: You can use pencil and paper method to draw, but you have...
Suppose the following disk request sequence (track numbers) for a disk with 200 tracks is given:...
Suppose the following disk request sequence (track numbers) for a disk with 200 tracks is given: 23, 89, 132, 42, 97, 35, 187 Assume that the initial position of the R/W head is on track 100. Draw the diagrams for arm movement for the seek strategies given below. Calculate the total and average number of tracks travelled and conclude which strategy performed best in the given scenario. Note: You can use pencil and paper method to draw, but you have...
Consider the following table summarizing the speed limit of a certain road and the number of...
Consider the following table summarizing the speed limit of a certain road and the number of accidents occurring on that road in January. Posted Speed Limit 52 50 43 36 21 22. Reported Number of Accidents 27 26 23 18 18 11. 1) Find the slope of the regression line predicting the number of accidents from the posted speed limit.Round to 3 decimal places. 2) Find the intercept of the regression line predicting the number of accidents from the posted...
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....
#1) Consider the following table summarizing the speed limit of a certain road and the number...
#1) Consider the following table summarizing the speed limit of a certain road and the number of accidents occurring on that road in January Posted Speed Limit 51 48 43 35 22 20 Reported Number of Accidents 25 29 25 17 19 14 a) Find the slope of the regression line predicting the number of accidents from the posted speed limit. Round to 3 decimal places. b) Find the intercept of the regression line predicting the number of accidents from...
2) Consider a frictionless horizontal air hockey table. A red disk of mass M and speed...
2) Consider a frictionless horizontal air hockey table. A red disk of mass M and speed 4V travels in the +y direction. It collides elastically with a blue disk at rest. After the collision, the red disk is moving in the -x direction at speed 3V. Find the mass of the blue disk as a function of M.
Consider a linear congruential random number generator with parameters a = 3, m = 16, and...
Consider a linear congruential random number generator with parameters a = 3, m = 16, and c=0. Select the seed X0 = 3, and generate 3 random variables using this generator. What is the period of this generator?
Study and consider the following Python code, which tracks the movement of a balloon given the...
Study and consider the following Python code, which tracks the movement of a balloon given the wind direction and distance # Establish Balloon Behavior(Parts, Direction, Distance) n = int(input('Input number of parts: ')) northDistance = 0 eastDistance = 0 balloonOutput = [] for i in range(0, n):     outputLine = []     print('Part %d- ' % (i + 1), end='')     direction = input('What direction is the balloon heading? type N, E, S or W ')     direction = direction.upper()     while len(direction) != 1...
Study and consider the following Python code, which tracks the movement of a balloon given the...
Study and consider the following Python code, which tracks the movement of a balloon given the wind direction and distance # Establish Balloon Behavior(Parts, Direction, Distance) n = int(input('Input number of parts: ')) northDistance = 0 eastDistance = 0 balloonOutput = [] for i in range(0, n):     outputLine = []     print('Part %d- ' % (i + 1), end='')     direction = input('What direction is the balloon heading? type N, E, S or W ')     direction = direction.upper()     while len(direction) != 1...
There are two assets following single-factor model, Asset 1 and Asset 2. Their model parameters are...
There are two assets following single-factor model, Asset 1 and Asset 2. Their model parameters are given as follow, Asset αi βi 1 0.10 1.5 2 0.08 0.5 Assume E[f]=e1=e2=0. a) Construct a zero-beta portfolio from these two risky assets. b) Find the factor risk premium λ using the principle of no-arbitrage. c) What is the meaning of factor risk premium in single-factor models?
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT