• ↑↓ pour naviguer
  • pour ouvrir
  • pour sélectionner
  • ⌘ ⌥ ↵ pour ouvrir dans un panneau
  • ←→ pour naviguer
  • esc pour rejeter
⌘ '
raccourcis clavier

The Problem

When multiple I/O requests arrive for disk access, we need a simple, fair way to decide the order of servicing them.

Core Idea

FCFS (First Come First Serve) processes disk I/O requests in the exact order they arrive, like a queue at a store.

How It Works

  1. Request queue maintains arrival order
  2. Disk arm services requests in FIFO order
  3. No reordering or optimization
fcfs Queue Request Queue [100, 50, 150, 30] Order Service Order 100 → 50 → 150 → 30 Queue->Order Disk Disk Arm follows order Order->Disk

Key Properties

  • Simplest disk scheduling algorithm
  • Fair (no starvation)
  • Can be very inefficient (long seek times)
  • Example: queue [100, 50, 150, 30] → services in that order

Connections

Edge Cases & Gotchas

  • Can cause wild swings across disk (poor performance)
  • No consideration of seek distance
  • Simple but often impractical for real systems