

















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
An in-depth exploration of io systems, focusing on mass storage, disk characteristics, scheduling, and attachment. Topics include disk formatting, bad blocks, swap space management, disk attachment through i/o ports and buses, and reliability techniques such as mirroring and raid. Learn about various levels of raid, disk striping, and the role of polling, interrupts, and dma in io communication.
Typology: Slides
1 / 25
This page cannot be seen from the preview
Don't miss anything!


















12: IO Systems 1
12: IO Systems 2
This material covers Silberschatz Chapters 12 and 13.
Mass Storage - hardware
This is about Disk Behavior and Management.
IO Interface โ how the OS interfaces to the hardware
The busses in the computer and how the O.S. interfaces to it.
12: IO Systems 4
The components making up disk service time include:
time = setup + seek + rotation time + transfer + wrap-up
The methods discussed below try to optimize seek time but make no attempt to account for the total time. The ideal method would optimize the total time and many controllers are now able to accomplish this.
Mass-Storage Structure
12: IO Systems 5
Disk formatting Creates a logical disk from the raw disk. Includes setting aside chunks of the disk for booting, bad blocks, etc. Also provides information needed by the driver to understand its positioning.
Boot block That location on the disk that is accessed when trying to boot the operating system. It's a well-known location that contains the code that understands how to get at the operating system
Bad blocks The driver knows how to compensate for a bad block on the disk. It does this by putting a pointer, at the location of the bad block, indicating where a good copy of the data can be found.
Swap Space Management The Operating System requires a contiguous space where it knows that disk blocks have been reserved for paging. This space is needed because a program can't be given unshared memory unless there's a backing store location for that memory.
Mass-Storage Structure
12: IO Systems 7
Mass-Storage Structure
12: IO Systems 8
Storage-Area Network
Mass-Storage Structure
12: IO Systems 10
These are the various levels of RAID.
The reliability increases with higher levels.
In practice, only levels 0, 1, 5 and 10 are typically used.
Mass-Storage Structure
12: IO Systems 11
Mass-Storage Structure
12: IO Systems 13
IO SYSTEMS
12: IO Systems 14
Works by associating a memory address with a device and a function on that device.
IO SYSTEMS
12: IO Systems 16
When you get an interrupt, you need to be able to figure out the device that gave you the interrupt.
These are the interrupt vectors for an Intel Processor.
Notice that most of these are actually exceptions.
IO SYSTEMS
12: IO Systems 17
Synchronous does the whole job โ all at one time โ data is obtained from the device by the processor.
Asynchronous has the device and the processor acting in time independent of each other.
IO SYSTEMS
12: IO Systems 19
IO SYSTEMS
12: IO Systems 20
Block and Character Devices
Network Devices
Clocks and Timers
Blocking and Non-Blocking IO
IO SYSTEMS