Way easier than when we were students. Operating System Overview Jan. 14, 2005

Similar documents
Operating Systems Fundamentals. What is an Operating System? Focus. Computer System Components. Chapter 1: Introduction

Chapter 1: Introduction

Introduction. What is an Operating System? A Modern Computer System. Computer System Components. What is an Operating System?

Module 1: Introduction

Chapter 1: Introduction

Module 1: Introduction

Course Content. 07-Feb-17 Faculty of Computer Science & Engineering 1 BK TP.HCM

Module 1: Introduction. What is an Operating System?

Introduction to OS (cs1550)

OPERATING SYSTEMS UNIT - 1

Chapter 1: Introduction. Operating System Concepts 8th Edition,

ECE397A Operating Systems. Chapter 1: Introduction

CSC 453 Operating Systems

Part I Overview Chapter 1: Introduction

Chapter 1: Introduction

Introduction to Operating System. Dr. Aarti Singh Professor MMICT&BM MMU

Operating Systems. Introduction & Overview. Outline for today s lecture. Administrivia. ITS 225: Operating Systems. Lecture 1

CS 326: Operating Systems. CPU Scheduling. Lecture 6

Lecture 1 Introduction (Chapter 1 of Textbook)

To provide a grand tour of the major operating systems components To provide coverage of basic computer system organization

Chapter 1: Introduction. Operating System Concepts 9 th Edit9on

Contents. Today's Topic: Introduction to Operating Systems

Operating System: an Overview. Lucia Dwi Krisnawati, MA

Chapter 1: Introduction. What is an Operating System? Overview Course (contd.) How do I spend my time? Computer System Components

Topics. Operating System. What is an Operating System? Let s Get Started! What is an Operating System? Where in the Book are we?

Topics. Operating System I. What is an Operating System? Let s Get Started! What is an Operating System? OS History.

OS structure. Process management. Major OS components. CSE 451: Operating Systems Spring Module 3 Operating System Components and Structure

Operating System Overview

Introduction to Operating System

1. Operating System Concepts

Operating Systems. studykorner.org

European University of Lefke. Instructor: Dr. Arif SARI

Operating Systems CS3502 Spring 2018

Introduction. CS3026 Operating Systems Lecture 01

CS6401- Operating System QUESTION BANK UNIT-I

Types and Functions of Win Operating Systems

OPERATING SYSTEMS OVERVIEW

Operating Systems. Computer Science & Information Technology (CS) Rank under AIR 100

Computer Fundamentals : Pradeep K. Sinha& Priti Sinha

NETW3005 Operating Systems Lecture 1: Introduction and history of O/Ss

TYPES OF OPERATING SYSTEMS. Dimple Juneja

CSC 2405: Computer Systems II

Scheduling Mar. 19, 2018

I/O Systems. Jinkyu Jeong Computer Systems Laboratory Sungkyunkwan University

Introduction to System Programming

UNIT I OPERATING SYSTEMS OVERVIEW

Logistics. 1: Welcome and Overview. Topics. What is an operating system? Benefits of Operating Systems (1) Hardware Resources

Computer-System Architecture (cont.) Symmetrically Constructed Clusters (cont.) Advantages: 1. Greater computational power by running applications

OS concepts and structure. q OS components & interconnects q Structuring OSs q Next time: Processes

DM510 Operating Systems. Jacob Aae Mikkelsen

Operating Systems Course 2 nd semester 2016/2017 Chapter 1: Introduction

Chapter 14 Operating Systems

Chapter 14 Operating Systems

Chapter 2: Operating-System Structures

Fundamental Concepts and History

THE CPU SPENDS ALMOST ALL of its time fetching instructions from memory

CS370 Operating Systems

Operating System Review

Reserves time on a paper sign-up sheet. Programmer runs his own program. Relays or vacuum tube hardware. Plug board or punch card input.

Timers 1 / 46. Jiffies. Potent and Evil Magic

06-Dec-17. Credits:4. Notes by Pritee Parwekar,ANITS 06-Dec-17 1

EEE 435 Principles of Operating Systems

Operating Systems. Operating Systems

Distributed File Systems Issues. NFS (Network File System) AFS: Namespace. The Andrew File System (AFS) Operating Systems 11/19/2012 CSC 256/456 1

Operating Systemss and Multicore Programming (1DT089)

Operating Systems Overview. Chapter 2

Introduction to Computer Systems and Operating Systems

Operating Systems : Overview

Lecture 1: January 23

Introduction. Operating Systems. Introduction. Introduction. Introduction

Introduction to Operating Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

Architectural Support for Operating Systems

Operating Systems Overview. Chapter 2

Introduction to Operating Systems

Chapter 2: Operating-System Structures

OS Structure. Kevin Webb Swarthmore College January 25, Relevant xkcd:

Boot Camp. Dave Eckhardt Bruce Maggs

Introduction to Operating Systems

Input/Output Management

OPERATING- SYSTEM CONCEPTS

Lecture 1: January 22

CHAPTER-1: INTRODUCTION TO OPERATING SYSTEM:

Introduction. TDDI04, K. Arvidsson, IDA, Linköpings universitet Contents. What is an Operating System (OS)?

Operating Systems Introduction. Michael O Boyle

OPERATING SYSTEM. PREPARED BY : DHAVAL R. PATEL Page 1. Q.1 Explain Memory

Computer System Overview

OPERATING SYSTEM. Functions of Operating System:

Computer Principles and Components 1

COSC243 Part 2: Operating Systems

1: Welcome and Overview COM S 414. Last Modified: 9/2/ :04:21 PM

Process Time. Steven M. Bellovin January 25,

CS370 Operating Systems

Chapter 2: Operating-System Structures

Operating Systems Introduction. Mathieu Delalandre (PhD) University of Tours, Tours city, France

File Systems. OS Overview I/O. Swap. Management. Operations CPU. Hard Drive. Management. Memory. Hard Drive. CSI3131 Topics. Structure.


15 Sharing Main Memory Segmentation and Paging

Notes based on prof. Morris's lecture on scheduling (6.824, fall'02).

OS - Introduction Ezio Bartocci Institute for Computer Engineering

31268_WEB SYSTEMS LECTURE 1. Operating Systems Part 1

Transcription:

15-410 Way easier than when we were students Operating System Overview Jan. 14, 2005 Dave Eckhardt Bruce Maggs - 1 - L03_Overview

Synchronization Syllabus! Readings Project 0 Please read the syllabus! Posted on the schedule web page AFS volumes aren't created yet (we know) But you still need to get cross-realm tickets (see web) Questions? Please don't forget about the bboards - 2 -

Synchronization Reading Today Chapter 1, more or less Next week Chapter 4 (Process) Skip 4.5, 4.6 Thereafter Chapter 5 (Thread) Chapter 7 (Synchronization) Skip 7.9-3 -

Outline What is an OS? A home for a process Brief history Special topics for special hardware - 4 -

What is an OS? PalmOS 1 user, 1 task IBM VM/CMS 1000 users, 1 (DOS box) task apiece Capability-based OS User? What do you mean by user? - 5 -

What is an OS? Q: Size A: 16 kilobytes? A: 16 megabytes? Q: Portable? A: Of course!!! A: Why would you want portability??? Consensus elusive The stuff between the hardware and the application - 6 -

Common Features Abstraction layer People want files, not sectors People want I/O, not interrupts People want date & time, not "ticks since boot" Or: Obstruction layer See: Exokernel - 7 -

Common Features Virtualization Give everybody their own machine IBM's VM/SP is strong virtualization Your own 3081! PC-XT/370! Unix process is like a virtual machine too Upcoming lecture - 8 -

Common Features Protected Sharing (Controlled( Interference) Shared disk space-sliced Shared CPU time-sliced Shared keyboard/display Hmm... Shared memory Hmm... - 9 -

Single-process OS Examples DEC's RT-11 moment of silence CP/M (and its clone, MS-DOS) Apple DOS UCSD p-system (Early MacOS; PalmOS) - 10 -

Single-process OS Typical features One active program Some memory management A "file system" A command interpreter Built-in commands DIR, SET, ^C External commands compiler, editor - 11 -

Mainframe Batch OS Examples IBM HASP? Typical features Wasteful One active program I/O library Card reader, tape drive, printer Load next program (completion or abend ) Usually much of machine is idle - 12 -

Multiprogramming Batch OS Key insight Sometimes two programs fit in memory Each program is often waiting for I/O Two for the price of one! - 13 -

Multiprogramming Batch OS Typical features Job scheduling Semi-ordered entry to memory No longer a hot research topic Processor scheduling Multiplexing CPU somehow Input/Output stream abstraction Virtual card reader/punch JCL! - 14 -

Multiprogramming Batch OS Typical features Examples Memory mapping or linkage discipline (Hopefully) crash isolation IBM MVT, MVS - 15 -

Timesharing Key Insight (none) Timesharing = Interactive Multiprogramming Memory cheap enough for lots of processes Terminals cheap enough for lots of users - 16 -

Timesharing Examples CTS, ITS, TENEX VM/CMS MVS/TSO Multics Unix - 17 -

Timesharing Typical features Swapping processes out of memory to disk Virtual memory Fancy process scheduling (priorities,...) Inter-user/inter-process communication! Why not? You're all logged in all day... - 18 -

Other Visions Multics What if we designed an OS for a whole city? Timesharing on a grand scale Invented many modern OS technologies The Humane Interface Jef Raskin (designer of Mac UI) Design User Interface according to cognitive psych Then design all other software in system User should never see operating system Nor applications either! - 19 -

Shared-memory Multiprocessors Requirements cheap processors shared memory with some coherence Advantages Throughput linear if you're lucky Resource sharing efficiency (one box, one net port) but maybe: resource hot-spot inefficiency Machine can keep running if one processor dies - 20 -

Asymmetric Multiprocessing Typical One processor runs the OS kernel Other processors run user tasks Cheap hack Downside Easy to adapt a 1-processor OS Kernel is a hot spot Eventually that processor is 100% busy Then more processors can't increase user throughput - 21 -

Symmetric Multiprocessing Ideal multiprocessing Re-entrant multi-threaded kernel Fascinating problems TLB shoot-downs - 22 -

Distributed Applications Concept Yodeling from one mountain peak to another Standage, Victorian Internet Client-server WWW File service - 23 -

Distributed Applications Message passing / Peer-to-peer e-mail USENET Music/movie sharing Ad-hoc networking Sensor nets - 24 -

Loosely-Coupled Distributed Applications Sample Challenges Time delays may be large Vinge, Fire Upon the Deep Clarke, Songs of Distant Earth Group membership generally un-knowable Temporal coherence often very weak Messages must be somewhat self-contained No authority to trust - 25 -

Loosely-Coupled Distributed Applications Advantages Large systems can grow with minimal central planning Large, useful systems e-mail, USENET, WWW Aggregate throughput can be enormous Systems can keep working despite damage The Net interprets censorship as damage and routes around it John Gilmore - 26 -

Distributed File Systems Typical features Single global namespace Everybody agrees on mapping between files & names Many servers, but invisible Server name not part of file name File motion among servers is transparent Authentication across administrative boundaries Some client autonomy Avoid server hot spots - 27 -

Distributed File Systems Examples AFS OpenAFS Arla Coda Storage is hot NAS, SAN So maybe the time has come - 28 -

Distributed Operating Systems Intuition Mixture of remote and local resources Interactive process Local memory, processor, display, keyboard, mouse Remote file system Server process Local memory, processor (maybe disk) - 29 -

Distributed Operating Systems Examples Locus Amoeba Sprite Plan 9 ~Mach - 30 -

Distributed Operating Systems Common emphases Capabilities for objects Same format, behavior for remote or local objects (non-forgeable handles require cryptography) User-centric namespaces My "/tmp" is mine One namespace: files, processes, memory, devices - 31 -

Real-time Systems Sometimes time matters Music Gaming small glitches sound bad must match hand/eye coordination Factory process control Avionics - 32 -

Real-time Systems Hard real-time Glitch means something goes boom Avoid things with unpredictable timing Virtual memory, disks Seriously over-engineer Soft real-time Ok to do it right most of the time Minor changes to existing OS help a lot Fancy scheduler, fancy mutexes, memory locking - 33 -

Mobile Computing Examples PDAs Laptops Sensor networks Standard resources are tight Memory Processor speed Screen size - 34 -

Mobile Computing New worries Intermittent connectivity Self-organization Power - 35 -

Summary - 1 Resource abstraction Packets reliable byte streams Disk sectors files Resource naming - 36 -

Summary - 2 Resource sharing/protection CPU time slicing Memory swapping/paging Disk quotas - 37 -

Summary - 3 Communication & Synchronization Messaging Synchronizing & coherence - 38 -

Closing Upcoming Hardware (in one easy lecture!) The Process - 39 -