CENG334 Introduction to Operating Systems 1 Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:

Slides:



Advertisements
Similar presentations
Introduction to Operating Systems
Advertisements

CENG334 Introduction to Operating Systems
1 CSC 539: Operating Systems Structure and Design Spring 2006 See online syllabus at: Course goals:  to understand key.
Introduction CSCI 444/544 Operating Systems Fall 2008.
CS 345 Computer System Overview
Chapter 1: Introduction
Winter 2005 CMPE 151: Network Administration Lecture 2.
Operating Systems CS451 Brian Bershad
CS 104 Introduction to Computer Science and Graphics Problems Operating Systems (1) 02/18/2008 Yang Song (Prepared by Yang Song and Dr. Hung)
OS1-1 Chapter 1 Introduction. OS1-2 Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems.
W4118 Operating Systems OS Overview Junfeng Yang.
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.
1 CSE451 Introduction to Operating Systems Spring 2007 Module 1 Course Introduction Gary Kimura & Mark Zbikowski March 26, 2007.
A. Frank - P. Weisberg Operating Systems Evolution of Operating Systems.
Topic 1 – What is an OS? 1 CS502 Spring 2006 What is an Operating System? Characteristics –Large, complex set of programs –Long-lived, evolutionary –Worked.
Cs238 Introduction to Operating Systems Dr. Alan R. Davis.
OS Winter’03 Introduction (cont.) -History Operating Systems.
1/16/2008CSCI 315 Operating Systems Design1 Introduction Notice: The slides for this lecture have been largely based on those accompanying the textbook.
Operating Systems ECE344 A brief history of OS Ding Yuan ECE Dept., University of Toronto
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.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Week 11 CENG334 Introduction to Operating Systems Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
CHAPTER 2 OPERATING SYSTEM OVERVIEW 1. Operating System Operating System Definition A program that controls the execution of application programs 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.
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?
Introduction to Basic OS Concepts. Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems.
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:
Fall 2000M.B. Ibáñez Lecture 01 Introduction What is an Operating System? The Evolution of Operating Systems Course Outline.
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 Principles Lecture 1: Introduction 主講人:虞台文.
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 E-Main: Phone:
CS 153 Design of Operating Systems Spring 2015 Lecture 2: Intro and Architectural Support for Operating Systems.
W HAT IS AN O PERATING S YSTEM A program that acts as an intermediary between a user of a computer and the computer hardware. Operating system goals: Execute.
CENG334 Introduction to Operating Systems 1 Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
OPERATING SYSTEMS UNIT – I R.SOUJANYA IT Dept. UNIT I Computer System and Operating System Overview Chapter 1: IntroductionIntroduction Overview of Computer.
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
CIS250 OPERATING SYSTEMS Chapter One Introduction.
Operating Systems Introduction & Overview. Books (Tentative) Text Book: –Operating System Concepts, 6 th Edition, Silberschatz Galvin Gagne Reference.
MODERN OPERATING SYSTEMS Chapter 1 Introduction
Operating System. Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
CENG334 Introduction to Operating Systems 1 Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
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.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview: Using Hardware.
Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Silberschatz, Galvin and Gagne ©2007 Chapter 0: Historical Overview.
Sujata Ray Dey Maheshtala College Computer Science Department
Overview Introduction to Operating Systems
Chapter 1: Introduction
חוברת שקפים להרצאות של ד"ר יאיר ויסמן מבוססת על אתר האינטרנט:
CSE 451: Operating Systems Autumn 2004 Course Introduction Hank Levy
Operating Systems CSE451 Winter 2000
CSE 451: Operating Systems Winter 2003 Lecture 1 Course Introduction
Sujata Ray Dey Maheshtala College Computer Science Department
Operating Systems CSE451 Spring 2000
Operating Systems: History
Operating Systems CS451 Spring 1998
CSE 451: Operating Systems Winter 2004 Module 1 Course Introduction
Operating Systems CS451 Fall 1998
CSE 451: Operating Systems Spring 2005 Module 1 Course Introduction
What is an Operating System? A historical Perspective
Operating Systems Principles Lecture 1: Introduction
CSE 451: Operating Systems Autumn 2003 Lecture 1 Course Introduction
Lecture Topics: 11/1 Hand back midterms
Presentation transcript:

CENG334 Introduction to Operating Systems 1 Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL: Operating System Overview Topics Brief History OS Services System calls Basic Operation OS structures Some of the following slides are adapted from Matt Welsh, Harvard Univ.

2 In the Beginning... There was no OS – just libraries Computer only ran one program at a time, so no need for an OS Programming through wiring.. Harvard Mark I, 1944 IBM 360, 1960's ENIAC, 1945

3 In the Beginning... There was no OS – just libraries Computer only ran one program at a time, so no need for an OS And then there were batch systems Programs printed on stacks of punchhole cards OS was resident in a portion of machine memory When previous program was finished, OS loaded next program to run

4 Punch Card

5 In the Beginning... There was no OS – just libraries Computer only ran one program at a time, so no need for an OS And then there were batch systems Programs printed on stacks of punchhole cards OS was resident in a portion of machine memory When previous program was finished, OS loaded next program to run

6 In the Beginning... There was no OS – just libraries Computer only ran one program at a time, so no need for an OS And then there were batch systems Programs printed on stacks of punchhole cards OS was resident in a portion of machine memory When previous program was finished, OS loaded next program to run Disk spooling Disks were much read stack onto disk while previous program is running With multiple programs on disk, need to decide which to run next! But, CPU still idle while program accesses a peripheral (e.g., tape or disk!)‏

7 Multiprogramming To increase system utilization, multiprogramming OS’s were invented keeps multiple runnable jobs loaded in memory at once Overlaps I/O of a job with computing of another While one job waits for I/O to compile, CPU runs instructions from another job To benefit, need asynchronous I/O devices need some way to know when devices are done performing I/O Goal: optimize system throughput perhaps at the cost of response time… Dennis Ritchie and Ken Thompson at a PDP11, 1971

8 Timesharing To support interactive use, timesharing OS's were created multiple terminals connected to one machine each user has illusion of entire machine to him/herself optimize response time, perhaps at the cost of throughput Timeslicing divide CPU fairly among the users if job is truly interactive (e.g. editor), then can switch between programs and users faster than users can generate load MIT Multics (mid-1960’s) was the first large timeshared system nearly all modern OS concepts can be traced back to Multics

9 Personal Computing Totally changed the computing industry. CP/M: First personal computer OS IBM needed OS for their PCs, CP/M behind schedule Bill Gates to the rescue: Bought 86-DOS and made MS-DOS DOS is basically a subroutine library! Many popular personal computers follow Apple, Commodore, TRS-80, TI 99/4, Atari, etc... Bill Gates and Paul Allen, c.1975 Commodore VIC-20 IBM PC, 1981 Apple LISA, 1983 Apple I, 1976

10

11 Parallel Computing and Clusters High-end scientific apps want to use many CPUs at once Parallel processing to crunch on enormous data sets Need OS and language primitives for dividing program into parallel activities Need OS primitives for fast communication between processors degree of speedup dictated by communication/computation ratio Many kinds of parallel machines: SMPs: symmetric multiprocessors – several CPUs accessing the same memory MPPs: massively parallel processors – each CPU may have its own memory Clusters: connect a lot of commodity machines with a fast network

12 Distributed OS Goal – Make use of geographically distributed resources workstations on a LAN servers across the Internet Supports communication between applications interprocess communication (on a single machine): message passing and shared memory networking procotols (across multiple machines): TCP/IP, Java RMI,.NET SOAP “The Grid”,.NET, and OGSA Idea: Seamlessly connect vast computational resources across the Internet

13 Embedded OS The rise of tiny computers everywhere – ubiquitous computing Processor cost low enough to embed in many devices PDAs, cell phones, pagers,... How many CPUs are in your car? On your body right now? Gets more interesting with ubiquitous networking! Wireless networks becoming pervasive Sensor networks are an exciting new direction here Little “motes” with less 4KB of RAM, some sensors, and a radio Typically very constrained hardware resources slow processors very small amount of memory (e.g. 8 MB)‏ no disk – but maybe quasi-permanent storage such as EEPROM