Efficiency of Batch Operating Systems

Size: px
Start display at page:

Download "Efficiency of Batch Operating Systems"

Transcription

1 Efficiency of Batch Operating Systems a Teodor Rus rus@cs.uiowa.edu The University of Iowa, Department of Computer Science a These slides have been developed by Teodor Rus. They are copyrighted materials and may not be used in other course settings outside of the University of Iowa in their current form or modified form without the express written permission of the copyright holder. During this course, students are prohibited from selling notes to or being paid for taking notes by any person or commercial firm without the express written permission of the copyright holder. Introduction to System Software Copyright: Teodor Rus p.1/54

2 Questions about BOS BOS has been obtained as an algorithm that controls the computing system consisting of: (1) an operator batching jobs at one end of a JobFile; (2) a computer processing jobs from the other end of the JobFile; (3) I/O devices performing operations on that JobFile. Questions: 1. Is BOS correct? 2. Is BOS reliable? 3. Is BOS efficient? 4. Is BOS convenient? Does it evolve with problem domain? Introduction to System Software Copyright: Teodor Rus p.2/54

3 Overlapping 1. The batch operating system was developed as a solution to the problem of overlapping the activities of the I/O devices, processor, and memory on the one hand with those of the human operator on the other hand. 2. The difference in speed between I/O operations and processor/memory operations require a similar treatment. 3. To obtain maximum efficiency, each of the agents involved in problem-solving should work with its entire capacity. 4. This can be obtained if an operating system can be designed that allows all the agents involved in problem-solving to work in parallel and independent of each other. Introduction to System Software Copyright: Teodor Rus p.3/54

4 Solve action Problem solving with BOS can be formally specified by Solve action as follows: Solve:: local JobFile: file of Jobs, repeat forever Job1, Job2, Job3: job data structures; Operator:Batch(Job1, JobFile) or Skip :Ôperatpr Processopr:Process(Job2, JobFile) or Skip : ˆProcessor IOdevice: DoIO(Job3, JobF ile) or Skip :ÎOdevice Introduction to System Software Copyright: Teodor Rus p.4/54

5 Contrasting Solve with BOS BOS:: local JobF ile: file of job data structures; repeat Job: job data structure, Record: data or control information record; Operator:Batch(Job, JobF ile) or Skip: Ôperator Processor: MB := 1; Input (JobFile, Record); while (Record EOJ) do or P rocess(job) or Input(Job) or Output(Job) ; Skip : ˆProcessor forever Introduction to System Software Copyright: Teodor Rus p.5/54

6 Observations 1. With BOS action there is no overlapping between processor and I/O devices. Processor performs either program instructions in user mode or I/O instructions in system mode. 2. With Solve action wile processor performs machine instructions I/O devices perform at the same time I/O operations. 3. I/O operations performed by I/O devices could be on behalf of the current program executed by the processor, called overlapping mode, or on behalf of another program, called concurrent mode. 4. The overlapping and concurrency are different operating modes. One cannot design concurrent systems using a JobFile! Why? Introduction to System Software Copyright: Teodor Rus p.6/54

7 System performance By definition system performance is defined by Performance = ProcessorTime TotalTime % Note: 1. When I/O operations are initiated processor must wait for I/O operation completion before continuing program execution. 2. Increase in efficiency can be obtained if we can control the processor to perform in parallel with the I/O devices rather than waiting for I/O operations completion. Implementation: (1) processor polling devices or (2) devices interrupting processor. Introduction to System Software Copyright: Teodor Rus p.7/54

8 Scenario Answers to questions 1 and 2 led to a BOS where Batch() performs in parallel with P rocess() and DoIO(). P rocess() and DoIO() perform serial, Figure 1. Wake up! Operation completed Device Record Processor Read/write next record Figure 1: Processor I/O device serial activity Introduction to System Software Copyright: Teodor Rus p.8/54

9 Serial activity The processor sends an instruction to the device While the device reads/writes, processor is idle. When device terminates, processor works and device is idle. Introduction to System Software Copyright: Teodor Rus p.9/54

10 C expression SerialActivity() { while (MoreRecords) { Start I/O operation; while (Device busy) ; /* Processor is idle */ Process record; while (Processor busy) ; /* Device is idle */ } } Introduction to System Software Copyright: Teodor Rus p.10/54

11 Measuring efficiency Time spent by the device processing one record is T and time spent by the processor processing one record is t (T >> t); The Total Time (TT) required to process a sequence of n records is TT = n (T + t); Since T >> t processor is idle most of the time. Introduction to System Software Copyright: Teodor Rus p.11/54

12 Overlapping activities The processor starts the device to get next data record; While the device works the processor is idle; When device terminates: 1. processor starts the device for the next data record; 2. in parallel processes the data that has already arrived, instead of waiting for the next data record to arrive. Introduction to System Software Copyright: Teodor Rus p.12/54

13 Communication During overlapping activity the processor and I/O devices communicate by one or both of the mechanisms: 1. Polling: at given time intervals processor checks device status. If busy, processor can continue, if ready processor can restart it. Problem: when to poll + time lost during polling. 2. Interrupt: when device become ready it sends an interrupt signal to the processor. Introduction to System Software Copyright: Teodor Rus p.13/54

14 C expression overlap () { Start read/write FirstRecord; while (MoreRecords) { while (Device busy) ; /* Processor is idle */ Start read/write NextRecord; Process PreviousRecord; /* Proceed concurrently */ } Process LastRecord; } Introduction to System Software Copyright: Teodor Rus p.14/54

15 Measurements The time required to process n records in this scenario is n T + t. (Since T >> t, TT nt ); The gain in time is (n 1) t; Performance = Comparison: SerialPerformance = t T+t % OverlapPerformance = t T % (n t) Total Time % Introduction to System Software Copyright: Teodor Rus p.15/54

16 Observation Sections 5.9, 5.10 of the original text Systems Methodology for Software discuss buffering strategies that smooth the difference between serial and overlapping performance. Project 3: 1. Implement alternate buffering (page 305); 2. Use your implementation to copy a large file F1 on another file F2; 3. Compare the time taken by your program with the time taken by serial copying. Introduction to System Software Copyright: Teodor Rus p.16/54

17 Off-line operation The slow devices (card reader, card puncher, etc.), used to organize job files, operate in parallel with processor, in an environment different from that in which the processor and faster devices (disks, tapes, drums) operate. The job file is mapped off-line on tapes (TOS) which are then mounted on system by the human operator. The operating system performs as shown in Figure 2: Introduction to System Software Copyright: Teodor Rus p.17/54

18 Off-line operation Job activation CardReader Prepare jobs HO HO Tape... Tape OS Mount tapes Execute jobs Processor Job termination Processor OS HO Tape... Tape HO Printer Terminate jobs Dismount tapes Print results Figure 2: Off-line job processing Notation: OS stands for operating system and HO stands for human operator. Introduction to System Software Copyright: Teodor Rus p.18/54

19 Tape Operating System A TOS uses a magnetic tape as data carried for JobFile. 1. Operator prepares JOBs as usually and maps them off-line on magnetic tapes (MT) which are then mounted on an MT unit. 2. TOS reads and processes JOBs from a magnetic tape; TOS writes results onto a magnetic tape. 3. Operator dismounts tape and print results off-line. Note: since MT units are much faster than CRs and CPs increase in efficiency is expected. Introduction to System Software Copyright: Teodor Rus p.19/54

20 Implementations Design and develop special devices like card readers, line printers, etc., with the facility to input/output directly onto magnetic tapes. Develop a new computer configuration consisting of: 1. A main computer, performing data processing; 2. Small computers acting as satellites preparing data for the main computer. Introduction to System Software Copyright: Teodor Rus p.20/54

21 Fact This job processing mode evolved to today distributed systems. Introduction to System Software Copyright: Teodor Rus p.21/54

22 Advantages The main computer is no longer constrained by the speed of slow devices. It is however, constrained by the speed of magnetic tape unit. No changes are needed in the user programs running on the usual BOS in order to run them on the off-line system (TOS). Reason: I/O operations are performed by virtual devices that read/write their info records from/on magnetic tapes. Introduction to System Software Copyright: Teodor Rus p.22/54

23 Facts 1. User programs execute I/O operations by requesting them as services provided by the operating system. 2. Data comes from a virtual card reader, (paper tape, etc.) which are organized and standardized on a common magnetic tape. 3. Results are printed using a virtual card puncher (paper tape, etc.) which are organized and standardized on a common magnetic tape. Introduction to System Software Copyright: Teodor Rus p.23/54

24 A new concept Programs use logical devices which are mapped by the operating system into the physical devices connected to the system. Note: this is the origin of the computing abstractions called the file, and of the IOdevice use protocol: open(file,device), doio(), close(file,device) Introduction to System Software Copyright: Teodor Rus p.24/54

25 Advances Logical device which appears in the user s program evolved into the concept of a file (external file). Physical device used by the system evolved to the concept of a device file (internal file). The operating system binds the external file in the user program to an internal file in the system. Note: this is the origin of file system! Introduction to System Software Copyright: Teodor Rus p.25/54

26 Major limitations 1. The sequential nature of the tape does not allow the system to get direct access to various jobs waiting in the job file. 2. Hence, while a job performs I/O operations the processor can perform in parallel only computations of the same job: processor cannot execute computations of another job. Conclusion: I/O operations of one job cannot be performed in parallel with the processing operations of another job. Introduction to System Software Copyright: Teodor Rus p.26/54

27 Disk Operating System A disk system allows direct access to the jobs in a job files. Hence, DOS systems are created, where: 1. JDS recorded on cards are sent from the cards onto the disk. 2. Each job has in memory a Job Summary, JS. 3. The location of JDS image on disk is recorded in JS. Introduction to System Software Copyright: Teodor Rus p.27/54

28 Advances provided by DOS 1. I/O operations of a job can be overlapped with processing operations of another job. 2. I/O operations can be performed in parallel with processing operations, irrespective of the job they belong to. 3. While a job is processed, its I/O requests are satisfied by reading/writing a disk. 4. When a job is completed its actual output can be printed. Introduction to System Software Copyright: Teodor Rus p.28/54

29 SPOOLING The manner of the operation described above defines a job processing mode called Simultaneous Peripheral Operation On-Line (SPOOLING), depicted in Figure 3 Introduction to System Software Copyright: Teodor Rus p.29/54

30 Spooling, graphic Batch jobs Disk Execute CardReader Processor Print results Printer Figure 3: Spooling operation Introduction to System Software Copyright: Teodor Rus p.30/54

31 Advantages 1. The spooling operation uses a disk as a very large buffer. 2. Spooling is however capable of overlapping I/O operations for one job with processor operations for another job. This is the result of having direct access to the disk image of JDS. 3. The program which accumulates JDS-s in a job pool on disk is called an InSpooler. The program which prints the data accumulated into another pool is called an OutSpooler. Note: SPOOLING was first implemented at the Houston Computation Center of NASA under the name Houston Automatic Spooling Program (HASP) system. Introduction to System Software Copyright: Teodor Rus p.31/54

32 Multiprogramming The operation mode which overlaps processor activity for one job with the I/O operations requested by other jobs was called multiprogramming. Data structures that support multiprogramming are: 1. The job data structure kept on disk, directly accessible. 2. The job summary, JS, kept in main memory in a Job Summary Table (JST). Introduction to System Software Copyright: Teodor Rus p.32/54

33 Observations 1. The JS summarizes the computing activity supplied to the system and allows direct access to the job on disk. 2. A scheduling algorithm can schedule for execution various jobs in the JST according to a given policy (not necessarily FIFO). Note: computer user becomes a new computing abstraction. She needs to be codified and recorded in the system. Introduction to System Software Copyright: Teodor Rus p.33/54

34 User identification Computer users are represented by data-records consisting of their unique-names, priorities, jobs submitted, etc. Computer users are recorded in a user directory maintained by the system. The user directory allows the system to validate the user rights to submit jobs for execution and provides a billing mechanism. Introduction to System Software Copyright: Teodor Rus p.34/54

35 Scheduling information Common information in JS: struct JSentry { struct DirectoryEntry *User; char *JobName; int State; int Priority; int DiskAddress; int MemoryAddress; int RunningTime; int StartTime; int TerminateTime; }; Introduction to System Software Copyright: Teodor Rus p.35/54

36 User directory Common information in user directory entry: struct DirectoryEntry { char *UserName; char *AccountNumber; char *PassWord; int ProcessorTime; int I/O.Time; int OtherResources; }UserDirectory[MaxNumber]; Introduction to System Software Copyright: Teodor Rus p.36/54

37 Job summary table JST JST.Head Null Job1 Plk Nlk JS 1 User s name Job s name Job s state Job s priority Required time Start time Terminate time Disk address Memory address Job 2 Plk Plk Nlk JS 2 User s name Job s name Job s state Job s priority Required time Start time Terminate time Disk address Memory address JST.Tail Null Job k Nlk JS k User s name Job s name Job s state Job s priority Required time Start time Terminate time Disk address Memory address Introduction to System Software Copyright: Teodor Rus p.37/54

38 Observations 1. The list management system can again be used to implement this JST. 2. However, note that the value field of the objects managed by the list management system now are pointers to JSs which characterize the jobs present in the system at a given time. Introduction to System Software Copyright: Teodor Rus p.38/54

39 Implementation 1. Maintains two job pools called InPool and OutPool on disk and a job summary table JST, in main memory. 2. Job arrival is manipulated by a subsystem called InSpooler. 3. Job departure is manipulated by a subsystem called OutSpooler. 4. Job running is manipulated by yet another subsystem called Job Scheduler. Introduction to System Software Copyright: Teodor Rus p.39/54

40 InSpooler At job arrival the InSpooler performs: 1. Create a JS representing the job; 2. Link JS into the JST; 3. Send the job itself into the InPool on disk. Introduction to System Software Copyright: Teodor Rus p.40/54

41 Observations 1. The input operations during program execution can have as target any appropriate device (cards, tapes, disks, etc.). 2. The output operations initiated during program execution are performed by sending their results into the OutPool on disk. Introduction to System Software Copyright: Teodor Rus p.41/54

42 OutSpooler When a Job terminates the OutSpooler take care of its departure from the system performing: 1. Print the job s results present in the OutPool; 2. Free the disk area occupied by the job in the InPool and OutPool; 3. Update the JST accordingly by deleting the JS of departed job. Introduction to System Software Copyright: Teodor Rus p.42/54

43 Job Scheduler 1. Perform job transition from InPool to the memory when job s turn to execution comes (long-time scheduling). 2. Perform job scheduling for execution for the jobs already in memory (short-time scheduling). 3. Perform job transition from memory to the OutPool (when job terminates) or from memory to InPool (when its memory resources are required for other purposes) (long-time scheduling). Introduction to System Software Copyright: Teodor Rus p.43/54

44 Structuring JST Use three linked lists to implement JST: 1. The InList which accumulates JSs of new jobs arriving in the system; 2. The OutList which accumulates JSs of jobs waiting for termination; 3. The ReadyList which accumulates JSs of jobs in main memory waiting for execution. Introduction to System Software Copyright: Teodor Rus p.44/54

45 Scheduling InList, OutList, and ReadyList are managed by a long-term scheduler and a short-term scheduler. Long-term scheduler performs transitions: InList ReadyList and ReadyList OutList. Short-term scheduler performs transitions between running jobs on the processor, i.e. ReadyList switchcontext Processor Introduction to System Software Copyright: Teodor Rus p.45/54

46 Multiprogramming system Figure 5 illustrates the processing manner of a multiprogramming system. Job arrival InList Processor Main memory Long term Long term scheduler ReadyList scheduler Short term scheduling Job departure OutList Figure 5: Job processing by multiprogramming system Introduction to System Software Copyright: Teodor Rus p.46/54

47 Scheduling criteria Maximize processor utilization time. Maximize throughput of the system (i.e., maximize the number of jobs completed). Minimize turnaround time for each job (i.e., minimize the time between job arrival and job departure). Minimize the waiting time in the ReadyList. Introduction to System Software Copyright: Teodor Rus p.47/54

48 Scheduling algorithms First In First Out (FIFO), in which the first job arrived is first job serviced. Shortest Job First (SJF), in which the job requiring smallest time is serviced first. Priority scheduler, in which the highest priority job is serviced first. Introduction to System Software Copyright: Teodor Rus p.48/54

49 More scheduling algorithms Round-robin scheduler, in which each job is run for given time-slice after which processor is preempted and if not completed the job is rescheduled. Note: these algorithms can be implemented as preemptive or non-preemptive algorithms. Introduction to System Software Copyright: Teodor Rus p.49/54

50 Preemptive and NonPreemptive Scheduling With a non-preemptive scheduling algorithm the job which has acquired the processor keeps it until it is terminated. With a preemptive scheduling algorithm however, a job cannot use the processor longer than a given slice of time. Introduction to System Software Copyright: Teodor Rus p.50/54

51 Preemptive algorithms 1. Shortest job first implemented as the Shortest Remaining Time First (SRTF). 2. Round robin, giving equal time slices to each job in the ReadyList. 3. Multilevel queue in which a job s priority is decreased on a hierarchy of priority queues after each time-slice consumed. Introduction to System Software Copyright: Teodor Rus p.51/54

52 Multiprogramming summary 1. The operating system maintains various queues of jobs; jobs in these queues are in various stages of execution. 2. Operating system schedules the next job for execution according to some optimization criteria. 3. During execution time, a job may have to wait for some event to happen: a tape to be mounted, a command to be typed, an I/O operation to be completed, etc. 4. During waiting time operating system simply switches the processor to another job. Introduction to System Software Copyright: Teodor Rus p.52/54

53 Efficiency As long as there is some job to execute processor is not idle; When too many jobs compete for processor, this competition can degrade efficiency: processor becomes busy switching from one queue to another and from one job in a queue to another, in the detriment of user computations. This is called threshold state! Introduction to System Software Copyright: Teodor Rus p.53/54

54 Multiprogramming degree To maintain a high performance, the multiprogramming system needs to make efficient use of the processor and I/O devices; The number of jobs present in the system at a given time is called the multiprogramming degree; If multiprogramming degree is too large, the efficiency of the system is decreased rather than increased. Introduction to System Software Copyright: Teodor Rus p.54/54

Chapter 2: OS Overview

Chapter 2: OS Overview Chapter 2: OS Overview CmSc 335 Operating Systems 1. Operating system objectives and functions Operating systems control and support the usage of computer systems. a. usage users of a computer system:

More information

CPU Scheduling. Basic Concepts. Basic Concepts (2) Basic Concepts Scheduling Criteria Scheduling Algorithms Batch systems Interactive systems

CPU Scheduling. Basic Concepts. Basic Concepts (2) Basic Concepts Scheduling Criteria Scheduling Algorithms Batch systems Interactive systems Basic Concepts Scheduling Criteria Scheduling Algorithms Batch systems Interactive systems Based on original slides by Silberschatz, Galvin and Gagne 1 Basic Concepts CPU I/O Burst Cycle Process execution

More information

OPERATING SYSTEMS SCHEDULING

OPERATING SYSTEMS SCHEDULING OPERATING SYSTEMS SCHEDULING Jerry Breecher 5: CPU- 1 CPU What Is In This Chapter? This chapter is about how to get a process attached to a processor. It centers around efficient algorithms that perform

More information

Objectives. Chapter 5: CPU Scheduling. CPU Scheduler. Non-preemptive and preemptive. Dispatcher. Alternating Sequence of CPU And I/O Bursts

Objectives. Chapter 5: CPU Scheduling. CPU Scheduler. Non-preemptive and preemptive. Dispatcher. Alternating Sequence of CPU And I/O Bursts Objectives Chapter 5: CPU Scheduling Introduce CPU scheduling, which is the basis for multiprogrammed operating systems Describe various CPU-scheduling algorithms Discuss evaluation criteria for selecting

More information

Operating System Tutorial

Operating System Tutorial Operating System Tutorial OPERATING SYSTEM TUTORIAL Simply Easy Learning by tutorialspoint.com tutorialspoint.com i ABOUT THE TUTORIAL Operating System Tutorial An operating system (OS) is a collection

More information

Operating Systems Lecture #6: Process Management

Operating Systems Lecture #6: Process Management Lecture #6: Process Written by based on the lecture series of Dr. Dayou Li and the book Understanding 4th ed. by I.M.Flynn and A.McIver McHoes (2006) Department of Computer Science and Technology,., 2013

More information

W4118 Operating Systems. Instructor: Junfeng Yang

W4118 Operating Systems. Instructor: Junfeng Yang W4118 Operating Systems Instructor: Junfeng Yang Outline Introduction to scheduling Scheduling algorithms 1 Direction within course Until now: interrupts, processes, threads, synchronization Mostly mechanisms

More information

Introduction. What is an Operating System?

Introduction. What is an Operating System? Introduction What is an Operating System? 1 What is an Operating System? 2 Why is an Operating System Needed? 3 How Did They Develop? Historical Approach Affect of Architecture 4 Efficient Utilization

More information

Main Points. Scheduling policy: what to do next, when there are multiple threads ready to run. Definitions. Uniprocessor policies

Main Points. Scheduling policy: what to do next, when there are multiple threads ready to run. Definitions. Uniprocessor policies Scheduling Main Points Scheduling policy: what to do next, when there are multiple threads ready to run Or multiple packets to send, or web requests to serve, or Definitions response time, throughput,

More information

Types Of Operating Systems

Types Of Operating Systems Types Of Operating Systems Date 10/01/2004 1/24/2004 Operating Systems 1 Brief history of OS design In the beginning OSes were runtime libraries The OS was just code you linked with your program and loaded

More information

ICS 143 - Principles of Operating Systems

ICS 143 - Principles of Operating Systems ICS 143 - Principles of Operating Systems Lecture 5 - CPU Scheduling Prof. Nalini Venkatasubramanian nalini@ics.uci.edu Note that some slides are adapted from course text slides 2008 Silberschatz. Some

More information

A Comparative Study of CPU Scheduling Algorithms

A Comparative Study of CPU Scheduling Algorithms IJGIP Journal homepage: www.ifrsa.org A Comparative Study of CPU Scheduling Algorithms Neetu Goel Research Scholar,TEERTHANKER MAHAVEER UNIVERSITY Dr. R.B. Garg Professor Delhi School of Professional Studies

More information

Objectives. Chapter 5: Process Scheduling. Chapter 5: Process Scheduling. 5.1 Basic Concepts. To introduce CPU scheduling

Objectives. Chapter 5: Process Scheduling. Chapter 5: Process Scheduling. 5.1 Basic Concepts. To introduce CPU scheduling Objectives To introduce CPU scheduling To describe various CPU-scheduling algorithms Chapter 5: Process Scheduling To discuss evaluation criteria for selecting the CPUscheduling algorithm for a particular

More information

Overview and History of Operating Systems

Overview and History of Operating Systems Overview and History of Operating Systems These are the notes for lecture 1. Please review the Syllabus notes before these. Overview / Historical Developments An Operating System... Sits between hardware

More information

Process Scheduling CS 241. February 24, 2012. Copyright University of Illinois CS 241 Staff

Process Scheduling CS 241. February 24, 2012. Copyright University of Illinois CS 241 Staff Process Scheduling CS 241 February 24, 2012 Copyright University of Illinois CS 241 Staff 1 Announcements Mid-semester feedback survey (linked off web page) MP4 due Friday (not Tuesday) Midterm Next Tuesday,

More information

Operating System: Scheduling

Operating System: Scheduling Process Management Operating System: Scheduling OS maintains a data structure for each process called Process Control Block (PCB) Information associated with each PCB: Process state: e.g. ready, or waiting

More information

This tutorial will take you through step by step approach while learning Operating System concepts.

This tutorial will take you through step by step approach while learning Operating System concepts. About the Tutorial An operating system (OS) is a collection of software that manages computer hardware resources and provides common services for computer programs. The operating system is a vital component

More information

Scheduling. Scheduling. Scheduling levels. Decision to switch the running process can take place under the following circumstances:

Scheduling. Scheduling. Scheduling levels. Decision to switch the running process can take place under the following circumstances: Scheduling Scheduling Scheduling levels Long-term scheduling. Selects which jobs shall be allowed to enter the system. Only used in batch systems. Medium-term scheduling. Performs swapin-swapout operations

More information

Scheduling 0 : Levels. High level scheduling: Medium level scheduling: Low level scheduling

Scheduling 0 : Levels. High level scheduling: Medium level scheduling: Low level scheduling Scheduling 0 : Levels High level scheduling: Deciding whether another process can run is process table full? user process limit reached? load to swap space or memory? Medium level scheduling: Balancing

More information

Announcements. Basic Concepts. Histogram of Typical CPU- Burst Times. Dispatcher. CPU Scheduler. Burst Cycle. Reading

Announcements. Basic Concepts. Histogram of Typical CPU- Burst Times. Dispatcher. CPU Scheduler. Burst Cycle. Reading Announcements Reading Chapter 5 Chapter 7 (Monday or Wednesday) Basic Concepts CPU I/O burst cycle Process execution consists of a cycle of CPU execution and I/O wait. CPU burst distribution What are the

More information

CPU Scheduling. CPU Scheduling

CPU Scheduling. CPU Scheduling CPU Scheduling Electrical and Computer Engineering Stephen Kim (dskim@iupui.edu) ECE/IUPUI RTOS & APPS 1 CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Multiple-Processor Scheduling

More information

Chapter 1 Computer System Overview

Chapter 1 Computer System Overview Operating Systems: Internals and Design Principles Chapter 1 Computer System Overview Eighth Edition By William Stallings Operating System Exploits the hardware resources of one or more processors Provides

More information

Process Scheduling. Process Scheduler. Chapter 7. Context Switch. Scheduler. Selection Strategies

Process Scheduling. Process Scheduler. Chapter 7. Context Switch. Scheduler. Selection Strategies Chapter 7 Process Scheduling Process Scheduler Why do we even need to a process scheduler? In simplest form, CPU must be shared by > OS > Application In reality, [multiprogramming] > OS : many separate

More information

CPU Scheduling Outline

CPU Scheduling Outline CPU Scheduling Outline What is scheduling in the OS? What are common scheduling criteria? How to evaluate scheduling algorithms? What are common scheduling algorithms? How is thread scheduling different

More information

4003-440/4003-713 Operating Systems I. Process Scheduling. Warren R. Carithers (wrc@cs.rit.edu) Rob Duncan (rwd@cs.rit.edu)

4003-440/4003-713 Operating Systems I. Process Scheduling. Warren R. Carithers (wrc@cs.rit.edu) Rob Duncan (rwd@cs.rit.edu) 4003-440/4003-713 Operating Systems I Process Scheduling Warren R. Carithers (wrc@cs.rit.edu) Rob Duncan (rwd@cs.rit.edu) Review: Scheduling Policy Ideally, a scheduling policy should: Be: fair, predictable

More information

PROCESS SCHEDULING ALGORITHMS: A REVIEW

PROCESS SCHEDULING ALGORITHMS: A REVIEW Volume No, Special Issue No., May ISSN (online): -7 PROCESS SCHEDULING ALGORITHMS: A REVIEW Ekta, Satinder Student, C.R. College of Education, Hisar, Haryana, (India) Assistant Professor (Extn.), Govt.

More information

Scheduling. Yücel Saygın. These slides are based on your text book and on the slides prepared by Andrew S. Tanenbaum

Scheduling. Yücel Saygın. These slides are based on your text book and on the slides prepared by Andrew S. Tanenbaum Scheduling Yücel Saygın These slides are based on your text book and on the slides prepared by Andrew S. Tanenbaum 1 Scheduling Introduction to Scheduling (1) Bursts of CPU usage alternate with periods

More information

Road Map. Scheduling. Types of Scheduling. Scheduling. CPU Scheduling. Job Scheduling. Dickinson College Computer Science 354 Spring 2010.

Road Map. Scheduling. Types of Scheduling. Scheduling. CPU Scheduling. Job Scheduling. Dickinson College Computer Science 354 Spring 2010. Road Map Scheduling Dickinson College Computer Science 354 Spring 2010 Past: What an OS is, why we have them, what they do. Base hardware and support for operating systems Process Management Threads Present:

More information

theguard! ApplicationManager System Windows Data Collector

theguard! ApplicationManager System Windows Data Collector theguard! ApplicationManager System Windows Data Collector Status: 10/9/2008 Introduction... 3 The Performance Features of the ApplicationManager Data Collector for Microsoft Windows Server... 3 Overview

More information

Lesson Objectives. To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization

Lesson Objectives. To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization Lesson Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization AE3B33OSD Lesson 1 / Page 2 What is an Operating System? A

More information

OS OBJECTIVE QUESTIONS

OS OBJECTIVE QUESTIONS OS OBJECTIVE QUESTIONS Which one of the following is Little s formula Where n is the average queue length, W is the time that a process waits 1)n=Lambda*W 2)n=Lambda/W 3)n=Lambda^W 4)n=Lambda*(W-n) Answer:1

More information

CPS104 Computer Organization and Programming Lecture 18: Input-Output. Robert Wagner

CPS104 Computer Organization and Programming Lecture 18: Input-Output. Robert Wagner CPS104 Computer Organization and Programming Lecture 18: Input-Output Robert Wagner cps 104 I/O.1 RW Fall 2000 Outline of Today s Lecture The I/O system Magnetic Disk Tape Buses DMA cps 104 I/O.2 RW Fall

More information

Chapter 6, The Operating System Machine Level

Chapter 6, The Operating System Machine Level Chapter 6, The Operating System Machine Level 6.1 Virtual Memory 6.2 Virtual I/O Instructions 6.3 Virtual Instructions For Parallel Processing 6.4 Example Operating Systems 6.5 Summary Virtual Memory General

More information

Operating Systems 4 th Class

Operating Systems 4 th Class Operating Systems 4 th Class Lecture 1 Operating Systems Operating systems are essential part of any computer system. Therefore, a course in operating systems is an essential part of any computer science

More information

Operating Systems OBJECTIVES 7.1 DEFINITION. Chapter 7. Note:

Operating Systems OBJECTIVES 7.1 DEFINITION. Chapter 7. Note: Chapter 7 OBJECTIVES Operating Systems Define the purpose and functions of an operating system. Understand the components of an operating system. Understand the concept of virtual memory. Understand the

More information

Chapter 5 Process Scheduling

Chapter 5 Process Scheduling Chapter 5 Process Scheduling CPU Scheduling Objective: Basic Scheduling Concepts CPU Scheduling Algorithms Why Multiprogramming? Maximize CPU/Resources Utilization (Based on Some Criteria) CPU Scheduling

More information

Operating system Dr. Shroouq J.

Operating system Dr. Shroouq J. 3 OPERATING SYSTEM STRUCTURES An operating system provides the environment within which programs are executed. The design of a new operating system is a major task. The goals of the system must be well

More information

Operating Systems. III. Scheduling. http://soc.eurecom.fr/os/

Operating Systems. III. Scheduling. http://soc.eurecom.fr/os/ Operating Systems Institut Mines-Telecom III. Scheduling Ludovic Apvrille ludovic.apvrille@telecom-paristech.fr Eurecom, office 470 http://soc.eurecom.fr/os/ Outline Basics of Scheduling Definitions Switching

More information

Chapter 3. Operating Systems

Chapter 3. Operating Systems Christian Jacob Chapter 3 Operating Systems 3.1 Evolution of Operating Systems 3.2 Booting an Operating System 3.3 Operating System Architecture 3.4 References Chapter Overview Page 2 Chapter 3: Operating

More information

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan

Chapter 2 Basic Structure of Computers. Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Chapter 2 Basic Structure of Computers Jin-Fu Li Department of Electrical Engineering National Central University Jungli, Taiwan Outline Functional Units Basic Operational Concepts Bus Structures Software

More information

A LECTURE NOTE ON CSC 322 OPERATING SYSTEM I DR. S. A. SODIYA

A LECTURE NOTE ON CSC 322 OPERATING SYSTEM I DR. S. A. SODIYA A LECTURE NOTE ON CSC 322 OPERATING SYSTEM I BY DR. S. A. SODIYA 1 SECTION ONE 1.0 INTRODUCTION TO OPERATING SYSTEMS 1.1 DEFINITIONS OF OPERATING SYSTEMS An operating system (commonly abbreviated OS and

More information

Comp 204: Computer Systems and Their Implementation. Lecture 12: Scheduling Algorithms cont d

Comp 204: Computer Systems and Their Implementation. Lecture 12: Scheduling Algorithms cont d Comp 204: Computer Systems and Their Implementation Lecture 12: Scheduling Algorithms cont d 1 Today Scheduling continued Multilevel queues Examples Thread scheduling 2 Question A starvation-free job-scheduling

More information

Deciding which process to run. (Deciding which thread to run) Deciding how long the chosen process can run

Deciding which process to run. (Deciding which thread to run) Deciding how long the chosen process can run SFWR ENG 3BB4 Software Design 3 Concurrent System Design 2 SFWR ENG 3BB4 Software Design 3 Concurrent System Design 11.8 10 CPU Scheduling Chapter 11 CPU Scheduling Policies Deciding which process to run

More information

CPU SCHEDULING (CONT D) NESTED SCHEDULING FUNCTIONS

CPU SCHEDULING (CONT D) NESTED SCHEDULING FUNCTIONS CPU SCHEDULING CPU SCHEDULING (CONT D) Aims to assign processes to be executed by the CPU in a way that meets system objectives such as response time, throughput, and processor efficiency Broken down into

More information

Job Scheduling Model

Job Scheduling Model Scheduling 1 Job Scheduling Model problem scenario: a set of jobs needs to be executed using a single server, on which only one job at a time may run for theith job, we have an arrival timea i and a run

More information

Analysis and Comparison of CPU Scheduling Algorithms

Analysis and Comparison of CPU Scheduling Algorithms Analysis and Comparison of CPU Scheduling Algorithms Pushpraj Singh 1, Vinod Singh 2, Anjani Pandey 3 1,2,3 Assistant Professor, VITS Engineering College Satna (MP), India Abstract Scheduling is a fundamental

More information

2. is the number of processes that are completed per time unit. A) CPU utilization B) Response time C) Turnaround time D) Throughput

2. is the number of processes that are completed per time unit. A) CPU utilization B) Response time C) Turnaround time D) Throughput Import Settings: Base Settings: Brownstone Default Highest Answer Letter: D Multiple Keywords in Same Paragraph: No Chapter: Chapter 5 Multiple Choice 1. Which of the following is true of cooperative scheduling?

More information

Multiprocessor Scheduling and Scheduling in Linux Kernel 2.6

Multiprocessor Scheduling and Scheduling in Linux Kernel 2.6 Multiprocessor Scheduling and Scheduling in Linux Kernel 2.6 Winter Term 2008 / 2009 Jun.-Prof. Dr. André Brinkmann Andre.Brinkmann@uni-paderborn.de Universität Paderborn PC² Agenda Multiprocessor and

More information

Operating Systems, 6 th ed. Test Bank Chapter 7

Operating Systems, 6 th ed. Test Bank Chapter 7 True / False Questions: Chapter 7 Memory Management 1. T / F In a multiprogramming system, main memory is divided into multiple sections: one for the operating system (resident monitor, kernel) and one

More information

Introduction. Scheduling. Types of scheduling. The basics

Introduction. Scheduling. Types of scheduling. The basics Introduction In multiprogramming systems, when there is more than one runable (i.e., ready), the operating system must decide which one to activate. The decision is made by the part of the operating system

More information

Multiprogramming. IT 3123 Hardware and Software Concepts. Program Dispatching. Multiprogramming. Program Dispatching. Program Dispatching

Multiprogramming. IT 3123 Hardware and Software Concepts. Program Dispatching. Multiprogramming. Program Dispatching. Program Dispatching IT 3123 Hardware and Software Concepts Operating Systems II October 26 Multiprogramming Two or more application programs in memory. Consider one CPU and more than one program. This can be generalized to

More information

ERserver. iseries. Work management

ERserver. iseries. Work management ERserver iseries Work management ERserver iseries Work management Copyright International Business Machines Corporation 1998, 2002. All rights reserved. US Government Users Restricted Rights Use, duplication

More information

Components of a Computing System. What is an Operating System? Resources. Abstract Resources. Goals of an OS. System Software

Components of a Computing System. What is an Operating System? Resources. Abstract Resources. Goals of an OS. System Software What is an Operating System? An operating system (OS) is a collection of software that acts as an intermediary between users and the computer hardware One can view an OS as a manager of system resources

More information

Readings for this topic: Silberschatz/Galvin/Gagne Chapter 5

Readings for this topic: Silberschatz/Galvin/Gagne Chapter 5 77 16 CPU Scheduling Readings for this topic: Silberschatz/Galvin/Gagne Chapter 5 Until now you have heard about processes and memory. From now on you ll hear about resources, the things operated upon

More information

A Group based Time Quantum Round Robin Algorithm using Min-Max Spread Measure

A Group based Time Quantum Round Robin Algorithm using Min-Max Spread Measure A Group based Quantum Round Robin Algorithm using Min-Max Spread Measure Sanjaya Kumar Panda Department of CSE NIT, Rourkela Debasis Dash Department of CSE NIT, Rourkela Jitendra Kumar Rout Department

More information

CHAPTER 15: Operating Systems: An Overview

CHAPTER 15: Operating Systems: An Overview CHAPTER 15: Operating Systems: An Overview The Architecture of Computer Hardware, Systems Software & Networking: An Information Technology Approach 4th Edition, Irv Englander John Wiley and Sons 2010 PowerPoint

More information

Chapter 5: CPU Scheduling. Operating System Concepts 8 th Edition

Chapter 5: CPU Scheduling. Operating System Concepts 8 th Edition Chapter 5: CPU Scheduling Silberschatz, Galvin and Gagne 2009 Chapter 5: CPU Scheduling Basic Concepts Scheduling Criteria Scheduling Algorithms Thread Scheduling Multiple-Processor Scheduling Operating

More information

CPU Scheduling. Core Definitions

CPU Scheduling. Core Definitions CPU Scheduling General rule keep the CPU busy; an idle CPU is a wasted CPU Major source of CPU idleness: I/O (or waiting for it) Many programs have a characteristic CPU I/O burst cycle alternating phases

More information

Scheduling. Monday, November 22, 2004

Scheduling. Monday, November 22, 2004 Scheduling Page 1 Scheduling Monday, November 22, 2004 11:22 AM The scheduling problem (Chapter 9) Decide which processes are allowed to run when. Optimize throughput, response time, etc. Subject to constraints

More information

Buffer Management 5. Buffer Management

Buffer Management 5. Buffer Management 5 Buffer Management Copyright 2004, Binnur Kurt A journey of a byte Buffer Management Content 156 A journey of a byte Suppose in our program we wrote: outfile

More information

Origins of Operating Systems OS/360. Martin Grund HPI

Origins of Operating Systems OS/360. Martin Grund HPI Origins of Operating Systems OS/360 HPI Table of Contents IBM System 360 Functional Structure of OS/360 Virtual Machine Time Sharing 2 Welcome to Big Blue 3 IBM System 360 In 1964 IBM announced the IBM-360

More information

REDUCING TIME: SCHEDULING JOB. Nisha Yadav, Nikita Chhillar, Neha jaiswal

REDUCING TIME: SCHEDULING JOB. Nisha Yadav, Nikita Chhillar, Neha jaiswal Journal Of Harmonized Research (JOHR) Journal Of Harmonized Research in Engineering 1(2), 2013, 45-53 ISSN 2347 7393 Original Research Article REDUCING TIME: SCHEDULING JOB Nisha Yadav, Nikita Chhillar,

More information

Chapter 11 I/O Management and Disk Scheduling

Chapter 11 I/O Management and Disk Scheduling Operating Systems: Internals and Design Principles, 6/E William Stallings Chapter 11 I/O Management and Disk Scheduling Dave Bremer Otago Polytechnic, NZ 2008, Prentice Hall I/O Devices Roadmap Organization

More information

Technical Properties. Mobile Operating Systems. Overview Concepts of Mobile. Functions Processes. Lecture 11. Memory Management.

Technical Properties. Mobile Operating Systems. Overview Concepts of Mobile. Functions Processes. Lecture 11. Memory Management. Overview Concepts of Mobile Operating Systems Lecture 11 Concepts of Mobile Operating Systems Mobile Business I (WS 2007/08) Prof Dr Kai Rannenberg Chair of Mobile Business and Multilateral Security Johann

More information

Lecture Outline Overview of real-time scheduling algorithms Outline relative strengths, weaknesses

Lecture Outline Overview of real-time scheduling algorithms Outline relative strengths, weaknesses Overview of Real-Time Scheduling Embedded Real-Time Software Lecture 3 Lecture Outline Overview of real-time scheduling algorithms Clock-driven Weighted round-robin Priority-driven Dynamic vs. static Deadline

More information

Operating Systems Concepts: Chapter 7: Scheduling Strategies

Operating Systems Concepts: Chapter 7: Scheduling Strategies Operating Systems Concepts: Chapter 7: Scheduling Strategies Olav Beckmann Huxley 449 http://www.doc.ic.ac.uk/~ob3 Acknowledgements: There are lots. See end of Chapter 1. Home Page for the course: http://www.doc.ic.ac.uk/~ob3/teaching/operatingsystemsconcepts/

More information

Scheduling Algorithms

Scheduling Algorithms Scheduling Algorithms List Pros and Cons for each of the four scheduler types listed below. First In First Out (FIFO) Simplicity FIFO is very easy to implement. Less Overhead FIFO will allow the currently

More information

1. Computer System Structure and Components

1. Computer System Structure and Components 1 Computer System Structure and Components Computer System Layers Various Computer Programs OS System Calls (eg, fork, execv, write, etc) KERNEL/Behavior or CPU Device Drivers Device Controllers Devices

More information

How To Understand The History Of An Operating System

How To Understand The History Of An Operating System 7 Operating Systems 7.1 Source: Foundations of Computer Science Cengage Learning Objectives After studying this chapter, the student should be able to: 7.2 Understand the role of the operating system.

More information

Performance Comparison of RTOS

Performance Comparison of RTOS Performance Comparison of RTOS Shahmil Merchant, Kalpen Dedhia Dept Of Computer Science. Columbia University Abstract: Embedded systems are becoming an integral part of commercial products today. Mobile

More information

Syllabus MCA-404 Operating System - II

Syllabus MCA-404 Operating System - II Syllabus MCA-404 - II Review of basic concepts of operating system, threads; inter process communications, CPU scheduling criteria, CPU scheduling algorithms, process synchronization concepts, critical

More information

Chapter 2: Computer-System Structures. Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture

Chapter 2: Computer-System Structures. Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture Chapter 2: Computer-System Structures Computer System Operation Storage Structure Storage Hierarchy Hardware Protection General System Architecture Operating System Concepts 2.1 Computer-System Architecture

More information

OPERATING SYSTEM INDEX

OPERATING SYSTEM INDEX OPERATING SYSTEM INDEX LESSON 1: INTRODUCTION TO OPERATING SYSTEM LESSON 2: FILE SYSTEM I LESSON 3: FILE SYSTEM II LESSON 4: CPU SCHEDULING LESSON 5: MEMORY MANAGEMENT I LESSON 6: MEMORY MANAGEMENT II

More information

CPU Scheduling. CSC 256/456 - Operating Systems Fall 2014. TA: Mohammad Hedayati

CPU Scheduling. CSC 256/456 - Operating Systems Fall 2014. TA: Mohammad Hedayati CPU Scheduling CSC 256/456 - Operating Systems Fall 2014 TA: Mohammad Hedayati Agenda Scheduling Policy Criteria Scheduling Policy Options (on Uniprocessor) Multiprocessor scheduling considerations CPU

More information

CS414 SP 2007 Assignment 1

CS414 SP 2007 Assignment 1 CS414 SP 2007 Assignment 1 Due Feb. 07 at 11:59pm Submit your assignment using CMS 1. Which of the following should NOT be allowed in user mode? Briefly explain. a) Disable all interrupts. b) Read the

More information

I/O Management. General Computer Architecture. Goals for I/O. Levels of I/O. Naming. I/O Management. COMP755 Advanced Operating Systems 1

I/O Management. General Computer Architecture. Goals for I/O. Levels of I/O. Naming. I/O Management. COMP755 Advanced Operating Systems 1 General Computer Architecture I/O Management COMP755 Advanced Operating Systems Goals for I/O Users should access all devices in a uniform manner. Devices should be named in a uniform manner. The OS, without

More information

Have both hardware and software. Want to hide the details from the programmer (user).

Have both hardware and software. Want to hide the details from the programmer (user). Input/Output Devices Chapter 5 of Tanenbaum. Have both hardware and software. Want to hide the details from the programmer (user). Ideally have the same interface to all devices (device independence).

More information

Kernel. What is an Operating System? Systems Software and Application Software. The core of an OS is called kernel, which. Module 9: Operating Systems

Kernel. What is an Operating System? Systems Software and Application Software. The core of an OS is called kernel, which. Module 9: Operating Systems Module 9: Operating Systems Objective What is an operating system (OS)? OS kernel, and basic functions OS Examples: MS-DOS, MS Windows, Mac OS Unix/Linux Features of modern OS Graphical operating system

More information

Computer Systems Structure Input/Output

Computer Systems Structure Input/Output Computer Systems Structure Input/Output Peripherals Computer Central Processing Unit Main Memory Computer Systems Interconnection Communication lines Input Output Ward 1 Ward 2 Examples of I/O Devices

More information

OPERATING SYSTEM SERVICES

OPERATING SYSTEM SERVICES OPERATING SYSTEM SERVICES USER INTERFACE Command line interface(cli):uses text commands and a method for entering them Batch interface(bi):commands and directives to control those commands are entered

More information

Outline: Operating Systems

Outline: Operating Systems Outline: Operating Systems What is an OS OS Functions Multitasking Virtual Memory File Systems Window systems PC Operating System Wars: Windows vs. Linux 1 Operating System provides a way to boot (start)

More information

Chapter 11 I/O Management and Disk Scheduling

Chapter 11 I/O Management and Disk Scheduling Operatin g Systems: Internals and Design Principle s Chapter 11 I/O Management and Disk Scheduling Seventh Edition By William Stallings Operating Systems: Internals and Design Principles An artifact can

More information

Linux Process Scheduling Policy

Linux Process Scheduling Policy Lecture Overview Introduction to Linux process scheduling Policy versus algorithm Linux overall process scheduling objectives Timesharing Dynamic priority Favor I/O-bound process Linux scheduling algorithm

More information

Central Processing Unit

Central Processing Unit Chapter 4 Central Processing Unit 1. CPU organization and operation flowchart 1.1. General concepts The primary function of the Central Processing Unit is to execute sequences of instructions representing

More information

OPERATING SYSTEM - VIRTUAL MEMORY

OPERATING SYSTEM - VIRTUAL MEMORY OPERATING SYSTEM - VIRTUAL MEMORY http://www.tutorialspoint.com/operating_system/os_virtual_memory.htm Copyright tutorialspoint.com A computer can address more memory than the amount physically installed

More information

Input / Output and I/O Strategies

Input / Output and I/O Strategies The Four Major Input / Output Strategies Preliminary Definitions A Silly Example to Illustrate Basic Definitions Input / Output and I/O Strategies A Context for Advanced I/O Strategies The Four Strategies

More information

Discrete-Event Simulation

Discrete-Event Simulation Discrete-Event Simulation Prateek Sharma Abstract: Simulation can be regarded as the emulation of the behavior of a real-world system over an interval of time. The process of simulation relies upon the

More information

Computer-System Architecture

Computer-System Architecture Chapter 2: Computer-System Structures Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture 2.1 Computer-System Architecture 2.2 Computer-System

More information

Big Picture. IC220 Set #11: Storage and I/O I/O. Outline. Important but neglected

Big Picture. IC220 Set #11: Storage and I/O I/O. Outline. Important but neglected Big Picture Processor Interrupts IC220 Set #11: Storage and Cache Memory- bus Main memory 1 Graphics output Network 2 Outline Important but neglected The difficulties in assessing and designing systems

More information

Processor Scheduling. Queues Recall OS maintains various queues

Processor Scheduling. Queues Recall OS maintains various queues Processor Scheduling Chapters 9 and 10 of [OS4e], Chapter 6 of [OSC]: Queues Scheduling Criteria Cooperative versus Preemptive Scheduling Scheduling Algorithms Multi-level Queues Multiprocessor and Real-Time

More information

Overview of Presentation. (Greek to English dictionary) Different systems have different goals. What should CPU scheduling optimize?

Overview of Presentation. (Greek to English dictionary) Different systems have different goals. What should CPU scheduling optimize? Overview of Presentation (Greek to English dictionary) introduction to : elements, purpose, goals, metrics lambda request arrival rate (e.g. 200/second) non-preemptive first-come-first-served, shortest-job-next

More information

Lecture 1 Operating System Overview

Lecture 1 Operating System Overview Lecture 1 Operating System Overview What is an Operating System? A program that acts as an intermediary between a user of a computer and the computer hardware. The Major Objectives of an Operating system

More information

Unit 4 i5/os Work Management

Unit 4 i5/os Work Management Introduction to IBM System i Unit 4 i5/os Work Management Copyright IBM Corporation, 2006. All Rights Reserved. This publication may refer to products that are not currently available in your country.

More information

Computer Organization & Architecture Lecture #19

Computer Organization & Architecture Lecture #19 Computer Organization & Architecture Lecture #19 Input/Output The computer system s I/O architecture is its interface to the outside world. This architecture is designed to provide a systematic means of

More information

THE UNIVERSITY OF AUCKLAND

THE UNIVERSITY OF AUCKLAND THE UNIVERSITY OF AUCKLAND 07.340 T07.340 EXAMINATION FOR BA BSc ETC 1995 COMPUTER SCIENCE Operating Systems ( Time allowed : THREE hours ) NOTES: Answer SIX questions. The total mark for each question

More information

Chapter 3 Operating-System Structures

Chapter 3 Operating-System Structures Contents 1. Introduction 2. Computer-System Structures 3. Operating-System Structures 4. Processes 5. Threads 6. CPU Scheduling 7. Process Synchronization 8. Deadlocks 9. Memory Management 10. Virtual

More information

Performance Monitoring User s Manual

Performance Monitoring User s Manual NEC Storage Software Performance Monitoring User s Manual IS025-15E NEC Corporation 2003-2010 No part of the contents of this book may be reproduced or transmitted in any form without permission of NEC

More information

Convenience: An OS makes a computer more convenient to use. Efficiency: An OS allows the computer system resources to be used in an efficient manner.

Convenience: An OS makes a computer more convenient to use. Efficiency: An OS allows the computer system resources to be used in an efficient manner. Introduction to Operating System PCSC-301 (For UG students) (Class notes and reference books are required to complete this study) Release Date: 27.12.2014 Operating System Objectives and Functions An OS

More information

159.735. Final Report. Cluster Scheduling. Submitted by: Priti Lohani 04244354

159.735. Final Report. Cluster Scheduling. Submitted by: Priti Lohani 04244354 159.735 Final Report Cluster Scheduling Submitted by: Priti Lohani 04244354 1 Table of contents: 159.735... 1 Final Report... 1 Cluster Scheduling... 1 Table of contents:... 2 1. Introduction:... 3 1.1

More information

Analyzing IBM i Performance Metrics

Analyzing IBM i Performance Metrics WHITE PAPER Analyzing IBM i Performance Metrics The IBM i operating system is very good at supplying system administrators with built-in tools for security, database management, auditing, and journaling.

More information