ReviewEssays.com - Term Papers, Book Reports, Research Papers and College Essays
Search

Passage to India

Essay by   •  October 29, 2010  •  Essay  •  633 Words (3 Pages)  •  1,585 Views

Essay Preview: Passage to India

Report this essay
Page 1 of 3

From Elementary physics, we know that, when an object is subjected to a constant acceleration a, the relationship between distance d and time t is given by d = Ð...at2. Suppose that, during a seek, the disk in Exercise 13.2 accelerates the disk arm at a constant rate for the first half of the seek, then decelerates the disk arm at the seek rate for the second half of the seek. Assume that the disk can perform a seek the an adjacent cylinder in 1 millisecond, and a fill-stoke seek over all 5000 cylinders in 18 milliseconds.

a. The distance of a seek is the number of cylinders that the head moves. Explain why the

seek time is proportional to the square root of the seek distance.

The head accelerates and decelerates and the same constant for equal amounts of time.

Therefore we can rewrite the equations d = Ð... t2, or ((d*2)1/2) = t.

b. Write and equation for time as a function of distance. ((d*2)1/2) = t.

c. Calculate the total seek time for each of the schedules in Exercise 13.2. Determine

which schedule is the fastest (has the smallest total seek time).

86, 1470, 913, 1774, 948, 1509, 1022, 1750, 130

a.) FCFS = 327.8

b.) SSTF = 137.2

c.) SCAN = 148.6 - SCAN goes to zero which adds time

d.) LOOK = 137.2 - These are the same because the

e.) C-SCAN = 137.2 - starting point is the left most value

d. The percentage speedup is the time saved divided by the original time. What is the

percentage speedup of the fastest schedule over FCFS?

327.8-137.2 = 190.6

190.6/327.8 = .58 or 58%

...

...

Download as:   txt (2.9 Kb)   pdf (65.9 Kb)   docx (10.1 Kb)  
Continue for 2 more pages »
Only available on ReviewEssays.com
Citation Generator

(2010, 10). Passage to India. ReviewEssays.com. Retrieved 10, 2010, from https://www.reviewessays.com/essay/Passage-to-India/5488.html

"Passage to India" ReviewEssays.com. 10 2010. 2010. 10 2010 <https://www.reviewessays.com/essay/Passage-to-India/5488.html>.

"Passage to India." ReviewEssays.com. ReviewEssays.com, 10 2010. Web. 10 2010. <https://www.reviewessays.com/essay/Passage-to-India/5488.html>.

"Passage to India." ReviewEssays.com. 10, 2010. Accessed 10, 2010. https://www.reviewessays.com/essay/Passage-to-India/5488.html.