Advanced Operating Systems - Spring 2009 Lecture 18 – March 25, 2009 Dan C. Marinescu Office: HEC 439 B. Office hours:

Slides:



Advertisements
Similar presentations
Chapter 6 I/O Systems.
Advertisements

Provide data pathways that connect various system components.
HARDWARE Rashedul Hasan..
Ali Baydoun1 Controllers (hard drive controllers).
Introduction Computer Hardware Jess 2006 EXPANSION CARDS BUS ARCHITECTURE AND CONNECTORS.
Avishai Wool lecture Introduction to Systems Programming Lecture 8 Input-Output.
Chapter 13: I/O Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 13: I/O Systems I/O Hardware Application I/O Interface.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem.
Chapter 13: I/O Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 2, 2005 Chapter 13: I/O Systems I/O Hardware.
04/16/2010CSCI 315 Operating Systems Design1 I/O Systems Notice: The slides for this lecture have been largely based on those accompanying an earlier edition.
I/O Systems CS 3100 I/O Hardware1. I/O Hardware Incredible variety of I/O devices Common concepts ◦Port ◦Bus (daisy chain or shared direct access) ◦Controller.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
1 Today I/O Systems Storage. 2 I/O Devices Many different kinds of I/O devices Software that controls them: device drivers.
I/O Systems CSCI 444/544 Operating Systems Fall 2008.
Terms 5 Definitions and Questions. ISA The original 8- and 16-bit expansion card standard used in PCs. ISA cards run at a bus speed of 8MHz. You can plug.
Chapter 4 Section 3.
PCI SLOTS. network cards, sound cards, modems, extra ports such as USB or serial, TV tuner cards and disk controllers. Disadvantage: their higher bandwidth.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Copyright ©: Nahrstedt, Angrave, Abdelzaher
Prepared by Careene McCallum-Rodney Hardware specification of a computer system.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
Computer Organization CSC 405 Bus Structure. System Bus Functions and Features A bus is a common pathway across which data can travel within a computer.
Components of a PC. Motherboard. Computer Mother Board Computer Mother board and its constituent components A typical PC mother board with important.
XP Practical PC, 3e Chapter 17 1 Upgrading and Expanding your PC.
COMP 1017: Digital Technologies Session 7: Motherboards.
Computer Hardware and Network Systems Terms Lucas Abbott.
Chapter 8 Input/Output. Busses l Group of electrical conductors suitable for carrying computer signals from one location to another l Each conductor in.
Interconnection Structures
… when you will open a computer We hope you will not look like …
Stuart Cunningham - Computer Platforms COMPUTER PLATFORMS Input, Output, and Storage & Introduction to Basic Computer Architecture Week 2.
9/28: Buses & Communication Buses: highways of the motherboard –system buses –local buses: PCI, ISA, EISA –expansion slots plug & play laptops: PCMCIA.
1 Chapter Overview Understanding Expansion Buses Configuring Expansion Cards Cables and Connectors.
Computer Hardware Mr. Richard Orr Technology Teacher Bednarcik Jr. High School.
Add on cards. Also known as Expansion card or interface adapter. It can be inserted into an expansion slot of a motherboard to add functionality to a.
1 CS503: Operating Systems Spring 2014 Dongyan Xu Department of Computer Science Purdue University.
NETW 3005 I/O Systems. Reading For this lecture, you should have read Chapter 13 (Sections 1-4, 7). NETW3005 (Operating Systems) Lecture 10 - I/O Systems2.
Operating Systems CMPSC 473 I/O Management (1) November Lecture 23 Instructor: Bhuvan Urgaonkar.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem.
Chapter 13: I/O Systems Silberschatz, Galvin and Gagne ©2005 AE4B33OSS Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O.
I/O Systems I/O Hardware Application I/O Interface
I/O Example: Disk Drives To access data: — seek: position head over the proper track (8 to 20 ms. avg.) — rotational latency: wait for desired sector (.5.
The Components of a System Unit
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.
Computer Architecture Part IV-B: I/O Buses. Chipsets Intelligent bus controller chips found on the motherboard Enable higher speeds on one or more buses.
Chapter 13: I/O Systems. 13.2/34 Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware.
Copyright 2003 The McGraw-Hill Companies, Inc CHAPTER The System Unit computing ESSENTIALS    
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem.
Chapter 13: I/O Systems Silberschatz, Galvin and Gagne ©2005 Operating System Principles Chapter 13: I/O Systems I/O Hardware Application I/O Interface.
Chapter 13 – I/O Systems (Pgs ). Devices  Two conflicting properties A. Growing uniformity in interfaces (both h/w and s/w): e.g., USB, TWAIN.
XE33OSA Chapter 13: I/O Systems. 13.2XE33OSA Silberschatz, Galvin and Gagne ©2005 Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel.
PC Internal Components Lesson 4.  Intel is perhaps the most recognizable microprocessor manufacturer. List some others.
Silberschatz, Galvin and Gagne ©2009 Edited by Khoury, 2015 Operating System Concepts – 9 th Edition, Chapter 13: I/O Systems.
Chapter 13: I/O Systems Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 13: I/O Systems Overview I/O Hardware Application.
Chapter 2.
Presented By: Team-2 Vishal Shrikant Vikas Setu Vishakha
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 12: I/O Systems I/O hardwared Application I/O Interface Kernel I/O.
1 Device Controller I/O units typically consist of A mechanical component: the device itself An electronic component: the device controller or adapter.
BTEC-Computer Hardware1 BTEC National Unit 23. BTEC-Computer Hardware2 –Investigate basic computer architecture and the functions of devices –Dismantle.
Computer Parts There are many parts that work together to make a computer work.
SEPTEMBER 8, 2015 Computer Hardware 1-1. HARDWARE TERMS CPU — Central Processing Unit RAM — Random-Access Memory  “random-access” means the CPU can read.
PCs ENVIRONMENT and PERIPHERALS Lecture 4. An expansion cards: - An expansion card (expansion board) is an electronic circuit board that adds more functionality.
Components of Computer
CSCI 315 Operating Systems Design
Chapter Overview Understanding Expansion Buses
I/O Systems I/O Hardware Application I/O Interface
I/O BUSES.
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Chapter 13: I/O Systems.
Presentation transcript:

Advanced Operating Systems - Spring 2009 Lecture 18 – March 25, 2009 Dan C. Marinescu Office: HEC 439 B. Office hours: M, Wd 3 – 4:30 PM. TA: Chen Yu Office: HEC 354. Office hours: M, Wd 1.00 – 3:00 PM. 1

Last, Current, Next Lecture Last time: Page replacement algorithms Today I/O subsystem Next time: File Systems 2

I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem Transforming I/O Requests to Hardware Operations Streams Performance

I/O Hardware Variety of I/O devices: storage networking graphics video scanners, phones,… Attributes of I/O devices Character-stream or block Sequential or random-access Sharable or dedicated Speed of operation Read-write, read only, or write only

I/O devices Connected using Controller (host adapter) Buses Ports I/O operations occur as result of privileged I/O instructions Devices have addresses, used by I/O instructions Memory-mapped I/O 5

Alphabet soup; busses and interface standards PCI (Peripheral Component Interconnect)  computer bus integrated circuit fitted on the fitted onto the motherboard itself, called a planar device expansion card that fits into a socket e.g., network, sound, and TV tuner cards, modems, extra ports such as USB or serial, and disk controllers. PCI video cards are available for supporting extra monitors and upgrading PCs that do not have any AGP or PCI express slots. AGP (Accelerated/Advanced Graphics Port  high-speed point-to-point channel for attaching graphics cards primarily for 3D graphics. AGP is being progressively phased out in favor of PCI Express. ATA (AT Attachment ) and ATAPI (AT Attachment Packet Interface)  interface standards for the connection of storage devices such as hard disk, solid-state drives, and CD-ROM drives. 6

More alphabet soup SCSI (Small Computer System Interface)  set of standards for physically connecting and transferring data between computers and peripheral devices such as hard disks and tape drives; it can connect a wide range of other devices, including scanners and CD drives. The SCSI standards define commands, protocols, and electrical and optical interfaces. USB (Universal Serial Bus)  serial bus standard; replaces many serial and parallel ports allows hot swapping; provides power to low-consumption devices, eliminating the need for an external power supply; allows many devices e.g., mice, keyboards, joysticks, scanners, digital cameras, PDAs, flash drives, external hard disks, to be used without requiring manufacturer -specific drivers to be installed,. 7

More alphabet soup IDE (Integrated Drive Electronics)  interface standard for connecting storage devices e.g., such as hard disks, solid-state drives, CD ROM drives; not just to the connector and interface definition, but also the drive controller is integrated into the drive, as opposed to a separate controller on or connected to the motherboard. The integrated controller presented the drive to the host computer as an array of 512-byte blocks with a relatively simple command interface. This relieved the software in the host computer of the chores of stepping the disk head arm, moving the head arm in and out, and so on. ISA (Industry Standard Architecture)  bus standard developed at IBM for the PC. In 1987, IBM replaced it with MCA (Micro Channel Architecture) in an effort to regain control of the PC architecture and the PC market. InfiniBand  point-to-point bidirectional serial link for connection of processors with high speed peripherals such as disks. 8

VIA (Virtual Interface Architecture) An abstract model of a user-level zero-copy network. created by Microsoft, Intel, and Compaq, the original VIA sought to standardize the interface for high-performance network technologies known as System Area Networks (SANs) the basis for InfiniBand. Networks are a shared resource. In traditional networks such as Ethernet, the network is protected by the kernel, which presents a tremendous performance bottleneck when latency is an issue. 9

Typical PC Bus Structure

Device I/O Port Locations on PCs (partial)

Polling versus Interrupts Polling  periodically checking the status of an I/O device Interrupt  deliver data or status information when status information immediately States of device ready busy error Alternatives Busy-wait cycle to wait for I/O from device Use interrupts

Interrupts: used for I/O and for exceptions CPU Interrupt-request line  triggered by I/O device Interrupt handler receives interrupts To mask an interrupt  ignore or delay some interrupts Interrupt vector to dispatch interrupt to correct handler Based on priority Some non-maskable