Introduction and History

Slides:



Advertisements
Similar presentations
Introduction CSCI 444/544 Operating Systems Fall 2008.
Advertisements

CMPT 300: Operating Systems I Dr. Mohamed Hefeeda
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
Phones OFF Please Operating System Introduction Parminder Singh Kang Home:
Lecture 1: Introduction CS170 Spring 2015 Chapter 1, the text book. T. Yang.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
Introduction. Why Study OS? Understand model of operation –Easier to see how to use the system –Enables you to write efficient code Learn to design an.
Chapter 3.1: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.
Chapter 3 Operating Systems Introduction to CS 1 st Semester, 2015 Sanghyun Park.
OPERATING SYSTEMS Prof. Sujata Rao Lesson 3. Agenda 1. What is an operating system? 2. How have operating systems evolved? 3. Functions of Operating System.
Objectives To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization.
Chapter 4: What is an operating system?. What is an operating system? A program or collection of programs that coordinate computer usage among users and.
1 Lecture 2 Introduction, OS History n objective of an operating system n OS history u no OS u batch system u multiprogramming u multitasking.
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
Chapter 1. Introduction What is an Operating System? Mainframe Systems
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 1 Introduction Read:
◦ What is an Operating System? What is an Operating System? ◦ Operating System Objectives Operating System Objectives ◦ Services Provided by the Operating.
Recall: Three I/O Methods Synchronous: Wait for I/O operation to complete. Asynchronous: Post I/O request and switch to other work. DMA (Direct Memory.
Course Introduction Andy Wang COP 5611 Advanced Operating Systems.
المحاضرة الاولى Operating Systems. The general objectives of this decision explain the concepts and the importance of operating systems and development.
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
Chapter 1: Introduction and History  Where does the operating system fit in a computing system?  What does the operating system achieve?  What are the.
Operating System Principles And Multitasking
CIS250 OPERATING SYSTEMS Chapter One Introduction.
Introduction and History Sarah Diesburg Operating Systems COP 4610.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Introduction to Operating System. 1.1 What is Operating System? An operating system is a program that manages the computer hardware. It also provides.
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
Introduction and History Andy Wang Operating Systems COP 4610 / CGS 5765.
1.1 Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 1: Introduction What Operating Systems Do √ Computer-System Organization.
Applied Operating System Concepts
Introduction to Operating Systems
Applied Operating System Concepts
2. OPERATING SYSTEM 2.1 Operating System Function
Andy Wang COP 5611 Advanced Operating Systems
Chapter 1: Introduction
Chapter 1: Introduction
Course Introduction Dr. Eggen COP 6611 Advanced Operating Systems
Andy Wang COP 5611 Advanced Operating Systems
THE OPERATION SYSTEM The need for an operating system
Introduction to Operating System (OS)
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Introduction to Operating Systems
Introduction and History
Introduction and History
Introduction To OS (OS Structure, Modes and Services)
Introduction and History
Operating System Concepts
Introduction to Operating Systems
Introduction to Operating Systems
Andy Wang COP 5611 Advanced Operating Systems
Introduction and History
Andy Wang COP 5611 Advanced Operating Systems
The Main Features of Operating Systems
Andy Wang Operating Systems COP 4610 / CGS 5765
Andy Wang Operating Systems COP 4610 / CGS 5765
Chapter 2 Operating System Overview
Instructor: Xiuwen Liu Department of Computer Science
Introduction TO Operating SYSTEM
Operating System Overview
Chapter 1: Introduction
Andy Wang COP 5611 Advanced Operating Systems
Operating System Concepts
Andy Wang Operating Systems COP 4610 / CGS 5765
Lecture Topics: 11/1 Hand back midterms
Introduction and History
Presentation transcript:

Introduction and History Andy Wang Operating Systems COP 4610 / CGS 5765

What is an Operating System?

What is an Operating System? A virtual machine Hides the complexity and limitations of hardware from application programmers Applications Operating system (virtual machine) Raw machine Virtual machine interface Physical machine interface

For Each OS Component There are two major design questions: What is the hardware interface? The physical reality What is the application interface? The nicer abstraction

Reality vs. Abstraction A single CPU Multiple CPUs Limited RAM capacity Infinite capacity Mechanical disk Memory speed access Insecure and unreliable networks Reliable and secure Many physical machines A single machine

Two General OS Functions Standard services Screen display Disk accesses Coordination among applications Goals: correctness, efficiency, and fairness

Standard Services Example: disk drive Track Sector Cylinder

Disk Access Raw disk access OS-level access write(block, len, device, track, sector); OS-level access lseek(file, file_size, SEEK_SET); write(file, text, len);

Coordination Example: Protection Applications should not crash one another Address space: all memory addresses that an application can touch Applications should not crash the OS Dual-mode operations Kernel mode: anything goes User mode: an application can only access its own address space

Four Recurring Themes OS as an illusionist OS as a government Overcomes hardware limitations OS as a government Protects users from one another Allocates resources efficiently and fairly OS as a complex system OS as a history teacher Learns from the past to predict the future

History of OS: Change! 1980 2010 Factor Speed CPU 1 MIPS 146,000 MIPS 1.5 x 105 Memory 500 ns 0.9 ns 5.0 x 10 Storage 18 ms 30 μs 6.0 x 103 Network 300 bits/sec 100 Gb/sec 3.6 x 108 Capacity 64 Kbytes 128 GB 2.0 x 106 Disk 1 Mbytes 4 TB 4.0 x 106 Cost Per MIP $100K/MIP $0.0076/MIP 1.3 x 107 Other Address bits 8 64 Users/machine 10s 0.01 1.0 x 103

History Phase I: Hardware Expensive, Humans Cheap Hardware: mainframes OS: human operators Handle one job (a unit of processing) at a time Computer time wasted while operators walk around the machine room

OS Design Goal Efficient use of the hardware Batch system: collects a batch of jobs before processing them and printing out results Job collection, job processing, and printing out results can occur concurrently Multiprogramming: multiple programs can run concurrently Example: I/O-bound jobs and CPU-bound jobs

History Phase II: Hardware Cheap, Humans Expensive Hardware: terminals OS design goal: more efficient use of human resources Timesharing systems: each user can afford to own terminals to interact with machines

History Phase III: Hardware Very Cheap, Humans Very Expensive Hardware: personal computers OS design goal: allowing a user to perform many tasks at the same time Multitasking: the ability to run multiple programs on the same machine at the same time Multiprocessing: the ability to use multiple processors on the same machine

History Phase IV: Distributed Systems Hardware: computers with networks OS design goal: ease of resource sharing among machines

The Bottom Line OS designs need to adapt to changing technology

Homework 1 Posted Due in class next week Xerox copy of your face Tell me something fun/silly that you have done