Know what the SCAN Disk Dispatch Algorithm (Elevator) says: -
, , , . , , .
, 20. , SCAN, , .
: -
| |
| * current position | * move back up to upside
|---> nearest disk is this one |
| so it'll move down and so on. |
| as it hit the bottom _______
____
Fig :- Demonstration of SCAN algorithm
, , [(20) 20 22 38 40 10 6 2];
: -
SCAN CSCAN , CSCAN
. , , SCAN, , .
CSCAN , .
, , [(20) 20 22 38 40 2 6 10]; .
, . .