Login Required

This note requires login to view the full content (144 lines total). Showing first 20 lines as preview. Please login to view the full content.

Login to unlock

Chapter 5: Process Scheduling

Created: 2025-12-16
Updated: 2025-12-16

Basic Concepts

  • Multiprogramming
    • multiple processes in memory simultaneously
    • one waits for IO, another uses the CPU -> ↑ CPU utilization, ↑ system throughput
  • CPU-I/O Burst Cycle
    • the life of a process isn't continuous computation, but alternates between:
    • CPU bursts: short periods of CPU activity
    • IO bursts: longer periods of waiting for IO operations
  • Process Type:
    • CPU-bound processes: very few, very long CPU bursts
    • IO-bound processes: many very short CPU bursts
  • Histogram of CPU-Burst Times: the majority of CPU bursts are very short, only a few long ones

The Scheduler and Preemption

CPU Scheduler

Login to unlock full content

Login Now