Module 4 Od Comp
Module 4 Od Comp
Module 4 Od Comp
ASET
&
Technology
Operating System
Text Book
Reference Book
• Operating system: William Stalling , Pearson Education
ASET
• Overview
• I/O Hardware
• Application I/O Interface
• Kernel I/O Subsystem
• Transforming I/O Requests to Hardware Operations
• STREAMS
• Performance
Overview
ASET
Synchronous Asynchronous
Vectored I/O ASET
• Scheduling
– Some I/O request ordering via per-device queue
– Some OSs try fairness
– Some implement Quality Of Service (i.e. IPQOS)
• Buffering - store data in memory while transferring between devices
– To cope with device speed mismatch
– To cope with device transfer size mismatch
– To maintain “copy semantics”
– Double buffering – two copies of the data
• Kernel and user
• Varying sizes
• Full / being processed and not-full / being used
• Copy-on-write can be used for efficiency in some cases
Device-status Table ASET
Kernel I/O Subsystem ASET
Thank You
Amity School of Engineering &
Technology
Text Book
Reference Book
• Operating system: William Stalling, Pearson Education
Course Learning Objectives:
= (98 – 53) + (183 – 98) + (183 – 37) + (122 – 37) + (122 – 14) + (124 – 14) +
(124 – 65) + (67 – 65)
= (65 – 53) + (67 – 65) + (67 – 37) + (37– 14) + (98 – 14) + (122 – 98)
+ (124 – 122) + (183 – 124)
= 12 + 2 + 30 + 23 + 84 + 24 + 2 + 59
SCAN