Introduction
Imagine a disk drive receiving many requests to read or write data. The challenge is deciding the order to handle these requests to keep the disk working efficiently and reduce waiting time.
Imagine a librarian who helps people in the exact order they arrive, regardless of where the books they want are located in the library. Sometimes the librarian has to walk back and forth a lot, which takes extra time.
┌───────────────┐
│ Disk Requests │
└──────┬────────┘
│ Arrive in order
↓
┌───────────────────────────┐
│ FCFS Scheduler │
│ Processes requests in │
│ arrival order │
└──────┬────────────────────┘
│ Moves disk head to each request
↓
┌───────────────────────────┐
│ Disk Head Movement │
│ May move long distances │
│ without optimization │
└───────────────────────────┘