Operating System Overview. Chapter 2

Similar documents
Operating System Overview. Chapter 2

Operating System. Operating System Overview. Layers of Computer System. Operating System Objectives. Services Provided by the Operating System

Operating System Overview. Operating System

Operating Systems: Overview and Introduction

Computer System Overview

Operating System. Operating System Overview. Structure of a Computer System. Structure of a Computer System. Structure of a Computer System

Operating Systems Overview. Chapter 2

Operating Systems. Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) alphapeeler.sf.net/pubkeys/pkey.htm

Operating System. Operating Systems Structure Chapter 2. Services Provided by the OS. Evolution of an Operating System

Operating Systems Overview. Chapter 2

Chapter 2 Operating System Overview

Today s class. Review of more C Operating system overview. Informationsteknologi

OPERATING SYSTEMS OVERVIEW

Principles of Operating Systems CS 446/646

Operating Systems. Engr. Abdul-Rahman Mahmood MS, PMP, MCP, QMR(ISO9001:2000) alphapeeler.sf.net/pubkeys/pkey.htm

OPERATING SYSTEM SUPPORT (Part 1)

Introduction to Operating. Chapter Chapter

SRI VENKATESWARA COLLEGE OF ENGINEERING PENNALUR, SRIPERUMBUDUR TK

Introduction to Operating Systems. Chapter Chapter

Operating System Support

Multiprogramming. Evolution of OS. Today. Comp 104: Operating Systems Concepts 28/01/2013. Processes Management Scheduling & Resource Allocation

Operating Systems (ECS 150) Spring 2011

Chapter 8. Operating System Support. Yonsei University

The First Operating System Was Human

Operating Systems: Internals and Design Principles. Chapter 2 Operating System Overview Seventh Edition By William Stallings

Operating System Support

Computer Organization and Architecture. OS Objectives and Functions Convenience Making the computer easier to use

1. Introduction to Operating Systems

Computer System Overview. Chapter 1

Introduction. CS3026 Operating Systems Lecture 01

Objectives and Functions Convenience. William Stallings Computer Organization and Architecture 7 th Edition. Efficiency

Computer System Overview

OPERATING SYSTEM. Functions of Operating System:

CSC Operating Systems Fall Lecture - I Introduction. Tevfik Ko!ar. Louisiana State University. August 25 th, Contact Information

OS - Introduction Ezio Bartocci Institute for Computer Engineering

CPS221 Lecture: Operating System Protection

Process Description and Control. Chapter 3

Major Requirements of an OS

Chapter 2 Operating-System Structures

COSC243 Part 2: Operating Systems

OPERATING SYSTEMS UNIT - 1

CS 450 Fall xxxx Final exam solutions. 2) a. Multiprogramming is allowing the computer to run several programs simultaneously.

Computer System Overview

Operating Systems. Introduction & Overview. Outline for today s lecture. Administrivia. ITS 225: Operating Systems. Lecture 1

Operating Systems : Overview

Introduction. What is an Operating System? A Modern Computer System. Computer System Components. What is an Operating System?

What is an Operating System? A Whirlwind Tour of Operating Systems. How did OS evolve? How did OS evolve?

Role 1: The Operating System is an Abstract Machine. Learning Outcomes. Introduction to Operating Systems. What is an Operating System?

Operating Systems CS3502 Spring 2018

Roadmap. Tevfik Ko!ar. CSC Operating Systems Fall Lecture - VII CPU Scheduling - II. Louisiana State University

Roadmap. Multilevel Queue Scheduling. Multilevel Queue. Example of Multilevel Feedback Queue. Multilevel Feedback Queue. Tevfik Ko!

Introduction to Operating Systems

Last class: OS and Architecture. OS and Computer Architecture

Last class: OS and Architecture. Chapter 3: Operating-System Structures. OS and Computer Architecture. Common System Components

Scheduling. Scheduling 1/51

Process Description and Control. Major Requirements of an Operating System

Major Requirements of an Operating System Process Description and Control

Introduction to Operating Systems. Chapter Chapter

GENERAL I ARTICLE. Operating Systems. 1. Objectives and Evolution. operating systems, and then we trace the evolution of operating

Lecture Topics. Announcements. Today: Operating System Overview (Stallings, chapter , ) Next: Processes (Stallings, chapter

Computer System Overview OPERATING SYSTEM TOP-LEVEL COMPONENTS. Simplified view: Operating Systems. Slide 1. Slide /S2. Slide 2.

Today: Computer System Overview (Stallings, chapter ) Next: Operating System Overview (Stallings, chapter ,

Module 1: Introduction

OS and Computer Architecture. Chapter 3: Operating-System Structures. Common System Components. Process Management

CPU Scheduling (1) CPU Scheduling (Topic 3) CPU Scheduling (2) CPU Scheduling (3) Resources fall into two classes:

Process Description and Control. Chapter 3

Operating Systems Overview

Module 1: Introduction. What is an Operating System?

Scheduling. Scheduling 1/51

CSC 453 Operating Systems

Process Description and Control

Solved MCQs on Operating System Principles. Set-1

Four Components of a Computer System. Operating System Concepts 7 th Edition, Jan 12, 2005

Computer Fundamentals : Pradeep K. Sinha& Priti Sinha

Dr. D. M. Akbar Hussain DE5 Department of Electronic Systems

Chapter 2. OS Overview

2. The system of... generally ran one job at a time. These were called single stream batch processing.

W4118 Operating Systems. Junfeng Yang

CSCE Introduction to Computer Systems Spring 2019

OPERATING SYSTEMS. After A.S.Tanenbaum, Modern Operating Systems, 3rd edition. Uses content with permission from Assoc. Prof. Florin Fortis, PhD

Introduction to System Programming

NETW3005 Operating Systems Lecture 1: Introduction and history of O/Ss

Reserves time on a paper sign-up sheet. Programmer runs his own program. Relays or vacuum tube hardware. Plug board or punch card input.

Introduction to Computer Science. Polly Huang NTU EE

CSC 453 Operating Systems

CSCE 313 Introduction to Computer Systems. Instructor: Dezhen Song Spring 2015

EECS 3221 Operating System Fundamentals

Operating Systems Course 2 nd semester 2016/2017 Chapter 1: Introduction

EECS 3221 Operating System Fundamentals

Process Description and Control

CSCE-313 Introduction to Computer Systems

Announcement. Exercise #2 will be out today. Due date is next Monday

Instruction Cycle. Computer-System Architecture. Computer-System Operation. Common Functions of Interrupts. Chapter 2: Computer-System Structures

Computer Systems Overview

Operating Systemss and Multicore Programming (1DT089)

Q.1 Explain Computer s Basic Elements

CS450/550 Operating Systems

A DESIGN FOR A MULTIPLE USER MULTIPROCESSING SYSTEM

CS6401- Operating System QUESTION BANK UNIT-I

Chapter 14 Operating Systems

Transcription:

Programmed I/O I/O module performs the action, not the processor Sets appropriate bits in the I/ O status register No interrupts occur Processor checks status until operation is complete 1

Interrupt-Driven I/O Processor is interrupted when I/ O module ready to exchange data Processor saves context of program executing and begins executing interrupt-handler No needless waiting Consumes a lot of processor time because every word read or written passes through the processor 2

Direct Memory Access Transfers a block of data directly to or from memory An interrupt is sent when the transfer is complete Processor continues with other work 3

Operating System Overview Chapter 2 4

Operating System A program that controls the execution of application programs An interface between applications and hardware 5

Operating System Objectives Convenience Makes the computer more convenient to use Efficiency Allows computer system resources to be used in an efficient manner Ability to evolve Permit effective development, testing, and introduction of new system functions without interfering with service 6

Layers of Computer System 7

Services Provided by the Operating System Program development Editors and debuggers Program execution Access to I/O devices Controlled access to files System access 8

Services Provided by the Operating System Error detection and response Internal and external hardware errors Memory error Device failure Software errors Arithmetic overflow Access forbidden memory locations Operating system cannot grant request of application 9

Services Provided by the Operating System Accounting Collect usage statistics Monitor performance Used to anticipate future enhancements Used for billing purposes 10

Operating System Responsible for managing resources Functions same way as ordinary computer software It is program that is executed Operating system relinquishes control of the processor 11

Kernel Portion of operating system that is in main memory Contains most frequently used functions Also called the nucleus 12

Evolution of an Operating System Hardware upgrades plus new types of hardware New services Fixes 13

Evolution of Operating Serial Processing Systems No operating system Machines run from a console with display lights, toggle switches, input device, and printer Schedule time Setup included loading the compiler, source program, saving compiled program, and loading and linking 14

Evolution of Operating Systems Simple Batch Systems Monitors Software that controls the sequence of events Batch jobs together Program branches back to monitor when finished 15

Job Control Language (JCL) Special type of programming language Provides instruction to the monitor What compiler to use What data to use 16

Hardware Features Memory protection Do not allow the memory area containing the monitor to be altered Timer Prevents a job from monopolizing the system 17

Hardware Features Privileged instructions (e.g. I/O) Certain machine level instructions can only be executed by the monitor Interrupts Early computer models did not have this capability 18

Memory Protection User program executes in user mode Certain instructions may not be executed Monitor executes in system mode Kernel mode Privileged instructions are executed Protected areas of memory may be accessed 19

Uniprogramming Processor must wait for I/O instruction to complete before preceding 20

Multiprogramming When one job needs to wait for I/O, the processor can switch to the other job 21

Multiprogramming 22

Time Sharing Using multiprogramming to handle multiple interactive jobs Time-slicing: Processor s time is shared among multiple users (clock every 0.2 sec.) Multiple users simultaneously access the system through terminals 23

Compatible Time-Sharing System (CTSS) (32 users) 24

UNIX Hardware is surrounded by the operating system software Operating system is called the system kernel Comes with a number of user services and interfaces Shell Components of the C compiler 25

UNIX 26

UNIX Kernel 27