Tuesday, June 06, 2006 I hear and I forget, I see and I remember, I do and I understand. -Chinese Proverb.

Slides:



Advertisements
Similar presentations
Introduction to Operating Systems
Advertisements

OPERATING SYSTEMS Lecturer: Szabolcs Mikulas Office: B38B
Introduction CSCI 444/544 Operating Systems Fall 2008.
CS 345 Computer System Overview
Winter 2005 CMPE 151: Network Administration Lecture 2.
Lecture 1: History of Operating System
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
MCT260-Operating Systems I Operating Systems I Introduction to Operating Systems.
Introduction to Computer Systems and Operating Systems
Wednesday, June 07, 2006 “Unix is user friendly … it’s just picky about it’s friends”. - Anonymous.
Understanding Operating Systems 1 Overview Introduction Operating System Components Machine Hardware Types of Operating Systems Brief History of Operating.
Operating Systems Concepts Professor Rick Han Department of Computer Science University of Colorado at Boulder.
MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 1 Introduction Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall,
Operating Systems.
Cs238 Lecture 3 Operating System Structures Dr. Alan R. Davis.
A. Frank - P. Weisberg Operating Systems Evolution of Operating Systems.
1 What is an operating system? CSC330Patricia Van Hise.
Operating Systems ECE344 A brief history of OS Ding Yuan ECE Dept., University of Toronto
 Introduction Introduction  Definition of Operating System Definition of Operating System  Abstract View of OperatingSystem Abstract View of OperatingSystem.
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.
Operating systems CHAPTER 7.
1 ITSK 2611 Welcome. 2 Operating System 3 What is an OS Resource Manager –Disk –Memory –CPU Device Manager –Printers –Video Card –Sound Card Utility.
By Tanner And Whitney.  The CPU of a computer does most of the work.  It changes information it takes out of the RAM  Uses input and output devices.
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating systems?
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
Operating Systems.
LINUX System : Lecture 2 OS and UNIX summary Bong-Soo Sohn Assistant Professor School of Computer Science and Engineering Chung-Ang University Acknowledgement.
WEEK 1 COURSE INTRODUCTION INTRODUCTION TO OPERATING SYSTEMS OPERATING SYSTEM STRUCTURES Operating Systems CS3013 / CS502.
1 Operating System Overview. 2 Today’s Objectives Explain the main purpose of operating systems and describe milestones of OS evolution Explain fundamental.
Understanding Operating Systems Flynn & McHoes
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.
Operating Systems Principles Lecture 1: Introduction 主講人:虞台文.
Contact Information Office: 225 Neville Hall Office Hours: Monday and Wednesday 12:00-1:00 E-Main: Phone:
MODERN OPERATING SYSTEMS Third Edition ANDREW S. TANENBAUM Chapter 1 Introduction Tanenbaum, Modern Operating Systems 3 e, (c) 2008 Prentice-Hall, Inc.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview Part 2: History (continued)
History  Generation 0  Charles Babbage ( )  analytical engine  purely mechanical  Ada Lovelace – first programmer.
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.
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.
1 Operating Systems: Principles and Practice Cpr E 308.
Chapter 1 Introduction to Operating System Part 1
Copyright ©: University of Illinois CS 241 Staff1 Operating Systems Orientation.
We will focus on operating system concepts What does it do? How is it implemented? Apply to Windows, Linux, Unix, Solaris, Mac OS X. Will discuss differences.
CIS250 OPERATING SYSTEMS Chapter One Introduction.
CS 345 Computer System Overview
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
Copyright ©: Nahrstedt, Angrave, Abdelzaher1 Operating System Overview Tarek Abdelzaher Lawrence Angrave Vikram Adve.
Operating Systems.
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.
Midterm OPERATING SYSTEM. Objectives At the end of the course, the student should be able to: Define the operating system; Demonstrate the abstract view.
© Janice Regan, CMPT 300, May CMPT 300 Introduction to Operating Systems Operating Systems Overview: Using Hardware.
L ECTURE -6 Topics: Introduction to Operating system. Functions of an Operating system. Classification of Operating systems.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Silberschatz, Galvin and Gagne ©2007 Chapter 0: Historical Overview.
Applied Operating System Concepts
Introduction to comp. and prog. CS 101 G 964
Evolution of Operating Systems
Introduction to Operating System (OS)
Computer Science I CSC 135.
What is an Operating System?
Operating System Concepts
Operating Systems CS451 Fall 1998
Operating System Introduction
Operating Systems Principles Lecture 1: Introduction
Operating System Concepts
Lecture Topics: 11/1 Hand back midterms
Introduction and History
Operating System Introduction
Presentation transcript:

Tuesday, June 06, 2006 I hear and I forget, I see and I remember, I do and I understand. -Chinese Proverb

Today §Course Overview §Why a course on operating systems? §What is an operating system?

§Course URL §Folder on indus \\indus\Common\cs381m05 §Website – Check Regularly: Course announcements, Slides, Resources, Policies … §Course Outline CS 381 : Operating Systems

§Several programming exercises will be given throughout the course. The purpose of these exercises will be to give students practice in using the UNIX system calls, library functions, and algorithms. §The development environment will be C on UNIX. CS 381 : Operating Systems

Assumptions §Unix shell commands §gcc, gdb, makefile §Text editor emacs, vi §C programming

Pre-requisites  Computer Organization & Assembly Language (CS 223)  Load registers, interrupts, DMA …  Data Structures

What is an OS? §Software between applications and reality: l Abstracts the underlying hardware. l Gives illusion of changing finite into (almost) infinite. l Provides protection (from malicious or buggy programs). compiler editor browser OS hardware spreadsheet Makes reality pretty!

Components of a simple personal computer?

Components of a simple personal computer Monitor Bus

Efficiency. Convenience, ease of use. Optimize utilization E.g. mainframes: expensive Fairness Operating System: Manages all the devices Provides users simpler interface to the hardware

Intermediary between a user of a computer and the computer hardware.

Monitor Bus Extended Machine : Simpler Interface Disk (Mechanical and Electrical components) Disk I/O?

Monitor Bus Extended Machine : Simpler Interface Disk I/O Instructions for loading device registers Motor On/Off, Speed, Movement of disk arm, sectors/tracks … Different for different devices!

Hide Complexity §E.g. File interface.

OS as Resource Manager Orderly and controlled access, l Resolve conflicts §Prevent illegal accesses §Device I/O (Maintain queues) l E.g. Printers §Sharing Resources l CPU (Time multiplexing) l Memory (Space multiplexing)

OS: Extended example of a complex system Deal with complexity. Millions of lines of code.

§Hardware and Operating Systems have influenced each other.

Charles Babbage ( ) l First analytical Engine l Purely mechanical

Vacuum Tubes ( ) l Calculating Engines l Entire rooms l Tens of thousands of Vacuum Tubes (problems of burn outs) l Wiring up plug boards! Seen a vacuum tube?

Vacuum Tubes ( ) l Calculating Engines l Entire rooms l Tens of thousands of Vacuum Tubes (problems of burn outs) l Wiring up plug boards!

Transistors ( ) l Reliability l FORTRAN Program punched on cards Problems: CPU idle time I/O speeds vs CPU speeds (Mechanical vs Electrical) Costly equipment What if a ; missed?

Transistors ( ) l Reliability l FORTRAN Program punched on cards Problems: CPU idle time I/O speeds vs CPU speeds (Mechanical vs Electrical) Costly equipment

Early batch system l bring cards to 1401 l read cards to tape l put tape on 7094 which does computing l put tape on 1401 which prints output Mostly used for scientific and engineering calculations

What if a ; missed? §What if it runs over the cards of another program? l No protection between users

ICs and Multiprogramming ( ) IBM 360 series: Software compatible machines Enormous and complex operating systems Costly machines Lead to multiprogramming CPU bound (scientific calculations) I/O bound

ICs and Multiprogramming ( ) Software compatible machines Enormous and complex operating systems Costly machines Lead to multiprogramming Protection among users!

Introduction of key techniques §Multiprogramming §Spooling (Simultaneous Peripheral Operation On Line) §From Batch systems to Timesharing

Introduction of key techniques (cont’d) From Batch systems to Timesharing §I/O “people’s speed” l Response time §Memory management §CPU scheduling §Process Synchronization

MIT, Bell Labs and GE “Machine that would support hundreds of time sharing users” MULTICS (MULTIplexed Information and Computing Service) §Ahead of time.

At Bell Labs … One user version of MULTICS. Developed into UNIX

Linus Benedict Torvalds (August 1991) “ I'm doing a (free) operating system (just a hobby …) for 386(486) clones …” §Linus himself didn't believe that his creation was going to be big enough to change computing forever. §Linux version 0.01 was released by mid September 1991, and was put on the net. §Enthusiasm gathered around this project and codes were downloaded, tested, tweaked, and returned to Linus.

Personal Computers (1980 – Present) §Large Scale Integration (LSI) §Intel came with 8080 which became hugely popular §First microcontroller with disk l DOS (Disk Operating Systems) Seattle Computer Products MS-DOS (does not support multiprogramming) l Doug Engelbart (Mouse, GUI) l Apple GUI l Windows

Monitor Bus Disk I/O Commands and accepts responses Instructions for loading device registers etc. Different for different devices! Device drivers (by each controller manufacturer) One for each OS supported.

Device drivers §Run inside the kernel. §Dynamically loaded drivers.

Input/Output §Controllers have registers for communication §Memory mapped I/O §Separate I/O space §Hybrid

Some design issues I/O Space §Special IN/OUT instructions (use of assembly code) Memory mapped §Caching of device registers should not be done! §Multiple buses