Chapter 11: I/O Systems: Al-Mansour University College Software Engineering and Information Technology Department
Chapter 11: I/O Systems: Al-Mansour University College Software Engineering and Information Technology Department
week11
CHAPTER 11: I/O SYSTEMS
No Content
1 Overview
2 I/O Hardware
6 STREAMS
7 Performance
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
Bypasses CPU to transfer data directly between I/O device and memory
Each OS has its own I/O subsystem structures and device driver
frameworks
Devices vary in many dimensions
Character-stream or block
Sequential or random-access
Synchronous or asynchronous (or both)
Sharable or dedicated
Speed of operation
read-write, read only, or write only
A KERNEL I/O STRUCTURE
CHARACTERISTICS OF I/O DEVICES
CHARACTERISTICS OF I/O DEVICES
(CONT.)
Subtleties of devices handled by device drivers
Broadly I/O devices can be grouped by the OS into
Block I/O
Character I/O (Stream)
Memory-mapped file access
Network sockets
ioctl() (on UNIX) covers odd aspects of I/O such as clocks and
timers
NONBLOCKING AND ASYNCHRONOUS I/O
Blocking - process suspended until I/O completed
Easy to use and understand
Insufficient for some needs
Synchronous Asynchronous
VECTORED I/O