(Usage hints for this presentation)
IT Systems, Summer Term 2024
Dr. Jens Lechtenbörger (License Information)
Previous slide left open which application continues after I/O system call
OS provides blocking and non-blocking system calls
Blocking system call
Starvation = continued denial/lack of resource
Starvation revisited in later presentations on scheduling and challenges for mutual exclusion
Hybrid scheme
Use interrupts under low load
Switch to polling under high load
See (Cai and Karsten 2023) for performance improvement proposed in 2023
(Source for numbers: (Yang, Minturn, and Hady 2012))
(Barroso et al. 2017): Attack of the Killer Microseconds
Nanosecond latency (DRAM access when data not in CPU cache) is hidden by CPU hardware
Millisecond latency (disk I/O) is hidden by OS
What about microseconds of new generation of fast I/O devices?
Source files are available on GitLab (check out embedded submodules) under free licenses. Icons of custom controls are by @fontawesome, released under CC BY 4.0.
Except where otherwise noted, the work “Interrupts and I/O II”, © 2017-2025 Jens Lechtenbörger, is published under the Creative Commons license CC BY-SA 4.0.