COP 4610 Introduction to Operating Systems. Chapter 1 - Introduction OS - Layer between the hardware and user programs (Figure 1.1) OS - The ultimate.

Slides:



Advertisements
Similar presentations
Operating Systems Components of OS
Advertisements

Processes and Threads Chapter 3 and 4 Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
COURSE: COMPUTER PLATFORMS
Operating System Foundations Lecture #2. Operating System Functions Processor Hard- disk Memory Frame -buffer Sound -card Printer Mouse Application.
CS-3013 & CS-502, Summer 2006 Virtual Machine Systems1 CS-502 Operating Systems Slides excerpted from Silbershatz, Ch. 2.
OS Fall ’ 02 Introduction Operating Systems Fall 2002.
Introduction to Systems Architecture Kieran Mathieson.
MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 1 Introduction Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall,
Chapter 8 Operating System Support
Figure 1.1 Interaction between applications and the operating system.
November 1, 2004Introduction to Computer Security ©2004 Matt Bishop Slide #29-1 Chapter 33: Virtual Machines Virtual Machine Structure Virtual Machine.
Chapter 6 - Implementing Processes, Threads and Resources Kris Hansen Shelby Davis Jeffery Brass 3/7/05 & 3/9/05 Kris Hansen Shelby Davis Jeffery Brass.
Operating Systems Concepts 1. A Computer Model An operating system has to deal with the fact that a computer is made up of a CPU, random access memory.
Virtualization Technology Prof D M Dhamdhere CSE Department IIT Bombay Moving towards Virtualization… Department of Computer Science and Engineering, IIT.
Operating Systems Who’s in charge in there?. Types of Software Application Software : Does things we want to do System Software : Does things we need.
Chapter 3 Process Description and Control Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Chapter 3: Operating-System Structures System Components Operating System Services System Calls System Programs System Structure Virtual Machines System.
Chapter 6 Operating System Support. This chapter describes how middleware is supported by the operating system facilities at the nodes of a distributed.
Chapter 3 Process Description and Control Operating Systems: Internals and Design Principles, 6/E William Stallings Patricia Roy Manatee Community College,
Introduction to Operating Systems Chapter 1. cs431 -cotter2 Lecture Objectives Understand the relationship between computing hardware, operating system,
MODERN OPERATING SYSTEMS Chapter 1 Introduction Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc. All rights reserved
MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 1 Introduction Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc.
Hardware process When the computer is powered up, it begins to execute fetch-execute cycle for the program that is stored in memory at the boot strap entry.
Chapter 1: Introduction and History  Where does the operating system fit in a computing system?  What does the operating system achieve?  What are the.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 3: Operating-System Structures System Components Operating System Services.
Operating Systems Lecture November 2015© Copyright Virtual University of Pakistan 2 Agenda for Today Review of previous lecture Hardware (I/O, memory,
Chapter 2 Introduction to OS Chien-Chung Shen CIS, UD
UNIX Unit 1- Architecture of Unix - By Pratima.
Overview of Operating Systems Introduction to Operating Systems: Module 0.
Hardware process When the computer is powered up, it begins to execute fetch-execute cycle for the program that is stored in memory at the boot strap entry.
MODERN OPERATING SYSTEMS Chapter 1 Introduction
CENG334 Introduction to Operating Systems 1 Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Chapter 2 Introduction to OS Chien-Chung Shen CIS/UD
Virtual Machines Mr. Monil Adhikari. Agenda Introduction Classes of Virtual Machines System Virtual Machines Process Virtual Machines.
Silberschatz, Galvin, and Gagne  Applied Operating System Concepts Module 3: Operating-System Structures System Components Operating System Services.
System Programming Basics Cha#2 H.M.Bilal. Operating Systems An operating system is the software on a computer that manages the way different programs.
Introduction to Operating System. 1.1 What is Operating System? An operating system is a program that manages the computer hardware. It also provides.
Major OS Components CS 416: Operating Systems Design, Spring 2001 Department of Computer Science Rutgers University
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
1.3 Operating system services An operating system provide services to programs and to the users of the program. It provides an environment for the execution.
Virtualization Neependra Khare
Welcome to Intro to Operating Systems Course Website:
Introduction to Operating Systems Concepts
CS 3214 Computer Systems Lecture 9 Godmar Back.
Module 3: Operating-System Structures
Operating System Structure
Operating Systems: A Modern Perspective, Chapter 6
Operating System Structure
CS490 Windows Internals Quiz 2 09/27/2013.
Introduction to Operating Systems
Who’s in charge in there?
Chapter 1: Intro (excerpt)
GEOMATIKA UNIVERSITY COLLEGE CHAPTER 2 OPERATING SYSTEM PRINCIPLES
MODERN OPERATING SYSTEMS Third Edition ANDREW S
System Calls.
Chapter 15, Exploring the Digital Domain
Chapter 1 Introduction to Operating System Part 5
Chapter 8: Memory management
Lecture Topics: 11/1 General Operating System Concepts Processes
Operating Systems Lecture 3.
Operating Systems: A Modern Perspective, Chapter 3
Computer System Structures
Outline Operating System Organization Operating System Examples
Chapter 2 Operating System Overview
Operating Systems Structure
Chapter-1 Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions.
Chapter 1: Introduction CSS503 Systems Programming
Presentation transcript:

COP 4610 Introduction to Operating Systems

Chapter 1 - Introduction OS - Layer between the hardware and user programs (Figure 1.1) OS - The ultimate API OS - First program that runs when the computer boots up OS - Program that is always running OS - Typically only one instance/machine

An OS functions as a resource manager and an implementer of virtual computers As a resource manager, the OS handles hardware, typically consisting of: –Processor –Memory –I/O controllers –Disk devices –Other I/O devices Abstract H/W diagram: Figure 1.2

Resource management by an OS involves: –Transforming a physical resource into an instance of a virtual resource (e.g., a printer) –Multiplexing between different instances of a virtual resource when there’s only one physical resource (e.g., use of SPOOLing disk files for virtual printers) –TDM (time division multiplexing) vs SDM (space division multiplexing); some resources make sense to TDM (printer); others SDM (disk) –Scheduling resources between programs

An OS creates a virtual computer for each program, with each it’s own: –Process(es) (TDM) –Address space(s) (SDM) –Disk objects/file system (SDM) The illusion is complete: Figure 1.3 Each virtual component has it’s own rules: –Figure 1.4: Virtual Processor Some native real processor instructions are masked; new “instructions” are added (aka system calls) P virtual = P physical - {Priv. Instr} + {Useful Instr}

Each virtual component has it’s own rules: –Figure 1.4: Virtual Processor (continued) Separation of instruction privileges decided (hopefully!) by hardware states: system and user Protected instructions are those which allow indiscriminate access to the hardware (address all of memory, access any I/O device, etc.) –Figure 1.5: Virtual Primary Memory Create illusion that each program has it’s own private memory starting at address 0 –Figure 1.6: Virtual I/O Create illusion that each program has it’s own set of hardware devices

–Figure 1.7:Virtual Secondary Memory Create illusion each program has it’s own private disk drive/file system