Question: 1 . Given a disk with 1 2 0 tracks with the read / write head originally positioned at track 5 , compute the total
Given a disk with tracks with the readwrite head originally positioned at track compute the total and average track traversals to satisfy the following requests using FCFS SSTF SCAN and CSCAN.
Draw the corresponding diagram showing the movement of the readwrite head in each case.
Using FCFSor FIFO Policy as listed in the notes to compute the total and average track traversals, the disk readwrite head goes from number to number as in the above stated sequence handling each request as it goes along.
From to : tracks traversed
From to : tracks traversed
From to : tracks traversed
From to : tracks traversed
Totaling: tracks
tracks traversed for the average request
Using SSTF to compute the total and average track traversals, the disk readwrite head goes the shortest seek time from its position. The queue is reordered as a result.
reordered queue
Using SCAN Policy to compute the total and average track traversals, the readwrite head is moves towards the highest numbered track, picking up requests as it goes along. It then scans the other direction towards the lowest numbered track, again picking up requests as it proceeds.
reordered queue
Using CSCAN Policy to compute the total and average track traversals, the readwrite head is moves in one direction only processing requests as it goes along. It then goes back to the beginning and restarts when the end is reached
reordered queue
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
