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 │
└───────────────────────────┘[55, 58, 60, 70, 18] and the disk head starting at track 50, what is the total head movement using FCFS scheduling?[120, 10, 50, 90]. Using FCFS scheduling, what is the total head movement? How does this compare to SSTF (Shortest Seek Time First) scheduling for the same requests?Pass the test and this pattern moves unknown