Module 1: Introduction. What is an Operating System? Abstract View of System Components. Computer System Components

Similar documents
Chapter 1: Introduction. What is an Operating System?

Types Of Operating Systems

Contents. Chapter 1. Introduction

Overview and History of Operating Systems

3 - Introduction to Operating Systems

Operating Systems 4 th Class

Introduction. What is an Operating System?

How To Understand And Understand An Operating System In C Programming

How To Understand The Principles Of Operating Systems

CS 3530 Operating Systems. L02 OS Intro Part 1 Dr. Ken Hoganson

Operating System Tutorial

Chapter 2: OS Overview

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

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

Chapter 3: Operating-System Structures. System Components Operating System Services System Calls System Programs System Structure Virtual Machines

Chapter 3: Operating-System Structures. Common System Components

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

Operating System Structures

Computers: Tools for an Information Age

Overview of Operating Systems Instructor: Dr. Tongping Liu

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

Operating system Dr. Shroouq J.

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

Chapter 3. Operating Systems

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

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

Chapter 1 Computer System Overview

How To Understand The History Of An Operating System

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

Principles of Operating Systems CS 446/646

Embedded Software development Process and Tools: Lesson-4 Linking and Locating Software

Introduction to Operating Systems. Perspective of the Computer. System Software. Indiana University Chen Yu

Operating Systems. Rafael Ramirez (T, S)

Operating Systems Overview

Chapter 11 I/O Management and Disk Scheduling

Objectives. Chapter 2: Operating-System Structures. Operating System Services (Cont.) Operating System Services. Operating System Services (Cont.

Operating Systems. Module Descriptor

Chapter 1 FUNDAMENTALS OF OPERATING SYSTEM

Operating Systems: Basic Concepts and History

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

Networking Operating Systems (CO32010)

3 SOFTWARE AND PROGRAMMING LANGUAGES

Input / Ouput devices. I/O Chapter 8. Goals & Constraints. Measures of Performance. Anatomy of a Disk Drive. Introduction - 8.1

Multiprocessor Scheduling and Scheduling in Linux Kernel 2.6

Virtual machine interface. Operating system. Physical machine interface

Operating System Organization. Purpose of an OS

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

OPERATING SYSTEM OVERVIEW

TEST CHAPTERS 1 & 2 OPERATING SYSTEMS

Origins of Operating Systems OS/360. Martin Grund HPI

OPERATING SYSTEM SERVICES

Real-Time Operating Systems for MPSoCs

Operating System Components

Chapter 3: Operating Systems

DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING Question Bank Subject Name: EC Microprocessor & Microcontroller Year/Sem : II/IV

1 Organization of Operating Systems

Obj: Sec 1.0, to describe the relationship between hardware and software HW: Read p.2 9. Do Now: Name 3 parts of the computer.

Client/Server Computing Distributed Processing, Client/Server, and Clusters

BIOS and CMOS. Overview. The Function of BIOS. The Bus

Operating Systems PART -A

Chapter 5: System Software: Operating Systems and Utility Programs

Components of a Computer System

International Engineering Journal For Research & Development

Operating System Software

Chapter 3 Operating-System Structures

Operating Systems OBJECTIVES 7.1 DEFINITION. Chapter 7. Note:

CHAPTER 15: Operating Systems: An Overview

CPU SCHEDULING (CONT D) NESTED SCHEDULING FUNCTIONS

Operating Systems Introduction

Security Architecture and Design

CHAPTER 2: HARDWARE BASICS: INSIDE THE BOX

COS 318: Operating Systems. I/O Device and Drivers. Input and Output. Definitions and General Method. Revisit Hardware

I/O. Input/Output. Types of devices. Interface. Computer hardware

CHAPTER 1 INTRODUCTION

Introduction to the new mainframe Chapter 7: Batch processing and the Job Entry Subsystem (JES)

Installing, Configuring and Administering Microsoft Windows

Computer Organization. and Instruction Execution. August 22

Introduction. Scheduling. Types of scheduling. The basics

ICS Principles of Operating Systems

OPERATING SYSTEM - VIRTUAL MEMORY

System Virtual Machines

Republic Polytechnic School of Information and Communications Technology C226 Operating System Concepts. Module Curriculum

How To Virtualize A Storage Area Network (San) With Virtualization

Operatin g Systems: Internals and Design Principle s. Chapter 10 Multiprocessor and Real-Time Scheduling Seventh Edition By William Stallings

Symmetric Multiprocessing

Design and Implementation of the Heterogeneous Multikernel Operating System

Linux Process Scheduling Policy

EECS 678: Introduction to Operating Systems

Process Description and Control william stallings, maurizio pizzonia - sistemi operativi

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

Introduction. System Calls

OPERATING SYSTEM INDEX

OPERATING SYSTEMS SCHEDULING

Operating Systems. Notice that, before you can run programs that you write in JavaScript, you need to jump through a few hoops first

evm Virtualization Platform for Windows

Montgomery College Course Designator/Course Number: CS 110 Course Title: Computer Literacy

Operating System Overview. Otto J. Anshus

theguard! ApplicationManager System Windows Data Collector

Computer Systems Structure Input/Output

Unit 4 i5/os Work Management

Transcription:

Module 1: Introduction What is an Operating System? What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems Personal-Computer Systems Parallel Systems Distributed Systems Real -Time Systems A program that acts as an intermediary between a user of a computer and the computer hardware. Operating system goals: Execute user programs and make solving user problems easier. Make the computer system convenient to use. Use the computer hardware in an efficient manner. Operating System Concepts 1.1 Operating System Concepts 1.2 Computer System Components Abstract View of System Components 1. Hardware provides basic computing resources (CPU, memory, I/O devices). 2. Operating system controls and coordinates the use of the hardware among the various application programs for the various users. 3. Applications programs define the ways in which the system resources are used to solve the computing problems of the users (compilers, database systems, video games, business programs). 4. Users (people, machines, other computers). Operating System Concepts 1.3 Operating System Concepts 1.4

Operating System Definitions Simple Batch Systems Resource allocator manages and allocates resources. Control program controls the execution of user programs and operations of I/O devices. Kernel the one program running at all times (all else being application programs). Hire an operator User operator Add a card reader Reduce setup time by batching similar jobs Automatic job sequencing automatically transfers control from one job to another. First rudimentary operating system. Resident monitor initial control in monitor control transfers to job when job completes control transfers back to monitor Operating System Concepts 1.5 Operating System Concepts 1.6 Memory Layout for a Simple Batch System Control Cards Problems 1. How does the monitor know about the nature of the job (e.g., Fortran versus Assembly) or which program to execute? 2. How does the monitor distinguish (a) job from job? (b) data from program? Solution Introduce control cards Operating System Concepts 1.7 Operating System Concepts 1.8

Control Cards (Cont.) Control Cards (Cont.) Special cards that tell the resident monitor which programs to run $JOB $FTN $RUN $DATA $END Special characters distinguish control cards from data or program cards: $ in column 1 // in column 1 and 2 709 in column1 Parts of resident monitor Control card interpreter responsible for reading and carrying out instructions on the cards. Loader loads systems programs and applications programs into memory. Device drivers know special characteristics and properties for each of the system s I/O devices. Problem: Slow Performance I/O and CPU could not overlap ; card reader very slow. Solution: Off-line operation speed up computation by loading jobs into memory from tapes and card reading and line printing done off-line. Operating System Concepts 1.9 Operating System Concepts 1.10 Spooling Multiprogrammed Batch Systems Overlap I/O of one job with computation of another job. While executing one job, the OS. Several jobs are kept in main memory at the same time, and the CPU is multiplexed among them. Reads next job from card reader into a storage area on the disk (job queue). Outputs printout of previous job from disk to printer. Job pool data structure that allows the OS to select which job to run next in order to increase CPU utilization. Operating System Concepts 1.11 Operating System Concepts 1.12

OS Features Needed for Multiprogramming Time-Sharing Systems Interactive Computing I/O routine supplied by the system. Memory management the system must allocate the memory to several jobs. CPU scheduling the system must choose among several jobs ready to run. Allocation of devices. The CPU is multiplexed among several jobs that are kept in memory and on disk (the CPU is allocated to a job only if the job is in memory). A job is swapped in and out of memory to the disk. On-line communication between the user and the system is provided; when the operating system finishes the execution of one command, it seeks the next control statement not from a card reader, but rather from the user s keyboard. On-line system must be available for users to access data and code. Operating System Concepts 1.13 Operating System Concepts 1.14 Personal-Computer Systems Migration of Operating-System Concepts and Features Personal computers computer system dedicated to a single user. I/O devices keyboards, mice, display screens, small printers. User convenience and responsiveness. Can adopt technology developed for larger operating system often individuals have sole use of computer and do not need advanced CPU utilization of protection features. Operating System Concepts 1.15 Operating System Concepts 1.16

Parallel Systems Parallel Systems (Cont.) Multiprocessor systems with more than one CPU in close communication. Tightly coupled system processors share memory and a clock; communication usually takes place through the shared memory. Advantages of parallel system: Increased throughput Economical Increased reliability graceful degradation fail-soft systems Symmetric multiprocessing (SMP) Each processor runs an identical copy of the operating system. Many processes can run at once without performance deterioration. Most modern operating systems support SMP Asymmetric multiprocessing Each processor is assigned a specific task; master processor schedules and allocates work to slave processors. More common in extremely large systems Operating System Concepts 1.17 Operating System Concepts 1.18 Symmetric Multiprocessing Architecture Real-Time Systems Often used as a control device in a dedicated application such as controlling scientific experiments, medical imaging systems, industrial control systems, and some display systems. Well-defined fixed-time constraints. Hard real-time system. Secondary storage limited or absent, data stored in shortterm memory, or read-only memory (ROM) Conflicts with time-sharing systems, not supported by general-purpose operating systems. Soft real-time system Limited utility in industrial control or robotics Useful in applications (multimedia, virtual reality) requiring advanced operating-system features. Operating System Concepts 1.19 Operating System Concepts 1.20

Distributed Systems Distributed Systems (Cont.) Distribute the computation among several physical processors. Loosely coupled system each processor has its own local memory; processors communicate with one another through various communications lines, such as high-speed buses or telephone lines. Advantages of distributed systems. Resources Sharing Computation speed up load sharing Reliability Communications Network Operating System provides file sharing provides communication scheme runs independently from other computers on the network Distributed Operating System less autonomy between computers gives the impression there is a single operating system controlling the network. Operating System Concepts 1.21 Operating System Concepts 1.22