Explain Disk Scheduling algorithms like SCAN and C-LOOK. How do they reduce seek time compared to FCFS?
Last updated
FCFS serves requests in arrival order, so the disk head zig-zags across the platter and total seek distance is large.
SCAN (elevator) sweeps in one direction to the disk end servicing requests, then reverses. C-LOOK only travels to the last request, then jumps back to the lowest one without servicing on the return, giving more uniform waits.
Both sort requests by physical position along the head's path, sharply cutting seek time and raising throughput under load.
- https://www.reddit.com/r/cscareeradvice/new/
- https://www.reddit.com/r/macbook/comments/1jg7fl6/24gb_ram_enough_for_software_engineering/
- https://www.reddit.com/r/infosys/comments/1t71add/anyone_received_round_2_mails/
- https://www.reddit.com/r/cscareeradvice/best/
- https://www.reddit.com/r/LeetcodeChallenge/
- https://www.reddit.com/r/infosys/comments/1t71i55/infosys_specialist_programmer_april_26_1st_round/
- https://www.reddit.com/r/programming/comments/1hqo19u/static_search_trees_40x_faster_than_binary_search/