U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science Computer Systems Principles Introduction Emery Berger and Mark Corner University.

Slides:



Advertisements
Similar presentations
Operating System.
Advertisements

Lecture 11: Operating System Services. What is an Operating System? An operating system is an event driven program which acts as an interface between.
Introduction CSCI 444/544 Operating Systems Fall 2008.
CS 345 Computer System Overview
CMSC 421: Principles of Operating Systems Section 0202 Instructor: Dipanjan Chakraborty Office: ITE 374
Chapter 1: Introduction
Operating Systems CS451 Brian Bershad
UNIX Chapter 01 Overview of Operating Systems Mr. Mohammad A. Smirat.
Operating Systems CMPSCI 377 Lecture 11: Memory Management
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts, Amherst Operating Systems CMPSCI 377 Lecture.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop 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.
Operating Systems BTEC IT Practitioners.
University of Pennsylvania 9/7/00CSE 3801 CSE 380 Introduction to Operating Systems Insup Lee Fall 00.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
Wei University of Connecticut Operating Systems CSE 4300 Lecture 1.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts, Amherst Operating Systems CMPSCI 377 Lecture.
Cs238 Introduction to Operating Systems Dr. Alan R. Davis.
Silberschatz, Galvin and Gagne  Operating System Concepts Chapter 1: Introduction What is an Operating System? Mainframe Systems Desktop Systems.
Types of Operating System
CIS-410: Operating Systems Spring Organizational Details Class Meeting: 7:00-9:45pm, Monday, Room 252N Instructor: Dr. Igor Aizenberg Office: Aikin.
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.
Operating Systems.  Operating System Support Operating System Support  OS As User/Computer Interface OS As User/Computer Interface  OS As Resource.
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?
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.
Operating Systems CS3502 Fall 2014 Dr. Jose M. Garrido
 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:
Operating Systems CSE 411 Introduction and Overview Sept Lecture 1 Instructor: Bhuvan Urgaonkar.
OSes: 1. Intro 1 Operating Systems v Objectives –introduce Operating System (OS) principles Certificate Program in Software Development CSE-TC and CSIM,
OPERATING SYSTEMS Goals of the course Definitions of operating systems Operating system goals What is not an operating system Computer architecture O/S.
1.1 Operating System Concepts Introduction What is an Operating System? Mainframe Systems Desktop Systems Multiprocessor Systems Distributed Systems Clustered.
U NIVERSITY OF M ASSACHUSETTS, A MHERST Department of Computer Science Emery Berger University of Massachusetts, Amherst Operating Systems CMPSCI 377 Lecture.
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.
1 Operating Systems: Principles and Practice Cpr E 308.
Chapter 1: Introduction
O PERATING S YSTEM. What is an Operating System? An operating system is an event driven program which acts as an interface between a user of a computer,
CIS250 OPERATING SYSTEMS Chapter One Introduction.
Chapter 1 Basic Concepts of Operating Systems Introduction Software A program is a sequence of instructions that enables the computer to carry.
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.
Operating Systems (Credit to: Rick Graziani of Cabrillo College)
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.
10/2/20161 Operating Systems Design (CS 423) Elsa L Gunter 2112 SC, UIUC Based on slides by Roy Campbell, Sam King,
Chapter 1: Introduction
2. OPERATING SYSTEM 2.1 Operating System Function
Operating Systems CMPSCI 377 Lecture 1
Chapter 1: Introduction
Chapter 1: Introduction
Introduction to Operating System (OS)
Chapter 1: Introduction
Chapter 1: Introduction
What is an Operating System?
Introduction to Operating Systems
Operating Systems CSE451 Winter 2000
Operating Systems CSE451 Spring 2000
Operating Systems: History
Chapter 1: Introduction
Operating Systems CS451 Fall 1998
Chapter-1 Computer is an advanced electronic device that takes raw data as an input from the user and processes it under the control of a set of instructions.
Lecture Topics: 11/1 Hand back midterms
Presentation transcript:

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science Computer Systems Principles Introduction Emery Berger and Mark Corner University of Massachusetts Amherst

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 2 Today’s Class  Organizational meeting –Course organization & outline –Policies –Prerequisites & course sign-up  Intro to systems

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 3 Organizational Information  Course web page –Visit  Contact info

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 4 Class Information  Prerequisites –CMPSCI 187: Data Structures  Recommended –CMPSCI 220: Programming Methodology  No required text –Course notes available on-line: book.pdf

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 5 Course Requirements  Note: Percentages are subject to revision.  Five programming projects: 35% –Strict late policy! –Autograder  Participation: 5%  Exams: 60% –Midterm & cumulative final

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 6 Projects and Autograder  Most projects autograded –Provides fast feedback  You will need EdLab accounts  All projects in C++  Test and submit on Linux systems

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 7 Plagiarism  Cheaters will be found & executed –Sophisticated detection software –We follow rent-a-coder.com, etc.  Cheating = –“Borrowing” code from someone Includes reading previous solutions –Giving code to someone (even next year) –Copying code from anyone (including the net) –Hiring someone to write your code –Submitting someone else’s code as your own –Looking at anyone else’s code

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 8 Computer Systems Principles  What this class is about

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 9 Build Large Computer Systems  Goals: Fast, reliable, large scale  To build these systems, you need to know –Each computer: C and C++ (nitty gritty & more) Concurrency & scheduling Memory management & locality Disks, network, file systems –Across cluster: Server architectures Distributed computing, file systems

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 10 A Brief History of Systems  And now, for some historical context –From mainframes to web-based systems in nine slides

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science Single-User Computers  Hardware: expensive; humans: cheap  One user at a time on console –Interacting with as program runs  Computer executes one function at a time –No overlap: computation & I/O  User must be at console to debug  Multiple users = inefficient use of machine

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science Batch Processing  Execute multiple “jobs” in batch: –Load program –Run –Print results, dump machine state –Repeat  Users submit jobs (on cards or tape)  Human schedules batches of jobs  Operating system loads & runs jobs  More efficient use of machine –less waiting on the slowest component

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science Overlap I/O and Computation  Before: machine waits for I/O to complete  New approach: –Allow CPU to execute while waiting –Add buffering Data fills “buffer” and then output typically magnetic tape “buffer”, then removed to a printer –and interrupt handling I/O events trigger a signal (“interrupt”)  More efficient use of machine –still one job at a time

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science Multiprogramming  Several programs to run simultaneously –Run one job until I/O –Run another job, etc.  OS manages interactions –Which jobs to run (schedule) –Protects program’s memory from others –Decides which to resume when CPU available

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 15 OS Complexity  Increased functionality & complexity  First OS failures –Multics (GE & MIT): announced 1963, released 1969 –OS/360 released with 1000 known bugs  Need to treat OS design scientifically  Managing complexity becomes key to…

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 16 The Renaissance (1970’s)  Hardware: cheap; humans: expensive  Users share system via terminals  The UNIX era –Multics: army of programmers, six years –UNIX: three guys, two years “Shell”: composable commands No distinction between programs & data  But: response time & thrashing

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 17 Industrial Revolution (1980’s)  Hardware very cheap; –humans expensive  Widespread use of PCs –IBM PC: 1981, Macintosh: 1984  Simple OS (DOS, MacOS) –No multiprogramming, concurrency, memory protection, virtual memory, … –Later: networking, file-sharing, remote printing… –GUI added to OS (“WIMP”)

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 18 The Modern Era (1990’s-now)  Hardware cheap; more processing demand  “Real” operating systems on PC’s –NT (1991); Mac OS X; Linux  Different modalities: –Real-time: Strict or loose deadlines –Sensor/Embedded: Many small computers –Parallel: Multiple processors, one machine –Distributed: Multiple networked processors Think P2P, the Web, Google

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 19 Architectural Trends  Big Changes –In 50 years, almost every computer part 9 orders of magnitude faster, larger, cheaper

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science Running out of Steam? 20

U NIVERSITY OF M ASSACHUSETTS A MHERST Department of Computer Science 21 Coming Soon  New “features” coming –Multiple cores everywhere –Unreliable memory (?) –Flash memory (SSDs) –Serious power/heat constraints  Other tradeoffs possible –Computing power for reliability…