Operating System Concepts – 9th Edition
Silberschatz, Galvin and Gagne ©2013
Chapter 13: I/O Systems
Overview
I/O Hardware
Application I/O Interface
Kernel I/O Subsystem
Transforming I/O Requests to Hardware Operations
STREAMS
Performance
Operating System Concepts – 9th Edition
13.2
Silberschatz, Galvin and Gagne ©2013
Objectives
Explore the structure of an operating system’s I/O subsystem
Discuss the principles of I/O hardware and its complexity
Provide details of the performance aspects of I/O hardware and software
Operating System Concepts – 9th Edition
13.3
Silberschatz, Galvin and Gagne ©2013
Overview
I/O management is a major component of operating system design and operation
Important aspect of computer operation
I/O devices vary greatly
Various methods to control them
Performance management
New types of devices frequent
Ports, busses, device controllers connect to various devices
Device drivers encapsulate device details
Present uniform device-access interface to I/O subsystem
Operating System Concepts – 9th Edition
13.4
Silberschatz, Galvin and Gagne ©2013
I/O Hardware
Incredible variety of I/O devices
Storage
Transmission
Human-interface
Common concepts – signals from I/O devices interface with computer
Port – connection point for device
Bus - daisy chain or shared direct access
PCI bus common in PCs and servers, PCI Express (PCIe)
expansion bus connects relatively slow devices
Controller (host adapter) – electronics that operate port, bus, device
Sometimes integrated
Sometimes separate circuit board (host adapter)
Contains processor, microcode, private memory, bus controller, etc
–
Some talk to per-device controller with bus controller, microcode, memory, etc
Operating System Concepts – 9th