mohayon2020
31.03.2020 •
Computers and Technology
The outstanding disk requests are for tracks 6,10,4,20,36,8, and 40 in that order. Assume that the seek time speed is 5 msec/track, there are 50 cylinders total, and presently the read-write head is at track 15 and moving up towards 50. Calculate the seek time for each of the following scheduling methods.
a. FCFS
b. SSTF
c. C-LOOK
Solved
Show answers
More tips
- H Health and Medicine Simple Ways to Lower Cholesterol in the Blood: Tips and Tricks...
- O Other How to Choose the Best Answer to Your Question on The Grand Question ?...
- L Leisure and Entertainment History of International Women s Day: When Did the Celebration of March 8th Begin?...
- S Style and Beauty Intimate Haircut: The Reasons, Popularity, and Risks...
- A Art and Culture When Will Eurovision 2011 Take Place?...
- S Style and Beauty How to Choose the Perfect Hair Straightener?...
- F Family and Home Why Having Pets at Home is Good for Your Health...
- H Health and Medicine How to perform artificial respiration?...
- H Health and Medicine 10 Tips for Avoiding Vitamin Deficiency...
- F Food and Cooking How to Properly Cook Buckwheat?...
Answers on questions: Computers and Technology
- S Social Studies When 13-year-old ted comes out of the locker room in his gym shorts, he hears some girls laughing nearby and assumes they are laughing at the way his legs look. according to elkind,...
- H History The renaissance was a rebrirth of scientology classics and ideas from what region...
- C Chemistry What is the total pressure in a balloon filled with air if the pressure of the oxygen is 170 mm Hg and the pressure of nitrogen is 620 mm Hg? help pleasePT = PA + PB + PCI need...
Ответ:
a. FCFS
seek: 9+4+6+16+16+28+32 = 111 cylinders, 555 ms
b. SSTF
seek: 5+16+4+30+2+2+2 = 61 cylinders, 305 ms
c. C-LOOK
seek: 5+16+4+30+2+2+2 = 61 cylinders, 305 ms
Explanation:
a. FCFS: requests are served in the order they are received. It is used when load is low and has long waiting time for long requests queues.
order: (15), 6, 10, 4, 20, 36, 8, 40
seek: 9+4+6+16+16+28+32 = 111 cylinders, 555 ms
b. SSTF: requests are served using shortest seek time first. It minimizes arm movement, and maximizes request rate
order: (15), 20, 36, 40, 10, 8, 6, 4 15 10 8 6 4 40 36 20
seek: 5+16+4+30+2+2+2 = 61 cylinders, 305 ms
c. C-LOOK: requests are served in one direction until when done then reverses. It does not go to end of disk.
Assume maximum track is 50 then reverses
order: (15), 20, 36, 40, (50), 10, 8, 6, 4
seek: 5+16+4+30+2+2+2 = 61 cylinders, 305 ms
Ответ: