Input and output (IO) systems Last week we considered the memory management layer of the operating system. This week we will look at another layer of the.

Slides:



Advertisements
Similar presentations
Buffers & Spoolers J L Martin Think about it… All I/O is relatively slow. For most of us, input by typing is painfully slow. From the CPUs point.
Advertisements

?  Able to explain the 6 key functions of system software  Able to explain each using a suitable example  Identify three different system software.
Operating System.
David Abarca, Instructor Del Mar College Computer Science and Information Technology Department Computer Corner Computer Corner.
The Operating System. What is an Operating System? The program that is loaded first and manages the hardware resources like main memory, backing storage.
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Fall 2006.
04/14/2008CSCI 315 Operating Systems Design1 I/O Systems Notice: The slides for this lecture have been largely based on those accompanying the textbook.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 13: I/O Systems I/O Hardware Application I/O Interface Kernel I/O Subsystem.
Operating Systems: Software in the Background
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
1 I/O Management in Representative Operating Systems.
Operating Systems.
A+ Guide to Software, 4e Chapter 11 Supporting Printers and Scanners.
General concepts of ICT systems.  Know what is meant by the terms ‘hardware’ and ‘software’  Understand the difference between systems software and.
Systems Software Operating Systems.
Overview Print and Document Services Print Management console Printer properties Troubleshooting.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
COMP 1017: Digital Technologies Session 7: Motherboards.
Operating Systems What do you have left on your computer after you strip away all of the games and application programs you bought and installed? Name.
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
Chapter 4 System Software.
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
1 AQA ICT AS Level © Nelson Thornes 2008 Operating Systems What are they and why do we need them?
 What is OS? What is OS?  What OS does? What OS does?  Structure of Operating System: Structure of Operating System:  Evolution of OS Evolution of.
Operating Systems.
Cpr E 308 Input/Output Recall: OS must abstract out all the details of specific I/O devices Today –Block and Character Devices –Hardware Issues – Programmed.
ITEC 502 컴퓨터 시스템 및 실습 Chapter 8-2: I/O Management (Review) Mi-Jung Choi DPNM Lab. Dept. of CSE, POSTECH.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
Systems Software Operating Systems. What is software? Software is the term that we use for all the programs and data that we use with a computer system.
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.
Lesson 1 Operating Systems, Part 1. Objectives Describe and list different operating systems Understand file extensions Manage files and folders.
A Level Computing for AQA Teacher’s Resource CD-ROM 42 CHAPTER: Operating systems Nick Sims Basic functions Classifying operating systems.
There are many parts that work together to make a computer work. System Unit Computer Parts.
1 Software. 2 What is software ► Software is the term that we use for all the programs and data on a computer system. ► Two types of software ► Program.
CIS250 OPERATING SYSTEMS Chapter One Introduction.
I NTRODUCTION TO N ETWORK A DMINISTRATION. W HAT IS A N ETWORK ? A network is a group of computers connected to each other to share information. Networks.
Communications & Networks National 4 & 5 Computing Science.
1 3 Computing System Fundamentals 3.3 Computer Systems.
BABCA Software Operating Systems (OS) aka Systems Software A set of instructions that coordinate all the activities among computer hardware resources.
Computer Studies (AL) I/O Management. Reference Silberschatz, Galvin, Gagne “Operating System Concepts 6 th edition”, 2003, Wiley Stallings, “Operating.
Week1: Introduction to Computer Networks. Copyright © 2012 Cengage Learning. All rights reserved.2 Objectives 2 Describe basic computer components and.
بسم الله الرحمن الرحيم MEMORY AND I/O.
The Functions of Operating Systems Spooling. Learning Objectives Describe spooling, explaining why it is used.
Midterm OPERATING SYSTEM. Objectives At the end of the course, the student should be able to: Define the operating system; Demonstrate the abstract view.
OPERATING SYSTEM BASICS. What is an operating system and what does it do? The operating system has two basic functions: –communicates with the PC.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview: Using Hardware.
Computer Parts There are many parts that work together to make a computer work.
Quick Overview.  Input Devices  Keyboard  Pointing Devices  Scanner  Digital Camera  Microphone  CD-ROM/DVD-ROM  Video Capture Card.
OPERATING SYSTEM REVIEW. System Software The programs that control and maintain the operation of the computer and its devices The two parts of system.
Copyright © 2006 by The McGraw-Hill Companies, Inc. All rights reserved. McGraw-Hill Technology Education Chapter 1 Looking Inside the Computer System.
INTRODUCTION TO COMPUTERS. A computer system is an electronic device used to input data, process data, store data for later use and produce output in.
Identify internal hardware devices (e. g
Operating Systems & System Software
Chapter 13: I/O Systems Modified by Dr. Neerja Mhaskar for CS 3SH3.
Operating System Review
Operating System.
Computer Software.
CS703 - Advanced Operating Systems
Operating Systems What are they and why do we need them?
Operating System Review
Computer Fundamentals
CS703 - Advanced Operating Systems
Operating System Review
Spooling Describe spooling, explaining why it is used.
Software - Operating Systems
LO3 – Understand Business IT Systems
Computer components is a programmable machine that receives input, stores and manipulates data, and provides output in a useful format. Computer The computer.
Bioinformatics (Nursing)
Presentation transcript:

Input and output (IO) systems Last week we considered the memory management layer of the operating system. This week we will look at another layer of the operating system; the input output systems layer.

This week we are going to consider: – What is the IO system? – Device drivers – IO system and resource sharing – Daemons – Spooling – Direct Memory Access (DMA)

Input/Output (IO) System The IO system is concerned with how peripherals and system components ‘talk to’ each other. It often works together with other parts of the operating system Example: Deleting a file, user interface calls the IO system to operate the disk as well as the file system.

Device Drivers Every IO device needs a piece of software to allow the operating system and device to communicate. Sometimes the operating system can cope with particular device, without the need for extra software. Sometimes an extra piece of software is needed, this is a device driver.

Sometimes device drivers are considered to be part of the IO system; even if they are software that was added later. Device driver perform same action as the basic IO functions, but just for one device. IO system is sometimes thought of as a set of basic device drivers.

Unix has all the hardware device driver built-in. Windows is able to add or delete device drivers as needed.

Resource Sharing What the resource is determines how it is shared. A printer for example, a process using a printer would have solo control, until it has finished printing, otherwise two (or more) printing jobs would be trying to use the printer at the same time.

Daemons Unix uses programs daemons, to organise requests for data transfer between a device and multiple users. The device request in placed in a list of other requests (queue) until the current request has been dealt with.

Spooling Spooling (Simultaneous Peripheral Output Online) is system that stores peripheral requests in a queue, until dealt with. A Spooler is traditionally a term reserved for a spooler for a printer.

Spoolers are for output only, general in large volumes. Device drivers are generally used for devices such as Hard disks, CD drives. Though we do usually refer to the software on PCs for communicating with printers as printer drivers.

Direct Memory Access (DMA) Sometimes devices need data to be transferred between the processor and the device as fast as possible. Examples: – Network cards – Scanners – Hard disks

To handle the fast devices, the PC uses Direct Memory Access. An extra device on the motherboard handles this, transferring the data quickly and leaving the processor to get on with other tasks. Throughput is increased.

IO systems role in DMA is to organise and negotiate details such as: – The memory locations to access – Whether data is to written or read – Which DMA line (channel) is to be used.

Summary The IO system is concerned with how peripherals and system components ‘talk to’ each other. Every IO device needs software to allow the operating system and device to communicate. The operating system often copes with particular device, without the need for extra software. Sometimes an extra piece of software is needed, this is a device driver. What the resource is determines how it is shared.

Unix uses programs daemons, to organise requests for data transfer between a device and multiple users. The request in placed in a queue until the current request has been dealt with. Spooling is system that stores peripheral requests in a queue, until dealt with. A Spooler is a term reserved for a spooler for a printer. Spoolers are for output only, general in large volumes. Device drivers are generally used for devices such as Hard disks, CD drives

To handle the fast devices, the PC uses Direct Memory Access. An extra device on the motherboard handles this, transferring the data quickly and leaving the processor to get on with other tasks. IO systems role in DMA is to organise and negotiate details with the other parts of the operating system.