5,013 views
0 votes
0 votes
Consider the following track requests in the disk queue:

95, 180, 34, 119, 11, 123, 62, 64

The C-scan scheduling algorithm is used and the read/write head is positioned at location 50. If tracks are numbered from 0 to 199 and head moving toward  smaller track number on its servicing pass, then total seek time needed with 2 msec time to move from one track to another while servicing these requests is  ________ msec. [Assume moving from one end to another end will take 10 msec]

2 Answers

0 votes
0 votes

in the question they given that, " head moving toward  smaller track number on its servicing pass "

current head is 50 ==> move 34 then 11 then 0 ---> circular ---> at 199 with cost (50+10 = 60) ---> come up to 62 ( 199-62 = 137)

total movements = 60+137 = 197

total seek time = 197 * 2 msec = 394ms

Related questions

0 votes
0 votes
1 answer
2
aritrik7849 asked Nov 24, 2023
705 views
Find seek time using FCFS,SSTF, SCAN.C-SCAN, LOOK for the following string98, 183, 37, 122, 14, 124, 65, 67Assume that request queue (0-199).and Head pointer 53
3 votes
3 votes
1 answer
4
Ashwani Kumar 2 asked Nov 16, 2017
3,778 views
No. of seek distances with C-SCAN and C-LOOK?