Anonymous user menu

Explain in detail

Explain in detail 

1Comment
jayendra @jayendra
17 Dec 2014 09:01 pm

a) initially the head is at track 25 and moving upwards.

therefore as per elevator algorithm it will go upto the last requested track and then come back.

25->45 and then 45->5

total seeks=(45-25)+(45-5)=20+40=60

total seek time=60*0.2ms=12ms

b)

in worst case the last track can be requested

so seeks=100-0=100

seek time= 100*0.2ms =20ms