• ↑↓ to navigate
  • ↵ to open
  • ⟶ to select
  • ⌘ ⌥ ↵ to open in a panel
  • ←→ to navigate
  • esc to dismiss
⌘ '
keyboard shortcuts

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

Semantic Network

semantic_FCFS THIS Fcfs REL1 Related Concept THIS--REL1 related REL2 Builds Into THIS--REL2 builds into

Connections

Edge Cases & Gotchas

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