Chapter 1 (Lecture 5) Operating System by Ihap El-Galaly
Chapter 1 (Lecture 5) Operating System by Ihap El-Galaly
I/O Subsystem
One purpose of OS is to hide peculiarities of hardware devices from
the user.
I/O subsystem responsible for:
•Memory management of I/O including buffering (storing data
temporarily while it is being transferred), caching (storing parts of data
in faster storage for performance), spooling (the overlapping of output of
one job with input of other jobs).
Two methods for handling I/O:
Synchronous: After I/O starts, control returns to user program only upon
I/O completion:
Asynchronous :After I/O starts, control returns to user program without
waiting for I/O completion: