CSE 451: Operating Systems Winter 2004 Module 1 Course Introduction

Slides:



Advertisements
Similar presentations
CSE 451: Operating Systems Winter 2012 Introduction Mark Zbikowski Gary Kimura.
Advertisements

Introduction CSCI 444/544 Operating Systems Fall 2008.
Introduction to Operating Systems CS-2301 B-term Introduction to Operating Systems CS-2301, System Programming for Non-majors (Slides include materials.
Operating Systems CS451 Brian Bershad
1 School of Computing Science Simon Fraser University CMPT 300: Operating Systems I Dr. Mohamed Hefeeda.
W4118 Operating Systems OS Overview Junfeng Yang.
Computer Science 162 Discussion Section Week 2. Agenda Recap “What is an OS?” and Why? Process vs. Thread “THE” System.
CSE 451: Operating Systems Winter 2009 Introduction Mark Zbikowski Gary Kimura.
1 CSE451 Introduction to Operating Systems Spring 2007 Module 1 Course Introduction Gary Kimura & Mark Zbikowski March 26, 2007.
Operating Systems: Principles and Practice
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.
part I, , Part I Introduction to Operating Systems First Semester, Year 2000 Wannarat Suntiamorntut Department of Computer Engineering,
CSE 451: Operating Systems Autumn 2010 Module 1 Course Introduction Ed Lazowska 570 Allen Center.
CS 162 Discussion Section Week 1 (9/9 – 9/13) 1. Who am I? Kevin Klues Office Hours:
Introduction and Overview Questions answered in this lecture: What is an operating system? How have operating systems evolved? Why study operating 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.
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:
INTRODUCTION IT344 Fall /21/ Today’s agenda Administrivia course overview course staff general structure the text policies your to-do list.
CSE 451: Operating Systems Spring 2012 Module 1 Course Introduction Ed Lazowska 570 Allen Center.
Fall 2000M.B. Ibáñez Lecture 01 Introduction What is an Operating System? The Evolution of Operating Systems Course Outline.
1 CSE451 Introduction to Operating Systems Autumn 2002 Gary Kimura Lecture #1 September 30, 2002.
CS 153 Design of Operating Systems Spring 2015 Lecture 2: Intro and Architectural Support for Operating Systems.
Operating Systems David Goldschmidt, Ph.D. Computer Science The College of Saint Rose CIS 432.
Operating Systems and Systems Programming CS162 Teaching Staff.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
CENG334 Introduction to Operating Systems 1 Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
CSE 451: Operating Systems Winter 2015 Module 1 Course Introduction Gary Kimura Mark Zbikowski © 2013.
CIS250 OPERATING SYSTEMS Chapter One Introduction.
Operating Systems Introduction & Overview. Books (Tentative) Text Book: –Operating System Concepts, 6 th Edition, Silberschatz Galvin Gagne Reference.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
Silberschatz and Galvin  Operating System Concepts Module 1: Introduction What is an operating system? Simple Batch Systems Multiprogramming.
Copyright Prentice Hall, Inc. 1 Operating System Overview.
Operating System Concepts with Java – 7 th Edition, Nov 15, 2006 Silberschatz, Galvin and Gagne ©2007 Chapter 0: Historical Overview.
CS 162 Discussion Section Week 2. Who am I? Prashanth Mohan Office Hours: 11-12pm Tu W at.
Introduction to Operating Systems Concepts
Applied Operating System Concepts
CSE 451: Operating Systems Winter 2010 Introduction
2. OPERATING SYSTEM 2.1 Operating System Function
Chapter 1: Introduction
Introduction to Operating System (OS)
Chapter 1: Introduction
Overview Introduction to Operating Systems
Chapter 1: Introduction
Chapter 1: Introduction
Operating Systems and Systems Programming
CSE 451: Operating Systems Spring 2006 Module 1 Course Introduction
Operating System Concepts
CSE 451: Operating Systems Spring 2013 Module 1 Course Introduction
CSE 451: Operating Systems Winter 2007 Module 1 Course Introduction
CSE 451: Operating Systems Autumn 2004 Course Introduction Hank Levy
Introduction to Operating Systems
Operating Systems CSE451 Winter 2000
CSE 451: Operating Systems Winter 2003 Lecture 1 Course Introduction
Subject Name: Operating System Concepts Subject Number:
CSE 451: Operating Systems Autumn 2009 Module 1 Course Introduction
CSE 451: Operating Systems Winter 2006 Module 1 Course Introduction
Operating Systems CSE451 Spring 2000
Operating Systems CS451 Spring 1998
CSE 451: Operating Systems Autumn Module 24 Virtual Machine Monitors
Operating Systems CS451 Fall 1998
CSE 451: Operating Systems Winter 2004 Module 19 Distributed Systems
CSE 451: Operating Systems Spring 2005 Module 1 Course Introduction
CSE 335: Operating Systems L-3 T-2 L-1 Course Introduction
Chapter 2 Operating System Overview
CSE 451: Operating Systems Autumn 2003 Lecture 1 Course Introduction
Operating System Overview
CSE 451: Operating Systems Winter 2007 Module 1 Course Introduction
Operating System Concepts
Lecture Topics: 11/1 Hand back midterms
Presentation transcript:

CSE 451: Operating Systems Winter 2004 Module 1 Course Introduction Ed Lazowska lazowska@cs.washington.edu 570 Allen Center 1

© 2004 Ed Lazowska & Hank Levy Today’s agenda Administrivia course overview course staff general structure your to-do list overloading OS overview functional resource mgmt, major issues historical batch systems, multiprogramming, time shared OS’s PCs, networked computers 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy Course overview Everything you need to know will be on the course web page: http://www.cs.washington.edu/education/courses/451/CurrentQtr 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy But to tide you over for the next hour … course staff Ed Lazowska Tom Anderl Rick Cox Adrienne Noble general structure read the text prior to class class will supplement rather than regurgitate the text sections will focus on the project we really want to encourage discussion, both in class and in section 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy your to-do list … please read the entire course web thoroughly, today please get yourself on the cse451 email list, today, and check your email daily homework 1 (reading + problems) is posted on the web now; due Friday project 1 is posted on the web now and will be discussed in section on Thursday; due a week from Friday 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy Overloading If you’re going to drop this course please do it soon! If you want to get into this course plan for the worst case (we’re at our limit of 60 currently) but, make sure you’ve filed a petition with the advisors 4/17/2019 © 2004 Ed Lazowska & Hank Levy

What is an Operating System? An operating system (OS) is: a software layer to abstract away and manage details of hardware resources a set of utilities to simplify application development “all the code you didn’t write” in order to implement your application Applications OS Hardware 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© John DeTreville, Microsoft Corp. What is Windows? Application DOS 4/17/20194/17/2019 © John DeTreville, Microsoft Corp.

© John DeTreville, Microsoft Corp. What is Windows? Application … Application Browser TCP/IP … COM … Installer Printing DOS Windows 4/17/20194/17/2019 © John DeTreville, Microsoft Corp.

© John DeTreville, Microsoft Corp. What is .NET? Application Internet 4/17/20194/17/2019 © John DeTreville, Microsoft Corp.

© John DeTreville, Microsoft Corp. What is .NET? Application FedEx Bank eBay Extensibility Asynchrony … XML magic … Device independence Identity & security Internet .NET 4/17/20194/17/2019 © John DeTreville, Microsoft Corp.

© 2004 Ed Lazowska & Hank Levy The OS and hardware An OS mediates programs’ access to hardware resources Computation (CPU) Volatile storage (memory) and persistent storage (disk, etc.) Network communications (TCP/IP stacks, ethernet cards, etc.) Input/output devices (keyboard, display, sound card, etc.) The OS abstracts hardware into logical resources and well-defined interfaces to those resources processes (CPU, memory) files (disk) programs (sequences of instructions) sockets (network) 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy Why bother with an OS? Application benefits programming simplicity see high-level abstractions (files) instead of low-level hardware details (device registers) abstractions are reusable across many programs portability (across machine configurations or architectures) device independence: 3Com card or Intel card? User benefits safety program “sees” own virtual machine, thinks it owns computer OS protects programs from each other OS fairly multiplexes resources across programs efficiency (cost and speed) share one computer across many users concurrent execution of multiple programs 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy The major OS issues structure: how is the OS organized? sharing: how are resources shared across users? naming: how are resources named (by users or programs)? security: how is the integrity of the OS and its resources ensured? protection: how is one user/program protected from another? performance: how do we make it all go fast? reliability: what happens if something goes wrong (either with hardware or with a program)? extensibility: can we add new features? communication: how do programs exchange information, including across a network? 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy More OS issues… concurrency: how are parallel activities (computation and I/O) created and controlled? scale: what happens as demands or resources increase? persistence: how do you make data last longer than program executions? distribution: how do multiple computers interact with each other? accounting: how do we keep track of resource usage, and perhaps charge for it? 4/17/2019 © 2004 Ed Lazowska & Hank Levy

Progression of concepts and form factors 4/17/2019 © Silberschatz, Galvin and Gagne © 2004 Ed Lazowska & Hank Levy

Multiple trends at work “Ontogeny recapitulates phylogeny” Ernst Haeckel (1834-1919) (“always quotable, even when wrong”) “Those who cannot remember the past are condemned to repeat it” George Santayana (1863-1952) But new problems arise, and old problems re-define themselves The evolution of PCs recapitulated the evolution of minicomputers, which had recapitulated the evolution of mainframes But the ubiquity of PCs re-defined the issues in protection and security 4/17/2019 © 2004 Ed Lazowska & Hank Levy

Protection and security as an example none OS from my program your program from my program my program from my program access by intruding individuals access by intruding programs denial of service distributed denial of service spoofing spam worms viruses stuff you download and run knowingly (bugs, trojan horses) stuff you download and run unknowingly (cookies, spyware) 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy OS history In the very beginning… OS was just a library of code that you linked into your program; programs were loaded in their entirety into memory, and executed interfaces were literally switches and blinking lights And then came batch systems OS was stored in a portion of primary memory OS loaded the next job into memory from the card reader job gets executed output is printed, including a dump of memory (why?) repeat… card readers and line printers were very slow so CPU was idle much of the time (wastes $$) 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy Spooling Disks were much faster than card readers and printers Spool (Simultaneous Peripheral Operations On-Line) while one job is executing, spool next job from card reader onto disk slow card reader I/O is overlapped with CPU can even spool multiple programs onto disk OS must choose which to run next job scheduling but, CPU still idle when a program interacts with a peripheral during execution buffering, double-buffering 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy Multiprogramming To increase system utilization, multiprogramming OSs 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 completion, OS runs instructions from another job to benefit, need asynchronous I/O devices need some way to know when devices are done interrupts polling goal: optimize system throughput perhaps at the cost of response time… 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy Timesharing To support interactive use, create a timesharing OS: multiple terminals into one machine each user has illusion of entire machine to him/herself optimize response time, perhaps at the cost of throughput Timeslicing divide CPU equally among the users if job is truly interactive (e.g. editor), then can jump between programs and users faster than users can generate load permits users to interactively view, edit, debug running programs (why does this matter?) MIT Multics system (mid-1960’s) was the first large timeshared system nearly all OS concepts can be traced back to Multics 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy Distributed OS distributed systems to facilitate use of geographically distributed resources workstations on a LAN servers across the Internet supports communications between jobs interprocess communication message passing, shared memory networking stacks sharing of distributed resources (hardware, software) load balancing, authentication and access control, … speedup isn’t the issue access to diversity of resources is goal 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy Parallel OS Some applications can be written as multiple parallel threads or processes can speed up the execution by running multiple threads/processes simultaneously on multiple CPUs need OS and language primitives for dividing program into multiple parallel activities need OS primitives for fast communication between activities degree of speedup dictated by communication/computation ratio many flavors of parallel computers SMPs (symmetric multi-processors) MPPs (massively parallel processors) NOWs (networks of workstations) computational grid (SETI @home) 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy Embedded OS Pervasive computing cheap processors embedded everywhere how many are on your body now? in your car? cell phones, PDAs, network computers, … Typically very constrained hardware resources slow processors very small amount of memory (e.g. 8 MB) no disk typically only one dedicated application 4/17/2019 © 2004 Ed Lazowska & Hank Levy

© 2004 Ed Lazowska & Hank Levy CSE 451 In this class we will learn: what are the major components of most OS’s? how are the components structured? what are the most important (common?) interfaces? what policies are typically used in an OS? what algorithms are used to implement policies? Philosophy you may not ever build an OS but as a computer scientist or computer engineer you need to understand the foundations most importantly, operating systems exemplify the sorts of engineering design tradeoffs that you’ll need to make throughout your careers – compromises among and within cost, performance, functionality, complexity, schedule … 4/17/2019 © 2004 Ed Lazowska & Hank Levy