3.3.1.5 Spooling 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.
including File Management
?  Able to explain the 6 key functions of system software  Able to explain each using a suitable example  Identify three different system software.
What Is An Operating System?. Before Operating Systems u What do you do with just computer hardware? –If someone gives you a computer with no software.
Operating System.
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.
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.
Introduction to the new mainframe © Copyright IBM Corp., All rights reserved. Chapter 5: Batch processing and the Job Entry Subsystem (JES) Batch.
© Paradigm Publishing Inc. 4-1 Chapter 4 System Software.
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 4 System Software.
Operating System. Architecture of Computer System Hardware Operating System (OS) Programming Language (e.g. PASCAL) Application Programs (e.g. WORD, EXCEL)
IOS110 Introduction to Operating Systems using Windows Session 9 1.
1 Computer System Overview Chapter 1. 2 n An Operating System makes the computing power available to users by controlling the hardware n Let us review.
Chapter 3.  Help you understand different types of servers commonly found on a network including: ◦ File Server ◦ Application Server ◦ Mail Server ◦
Types of Computers Mainframe/Server Two Dual-Core Intel ® Xeon ® Processors 5140 Multi user access Large amount of RAM ( 48GB) and Backing Storage Desktop.
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.
Chapter 8: Operating Systems and Utility Programs Catherine Gifford Dan Falgares.
© Paradigm Publishing Inc. 4-1 OPERATING SYSTEMS.
The Functions of Operating Systems Desktop PC Operating Systems.
Introduction to z/OS Basics © 2006 IBM Corporation Chapter 7: Batch processing and the Job Entry Subsystem (JES) Batch processing and JES.
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.
Enterprise Network Systems Client/ Server Mark Clements.
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.
The Functions of Operating Systems Spooling. Learning Objectives Describe spooling, explaining why it is used.
Computer Parts And Components PERIPHERALS. Definition of Peripherals External hardware devices attached to the computer are called peripheral devices.
Nirmalya Roy School of Electrical Engineering and Computer Science Washington State University Cpt S 122 – Data Structures Templatized Queue.
© 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.
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.
3.1.4 Hardware a. describe the function and purpose of the control unit, memory unit and ALU (arithmetic logic unit) as individual parts of a computer;
Damian Gordon.  What are good policies to schedule processes?
Introduction to Computer Networks
Software.
Operating Systems & System Software
Resource Management IB Computer Science.
Processes and threads.
Operating System Review
Resource Management IB Computer Science.
Operating System.
Component 2 6G, H, I, J, K.
Advanced OS Concepts (For OCR)
The Operating System Nick Sims.
THE OPERATION SYSTEM The need for an operating system
CPU & its Components CPU stands for central Processing Unit
Operating Systems What are they and why do we need them?
TYPES OFF OPERATING SYSTEM
Operating System Review
OPERATING SYSTEMS.
Processor Management Damian Gordon.
Processor Fundamentals
Operating Systems.
Operating System Review
Types of Computers Mainframe/Server
Operating Systems p.describe the characteristics of knowledge-based systems; q.describe the purpose of operating systems; r.describe the characteristics.
Introduction to OS (concept, evolution, some keywords)
Software - Operating Systems
Processor Scheduling Damian Gordon.
Processor Management Damian Gordon.
Function of Operating Systems
Presentation transcript:

3.3.1.5 Spooling Describe spooling, explaining why it is used.

Spooling Spooling is the process of sending output (intended for a printer or other peripheral) to a disk file, temporarily, so that it can be forwarded to the printer (or other peripheral) when it free.

Spooling Note that a spool file is effectively a buffer between the fast processor and the much slower printer. Spooling: avoids delays – printers are relatively slow and so spooling frees up the processor quickly and allows it to get on with other processing jobs; allows more than one print job to be submitted at a time – each job will be held in a queue and printed one at a time – the use of a queue also allows priorities to be set. in a multi-user system, provides a method of keeping print-jobs separate – it means that printouts will not be muddled up. It is important to realise that the output itself is not placed in the queue. The queue simply contains the details of the files that need to be printed. Place input and output on a fast access device, such as disk, so that slow peripheral devices do not hold up the processor. In a multi-programming, multi-access or network system, several jobs may wish to use the peripheral devices at the same time. It is essential that the input and output for different jobs do not become mixed up. This can be achieved by using Simultaneous Peripheral Operations On-Line (spooling). Suppose 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 on a disk, one for each job, can do this. Suppose we call these files File1 and File2. 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. This means that the OS now can 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. Spooling can be used for any number of jobs. It is important to realise that the 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 OS sends the contents of the files to the printer only when the file is complete. The part of the OS that handles this task is called the spooler or print spooler. It should be noted that spooling not only keeps output from different jobs separate It also saves the user having to wait for the processor until the output is actually printed by a printer (a relatively slow device). Spooling is used on personal computers as well as large computer systems capable of multi-programming.