Operating Systems (George Mason University)
Studocu is not sponsored or endorsed by any college or university
Downloaded by Morris Muthii
, Lecture 5 (Input Output Devices Manager)
Reason for Input/ Output (I/O)
- Normally the primary purpose of a computer
o Most applications don’t do much processing.
▪ Presentation program (like PowerPoint)
▪ Word Processing program (like Word)
Peripheral View
- For long time considered outside the operating system.
- But many problems of a computer were due to them
o Conflicting interrupts, Drivers, Memory allocation, Updated drivers
Input and Output
- Physical device, Connections, Support equipment, Software
Input
- Changes the nature of programs
o Keyboard, Storage Devices
Output
- Allows end users to see the data
o Monitors/ displays, Storage devices
Issues
- Large number of devices
o Each type of devices have many options; Manufacturer, Cabling, Configurations
o Most complex part of the computer
o OS must manage the differences.
- Peripherals are physical
o Interact with the real world
o Must fit with the computer system
o USB: type A, B, C, 3, mini, Micro.
- Data Rates vary over 8 orders of magnitude
- Task Control: Blocking/ non-blocking
- Data transfers: Block/ character / clock
- Transfer Schedule: Synchronous/ Asynchronous
- Data transfer: Serial (farther Parallel)
- Control Complexity
o Handled by device hardware
o Data Access: Sequential/ Random/ Direct
o Shareability: Dedicated / Shareable / Virtual
o I/0 direction: Write/ read/ both
o Function
o Error Conditions: unique to each device
I/O
- Objectives
o Efficiency
▪ I/O operations are usually the bottleneck.
Downloaded by Morris Muthii
()