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.

Slides:



Advertisements
Similar presentations
Maninder Kaur OPERATING SYSTEM Maninder Kaur 11 Oct 2010.
Advertisements

Introduction CSCI 444/544 Operating Systems Fall 2008.
CMSC 421: Principles of Operating Systems Section 0202 Instructor: Dipanjan Chakraborty Office: ITE 374
Chapter 1: Introduction
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
OS1-1 Chapter 1 Introduction. OS1-2 Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems.
1 CIS450/IMSE450/ECE478 Operating Systems Winter 2003 Professor Jinhua Guo.
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
Introduction  What is an Operating System  What Operating Systems Do  How is it filling our life 1-1 Lecture 1.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
1/16/2008CSCI 315 Operating Systems Design1 Introduction Notice: The slides for this lecture have been largely based on those accompanying the textbook.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
part I, , Part I Introduction to Operating Systems First Semester, Year 2000 Wannarat Suntiamorntut Department of Computer Engineering,
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
1 5/25/2016 操作系统课件 教材: 《操作系统概念(第六版 影印版)》 【原书名】 Operating System Concepts(Sixth Edition) [ 原书信息 ] Operating System Concepts(Sixth Edition) [ 原书信息 ] 【原出版社】
Thanks to Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction n What is an Operating System? n Mainframe Systems.
 What is OS? What is OS?  What OS does? What OS does?  Structure of Operating System: Structure of Operating System:  Evolution of OS Evolution of.
Operating Systems.
 Introduction to Operating System Introduction to Operating System  Types Of An Operating System Types Of An Operating System  Single User Single User.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 1 Introduction Read:
CS 1308 Computer Literacy and the Internet. Introduction  Von Neumann computer  “Naked machine”  Hardware without any helpful user-oriented features.
Understanding Operating Systems Flynn & McHoes
OSes: 1. Intro 1 Operating Systems v Objectives –introduce Operating System (OS) principles Certificate Program in Software Development CSE-TC and CSIM,
المحاضرة الاولى Operating Systems. The general objectives of this decision explain the concepts and the importance of operating systems and development.
Operating System Concepts Chapter One: Introduction What is an operating system? Simple Batch Systems Multiprogramming Systems Time-Sharing Systems Personal-Computer.
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
OPERATING SYSTEMS UNIT – I R.SOUJANYA IT Dept. UNIT I Computer System and Operating System Overview Chapter 1: IntroductionIntroduction Overview of Computer.
Silberschatz, Galvin and Gagne  Operating System Concepts Lectured by Dr. Lican Huang
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 and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
Operating System Principles And Multitasking
February 02Page 1 Operating Systems Introduction.
Chapter 1: Introduction
CIS250 OPERATING SYSTEMS Chapter One Introduction.
Operating System. Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
Operating Systems.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
1.1 Sandeep TayalCSE Department MAIT 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming Batched Systems Time-Sharing Systems.
CS4315A. Berrached:CMS:UHD1 Introduction to Operating Systems Chapter 1.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Multiprocessor Systems Distributed.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Silberschatz, Galvin and Gagne ©2007 Chapter 0: Historical Overview.
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered System Real.
Applied Operating System Concepts
Chapter 1: Introduction
Applied Operating System Concepts
Chapter 1: Introduction
Chapter 1: Introduction
Introduction to Operating System (OS)
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
חוברת שקפים להרצאות של ד"ר יאיר ויסמן מבוססת על אתר האינטרנט:
Operating System Concepts
Chapter 1: Introduction
Introduction to Operating Systems
Introduction to Operating Systems
Subject Name: Operating System Concepts Subject Number:
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Chapter 1: Introduction
Operating System Concepts
Chapter 1: Introduction
Presentation transcript:

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

2 Operating System Objective n Hardware - central processing unit (CPU), memory, input/output (I/O) devices - provides basic computer resources n Software u OS u applications programs - compilers, database systems, games, business programs OS makes the use of the computer easy and efficient n it is done by u providing standard services to the application programs (file access, memory management, networking, etc.) u coordination of multiple applications and users

3 Phase 0 - no OS One user at console F One function at a time (computation, I/O, user think/response) F Program loaded via card deck F User debugs at console Phase 1 - Batch Systems u No direct interaction between user (programmer) and machine: user submits her program (job) to another person - operator, the jobs are batched to speed up processing and run by the operator, the result is returned to the user u the processor (CPU) is idle most of the time since the peripheral devices are slow u maybe we can spool the jobs on disk to speed up the loading process? OS History, Feature Introduction

4 n Phase 2 - Multiprogramming u Multiprogramming - several programs are executed in parallel F Pick some jobs to run (scheduling), and put them in memory (memory management) F Run one job; when it waits on something (tape to be mounted, card read, key pressed), switch to another job in memory n Phase 3 Time sharing (Multitasking) u multiprogramming is done so fast that multiple user can access the system simultaneously u New problems: F Need preemptive scheduling to maintain adequate response time F Need to avoid thrashing (swapping programs in and out of memory too often) F Need to provide adequate protection OS History (cont.)

5 Lecture Review n operating system is a program that acts as an intermediary between a user of computer and computer hardware making the use of the machine easy and efficient n OS changed in size and sophistication from simple batch systems to modern multi-tasking, multi-user systems. n machine sharing and other improvements increased the number of problems OS has to solve: u complex task scheduling u protection u access to secondary storage (disks), networking, etc.

6 n MULTICS announced in 1963, not released until 1969 n IBM’s OS/360 released with 1000 known bugs n UNIX developed at Bell Labs so a couple of computer nerds (Thompson, Ritchie) could play Star Trek on an unused PDP-7 minicomputer Successes/Failures

7 n Concurrency u Multiple processes active at once u Processes can communicate u Processes may require mutually-exclusive access to some resource u CPU scheduling, resource management n Memory management — allocate memory to processes, move processes between disk and memory n File system — allocate space for storage of programs and data on disk n Networks and distributed computing — allow computers to communicate and work together n Security & protection Features of Modern OSes

8 n Enormous u Small OS = 100K lines of code u Big OS = 10M lines n Complex ( person year of work) n Poorly understood (outlives its creators, too large for one person to comprehend) n have to support a variety of software created at different times and with different demands (legacy code/modern software) Problems with modern OSes

9 New Research and Development n Parallel operating systems u Shared memory, shared clock u Large number of tightly-coupled processors u Appearance of single operating system n Distributed operating systems u No shared memory, no shared clock u Small number of loosely-coupled processors u Appearance of single operating system is ideal goal, but not realized in practice u May try to simulate a shared memory n Real-time operating systems u Meet hard / soft real-time constraints on processing of data n OSes for embedded computers – PDAs, Cameras, sensors, etc.

10 n A magician — provides each user with the illusion of a dedicated machine with infinite memory and CPU time n A government — allocates resources efficiently and fairly, protects users from each other, provides safe and secure communication n A parent — always there when you need it, never breaks, always succeeds n A fast food restaurant — provides a service everyone needs, always works the same everywhere (standardization) n A complex system — but keep it as simple as possible so that it will work An OS is like:

Operating Systems cs4/53201 Instructor Dr. Mikhail Nesterenko office: MCB phone: office hours:TU 5:30-6:45pm or by appointment webpage: textbook:Operating System Concepts by A. Silberschatz and P. B. Galvin artwork reproduced with the permission of Joe Tucciarone

12 n The history of OS follows the decrease of hardware cost and increase in speed and sophistication: n From 1953 the speed of computer systems increased 9 orders of magnitude (cf. the speed of means of public transportation throughout modern history increased only 2 orders of magnitude: horseback - 10 mph, supersonic passenger jet mph ) n Changes in “typical” academic computer: MIPS1400 price / MIPS$100,000$50 memory128 KByte64 MByte disk10 MByte4 GByte network9600 bit/sec155 Mb/s address bits1664 OS history