Types Of Operating Systems



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

Contents. Chapter 1. Introduction

Overview and History of Operating Systems

3 - Introduction to Operating Systems

Operating Systems 4 th Class

Operating System Tutorial

How To Understand And Understand An Operating System In C Programming

Overview of Operating Systems Instructor: Dr. Tongping Liu

Introduction. What is an Operating System?

Chapter 3. Operating Systems

Operating Systems: Basic Concepts and History

Chapter 2: OS Overview

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

Operating Systems Overview

Chapter 3: Operating-System Structures. Common System Components

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

1.5 Distributed Systems

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

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

Principles of Operating Systems CS 446/646

How To Understand The Principles Of Operating Systems

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

Operating Systems Prof. Ashok K Agrawala

Operating Systems PART -A

Operating Systems. Rafael Ramirez (T, S)

Computers: Tools for an Information Age

Operating Systems Introduction

Chapter 1 Computer System Overview

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

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

How To Understand The History Of An Operating System

Operating system Dr. Shroouq J.

Introduction. System Calls

Operating Systems Overview As we have learned in working model of a computer we require a software system to control all the equipment that are

Chapter 3 Operating-System Structures

CHAPTER 15: Operating Systems: An Overview

OPERATING SYSTEMS SCHEDULING

OPERATING SYSTEM INDEX

Chapter 2 System Structures

evm Virtualization Platform for Windows

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

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

Real-Time Scheduling 1 / 39

CPU Scheduling. Core Definitions

Software engineering for real-time systems

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

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

Fastboot Techniques for x86 Architectures. Marcus Bortel Field Application Engineer QNX Software Systems

Operating System Structures

OPERATING SYSTEM OVERVIEW

IBM ^ xseries ServeRAID Technology

Chap-02, Hardware and Software. Hardware Model

Multiprocessor Scheduling and Scheduling in Linux Kernel 2.6

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

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

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

Chapter 1: Introduction. Operating System Concepts 9 th Edit9on

CPU SCHEDULING (CONT D) NESTED SCHEDULING FUNCTIONS

Lesson 06: Basics of Software Development (W02D2

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

ERserver. iseries. Work management

COMPUTER HARDWARE. Input- Output and Communication Memory Systems

OPERATING SYSTEM - VIRTUAL MEMORY

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

Fall Lecture 1. Operating Systems: Configuration & Use CIS345. Introduction to Operating Systems. Mostafa Z. Ali. mzali@just.edu.

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

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

CSE2102 Digital Design II - Topics CSE Digital Design II

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

Chapter 3: Operating Systems

CSCA0102 IT & Business Applications. Foundation in Business Information Technology School of Engineering & Computing Sciences FTMS College Global

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

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

Programming for GCSE Topic H: Operating Systems

Chapter 5: System Software: Operating Systems and Utility Programs

Machine Architecture and Number Systems. Major Computer Components. Schematic Diagram of a Computer. The CPU. The Bus. Main Memory.

Why Computers Are Getting Slower (and what we can do about it) Rik van Riel Sr. Software Engineer, Red Hat

Real-Time Operating Systems for MPSoCs

Computer-System Architecture

Chapter 11 I/O Management and Disk Scheduling

ICS Principles of Operating Systems

Efficiency of Batch Operating Systems

Security Architecture and Design

OPERATING SYSTEM SERVICES

System Virtual Machines

Operating Systems. III. Scheduling.

Origins of Operating Systems OS/360. Martin Grund HPI

AN4664 Application note

Chapter Introduction. Storage and Other I/O Topics. p. 570( 頁 585) Fig I/O devices can be characterized by. I/O bus connections

System Structures. Services Interface Structure

Distributed Systems LEEC (2005/06 2º Sem.)

A single user ran a single program ran on a single computer there was no need for Page 1 of 6 Copyright Virtual University of Pakistan

Computer Performance. Topic 3. Contents. Prerequisite knowledge Before studying this topic you should be able to:

Chapter 1: Introduction. Chapter 1: Introduction. Operating System Concepts, 7th Edition. Objectives

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

Operating System Organization. Purpose of an OS

Learning Outcomes. Simple CPU Operation and Buses. Composition of a CPU. A simple CPU design

Transcription:

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 into the computer. First computer interface was switches and lights, then punched tape and cards. Next was Main frame systems which includes Batch Systems OS was permanently loaded in Primary memory Input devices were card readers and tape drives Output devices were printers, tape drives, card punches User Operator (hire an operator) No direct user interactions 1/24/2004 Operating Systems 2

User prepares a job consist of program,data and some control information about the nature of the job Output consist of result of the program as well as the dump of the final memory and register contents for debugging. Reduce setup time by batching similar jobs Automatic job sequencing automatically transfers control from one job to another. Main task of the OS was to transfer control from one job to another. 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 1/24/2004 Operating Systems 3

Memory Layout for a Simple Batch System 1/24/2004 Operating Systems 4

Parts of OS 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. Spooling Overlap I/O of one job with computation of another job. While executing one job, the OS 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 1/24/2004 Operating Systems 5

Multi Programmed Systems Several jobs are kept in main memory at the same time, and the CPU is multiplexed among them. High CPU utilization compared to batch processing. 1/24/2004 Operating Systems 6

Multi programming Keeps multiple runnable jobs loaded in memory Overlaps I/O processing of a job with computation of another. Benefits from I/O devices that can operate asynchronously Requires the use of interrupts and DMA Optimizes system throughput (number of jobs finished in a given amount of time) at the cost of response time. OS Features Needed for Multiprogramming 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. 1/24/2004 Operating Systems 7

Time Sharing (Multi tasking) Systems Logical extension of multiprogramming system 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). It allows many users to share the computer simultaneously. Gives illusion that each user has his own machine. Based on time slicing dividing CPU time among the users. Introduce new class of application interactive Users interact(through mouse,keyboard etc.. ) with computers (editors,debuggers etc..) 1/24/2004 Operating Systems 8

Desktop Systems computer system dedicated to a single user. Preferences -- User convenience and responsiveness Main OS in use Windows,UNIX,LINUX,MAC.. 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. Multi processor Systems More than one processor in close communication, sharing the computer bus, the clock and sometimes memory and peripheral devices. Advantages of parallel system: Increased throughput Economical Increased reliability graceful degradation,fail-soft systems 1/24/2004 Operating Systems 9

Symmetric multiprocessing (SMP) Each processor runs and identical copy of the OS. Many processes can run at once without performance deterioration. Most modern operating systems support SMP Tightly coupled system processors share memory and a clock; communication usually takes place through the shared memory. Asymmetric multiprocessing Each processor is assigned a specific task; master processor schedules and allocated work to slave processors. More common in extremely large systems 1/24/2004 Operating Systems 10

Distributed Systems 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. Enables Parallelism but speed up is not the goal. 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 1/24/2004 Operating Systems 11

Distributed Operating System less autonomy between computers gives the impression there is a single operating system controlling the network. Types of Distributed Systems Client Server Systems Compute server system, File server system Peer to Peer Systems Clustered Systems Usually performed to provide high availability. In Asymmetric clustering one machine will be in hot stand by mode while other is running the application. In Symmetric clustering 2 or more hosts are running applications and they are monitoring each other.this mode is more efficient. Parallel clusters allow multiple hosts to access the same data on the shared storage. 1/24/2004 Operating Systems 12

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. Examples QNX,RTLINUX. 1/24/2004 Operating Systems 13

Embedded Operating Systems OS embed on the System itself Fast, Application specific Examples Processor in modern washing machines, Cell phones, Control systems etc Handheld Systems Power consumption and weight must be low Memory ranges from 512KB to 8MB. Speed of the processor can not be very high because of the power consumption. 1/24/2004 Operating Systems 14

Migration of Operating-System Concepts and Features 1/24/2004 Operating Systems 15

Next Class Design Approaches for an operating System System components Operating system services System calls System programs System structure Virtual machines Read Chapter 3. 1/24/2004 Operating Systems 16