The Functions of Operating Systems Spooling. Learning Objectives Describe spooling, explaining why it is used.

Slides:



Advertisements
Similar presentations
Computer Organization, Bus Structure
Advertisements

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.
?  Able to explain the 6 key functions of system software  Able to explain each using a suitable example  Identify three different system software.
Computer Architecture
Processes Management.
Computer Hardware 4 Main Types.
Discovering Computers Fundamentals, Third Edition CGS 1000 Introduction to Computers and Technology Fall 2006.
By Rashid Khan Lesson 7-Preparing for Output: Printer Configuration and Management.
©Brooks/Cole, 2003 Chapter 7 Operating Systems Dr. Barnawi.
Operating Systems (CSCI2413) Lecture 3 Processes phones off (please)
Introduction to z/OS Basics © 2006 IBM Corporation Chapter 7: Batch processing and the Job Entry Subsystem (JES) Batch processing and JES.
FUNCTIONS OF OPERATING SYSTEMS Interfaces Memory Management Security Utility Interrupt Handling.
I/O Systems ◦ Operating Systems ◦ CS550. Note:  Based on Operating Systems Concepts by Silberschatz, Galvin, and Gagne  Strongly recommended to read.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 5: Batch processing and the Job Entry Subsystem (JES) Batch.
Overview Print and Document Services Print Management console Printer properties Troubleshooting.
Module 6: Managing Printing. Overview Changing the Location of the Print Spooler Setting Printer Priorities Scheduling Printer Availability Configuring.
Input/Output. Input/Output Problems Wide variety of peripherals —Delivering different amounts of data —At different speeds —In different formats All slower.
CE Operating Systems Lecture 5 Processes. Overview of lecture In this lecture we will be looking at What is a process? Structure of a process Process.
Chapter 10: Input / Output Devices Dr Mohamed Menacer Taibah University
Operating Systems  By the end of this session, you will know: What an Operating System is. The functions it performs.
1 AQA ICT AS Level © Nelson Thornes 2008 Operating Systems What are they and why do we need them?
IOS110 Introduction to Operating Systems using Windows Session 9 1.
How computers work Learning objective 2: Explain the four basic functions of a computer.
Computer Terminology Computer Technology Day 1. Terms You Should Know  Computer  Electronic device that performs four functions  Accepts Data (Input)
NETWORK SERVERS Oliver Topping (with a little help from my Mum)
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.
The Functions of Operating Systems Interrupts. Learning Objectives Explain how interrupts are used to obtain processor time. Explain how processing of.
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
The Functions of Operating Systems Desktop PC Operating Systems.
A Level Computing for AQA Teacher’s Resource CD-ROM 42 CHAPTER: Operating systems Nick Sims Basic functions Classifying operating systems.
Introduction to z/OS Basics © 2006 IBM Corporation Chapter 7: Batch processing and the Job Entry Subsystem (JES) Batch processing and JES.
Page 1 Printing & Terminal Services Lecture 8 Hassan Shuja 11/16/2004.
AS Computing Hardware. Buffers and Interrupts A buffer is an area of memory used for holding data during input/output transfers to and from disk.
BABCA Software Operating Systems (OS) aka Systems Software A set of instructions that coordinate all the activities among computer hardware resources.
Device Management Introduction  Keeping track of the status of all devices, which requires special mechanisms. One commonly used mechanism.
Computer Studies (AL) I/O Management. Reference Silberschatz, Galvin, Gagne “Operating System Concepts 6 th edition”, 2003, Wiley Stallings, “Operating.
 Input is data you put into your computer like:  Keyboards  Mouse  Data from another computer  Webcam INPUT.
Computer Parts And Components PERIPHERALS. Definition of Peripherals External hardware devices attached to the computer are called peripheral devices.
Von Neumann Machines. 3 The Von Neumann Architecture Model for designing and building computers, based on the following three characteristics: 1)The.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview: Using Hardware.
Operating System (Reference : OS[Silberschatz] + Norton 6e book slides)
OPERATING SYSTEM REVIEW. System Software The programs that control and maintain the operation of the computer and its devices The two parts of system.
Computer Basics CHAPTER 1. What is a computer?  A computer is a machine that changes information from one form into another by performing four basic.
24/06/20161 Hardware Processor components & ROM. 224/06/2016 Learning Objectives Describe the function and purpose of the control unit, memory unit and.
Printing. Printing Terminology Logical Printer Physical Printer/Print Device Print Server Locally vs network attached printer Non-remote vs remote printer.
Operating Systems c. define and explain the purpose of scheduling, job queues, priorities and how they are used to manage job throughput; d. explain how.
Introduction to Computer Networks
Operating Systems & System Software
Processes and threads.
Operating System Review
2. OPERATING SYSTEM 2.1 Operating System Function
Component 2 6G, H, I, J, K.
Advanced OS Concepts (For OCR)
Principles of Information Technology
The Operating System Nick Sims.
CPU & its Components CPU stands for central Processing Unit
Virtual Memory Networks and Communication Department.
Operating Systems What are they and why do we need them?
TYPES OFF OPERATING SYSTEM
Operating System Review
Processor Management Damian Gordon.
Processor Fundamentals
Operating System Review
Components of a CPU AS Computing - F451.
Spooling Describe spooling, explaining why it is used.
Interrupt handling Explain how interrupts are used to obtain processor time and how processing of interrupted jobs may later be resumed, (typical.
The Main Features of Operating Systems
LO3 – Understand Business IT Systems
Processor Management Damian Gordon.
Function of Operating Systems
Presentation transcript:

The Functions of Operating Systems Spooling

Learning Objectives Describe spooling, explaining why it is used.

Simultaneous Peripheral Operations On-Line (spooling) Temporarily stores all input and output jobs on some form of backing storage (usually a high-speed device such as a disk), with a reference to the job and its location stored on a spool / print queue. When the output from a job is finished, the name location of the file can be placed in a queue. The Spooler / Print spooler (part of the OS) can now send the name and location of the file to the printer in the order in which the file details enter the queue. Then the printer pulls them off the backing storage device at its own rate.

Reason for Spooling So that slow peripheral devices do not hold up the processor. I/O devices are relatively slow when compared to the processor. I/O devices are relatively slow when compared to the processor.

Why spool in the way we do? Jobs are named and not listed in the printer queue until the entire job has been saved: Spooling compensates for the speed mismatch between the processor and input/output devices; input/output devices cannot process jobs as fast as they are sent by a processor. Spooling ensures that when, multiple jobs sent at the same time to a single device are queued, they are kept separate, no jobs are lost and complete jobs are processed. Spooling ensures that when, multiple jobs sent at the same time to a single device are queued, they are kept separate, no jobs are lost and complete jobs are processed.

Process of sending jobs for printing using a spooler Jobs are stored temporarily on some form of backing storage (usually a high-speed device such as a disk). When storage of a job is complete, its location is stored on a spool / print queue. The jobs in the spool queue can be prioritized and a job reference can enter the queue at a position according to its priority.

Spooler or Print Spooler The part of the OS that handles the task of spooling.

Example Two jobs, in a network system, are producing output that is to go to a single printer. The output is being produced in sections and must be kept separate for each job. Opening two files (File1 and File2) on a disk, one for each job, can do this. As the files are on disk, job 1 can write to File1 whenever it wishes and job 2 can write to File2. When the output from a job is finished, the name (and other details) of the file can be placed in a queue. OS can now send the output to the printer in the order in which the file details enter the queue. As the name of a file does not enter the queue until all output from the job to the corresponding file is complete, the output from different jobs is kept separate.

Notes: Spooling can be used for any number of jobs. Output itself is not placed in the queue. The queue simply contains the details of the files that need to be printed so that the spooler can send these details to the printer so that it can retrieve them at its own rate.

Simultaneous Peripheral Operations On-Line (spooling)

Plenary Describe the process of spooling when sending jobs for printing.

Process of sending jobs for printing using a spooler Jobs are stored temporarily on some form of backing storage (usually a high-speed device such as a disk). When storage of job complete the job and its location are stored on a spool / print queue. The jobs in the spool queue can be prioritized and a job reference can enter the queue at a position according to its priority.