Operating Systems History & Approaches. Computer Systems Laboratory Sungkyunkwan University

Size: px
Start display at page:

Download "Operating Systems History & Approaches. Computer Systems Laboratory Sungkyunkwan University"

Transcription

1 Operating Systems History & Approaches Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

2 Pre-Multics Era (1) OS/360 A batch processing OS developed by IBM for System/360 mainframe computers (announced in 1964). A family of three control programs. The single task PCP (Primary Control Program) processed jobs sequentially. MFT (Multiprogramming li i with iha Fixed number of Tasks) added d multitasking, but only allowed a fixed number of concurrent tasks. MVF (Multiprogramming with a Variable number of Tasks) allowed varying numbers of tasks. OS/360 introduced IBM s batch-scripting language JCL (Job Control Language). g OS/360 was amongst the earliest OS to make direct access storage devices (DASD) a prerequisite for its operation. Evolution: MFT OS/VS1, MVT OS/VS2 MVS 2

3 Pre-Multics Era (2) CTSS (Compatible Time-Sharing System) Developed by MIT in 1961 for the IBM 709. One of the first time-sharing operating systems Compatible with the standard batch processing OS, the Fortran Monitor System (FMS). FMS in background, and programs compiled for FMS batch in foreground time-sharing environment Using virtual machines The system with the first computerized text formatting utility and inter-user electronic mail. A facility called RUNCOM for CTSS took a collection of commands contained in a file and executed ecuted them. This is the direct ancestor of the Unix shell script. 3

4 Multics (1) Multics Multiplexed Information and Computing Service A time-shared, multi-processor mainframe computing utility Originally started by MIT, GE, and Bell Labs for GE- 645, a 36-bit system, in Bell Labs quit in 1969 and built Unix. GE s computer business, including Multics, was taken over by Honeywell in Last system shutdown on 10/31/2000. / 4

5 Multics (2) Multics innovations Hierarchical file system. File / directory / path name / working directory Access Control Lists (ACLs). Long names on entries. Multiple l names on entries. Symbolic links. Storage quotas. Removable devices. The backup procedures. Lots of developments in management of virtual memory including segmentation and paging. 5

6 Multics (3) Multics innovations (cont d) Separating the command shell from the OS kernel. Dynamic linking. Implementation of an OS in a high level language (PL/1) Management of shared memory. Mapping of logical disk volumes onto physical volumes. Many developments in the area of secure computer systems. Multics was rated B2 by the NCSC in A subsequent system (based on the Multics experience) built by Honeywell was the first computer system ever rated A1. 6

7 Multics (4) Multics innovations (cont d) Multics Relational Data Store (MRDS) in The first commercial relational DBMS. The MRDS query language was similar to early SQL. Concurrent access to a database by multiple processes was supported. The database could be backed up in its entirety. Spreadsheets were developed on the Multics platform. Multics supports BCPL, BASIC, APL, FORTRAN, LISP, C, COBOL, ALGOL 68, and Pascal. Many optimizations for the LISP language through work on the Multics MACLISP compiler. 7

8 Unix (1) When BTL (Bell Telephone Laboratories) withdrew from the Multics project, they needed to rewrite an operating system in order to play space war on another smaller machine (a DEC PDP-7 with 4K memory for user programs). The result was a system which a punning colleague called UNICS (UNiplexed Information and Computing Services) an emasculated Multics ; no one recalls whose idea the change to UNIX was. -- Peter H. Salus, A Quarter Century of Unix, Addision-Wesley, It was the summer of '69. In fact, my wife went on vacation to my family's place in California... I allocated a week each to the operating system, the shell, the editor, and the assembler to reproduce itself, and during the month she was gone, it was totally rewritten in a form that looked like an operating system, with tools that were sort of known, you know, assembler, editor, and shell... Yeh, essentially one person for a month. -- Ken Thompson 8

9 Unix (2) Unix Features Hierarchical file systems Special files: uniform I/O, naming, and protection. Removable file systems via mount/umount t i-node Process control fork(), exec(), wait(), exit() Pipes for inter-process communication Shells Standard I/O and I/O redirection Filters Command separators Shell scripts Signals 9

10 Unix (3) 10

11 Multics vs. Unix (1) Timing Multics: The system was made available for general use in Unix: 1969 Present Fourth Edition (1973): rewritten in C. Sixth Edition (1975): available outside of Bell Labs. Design approach Multics: Top-down Clear goals drive design and primitives. Unix: Bottom-up Primitives define functionality (No predefined goals), while retaining simplicity and elegance. 11

12 Multics vs. Unix (2) Development Multics: Well-organized: MIT Project MAC: Design is key strength. Bell Labs: Online update capabilities, robustness, scalability GE/Honeywell: Defense contractor, hardware page program module specification BEFORE coding. An unanticipated phase of design iterations was necessary due to gross discrepancies i between actual and expected performance.»design, build, evaluate, design, build, evaluate, $6M / year for five years. 150 Man-Years for design and system programming, another 50 Man-Years for improvements. 12

13 Multics vs. Unix (3) Development (cont d) Unix: Two Man-Years. Build/design i mixed at same time. Target users Multics: military, government agencies, NSA, Unix: Universities, research institutions, Protection Multics: Protection rings Unix: All or nothing (superuser model) 13

14 Multics vs. Unix (4) Resource utilization Multics: Memory: 256KWords/box (1 word = 36 bits) Paging device (Drum): 4MWords Disk: 136MB Unix: Old, unused PDP-7 Occupies 42KBytes on PDP-11/45 with 144KBytes of memory. PDP-11 has a 1MB disk used for file system storage and swapping. 14

15 Multics vs. Unix (5) Resource management Multics: Multiprocessor support from start. Transparent multi-level memory model: memory drum disk True memory-mapped mapped world view. Unix: Simple 3 segment view. Partial memory mapped model later. 15

16 Multics vs. Unix (6) Summary Multics: Too complicated, too costly hardware. Second system effect (by Fred Brooks, The Mythical Man-Month)» System one was successful (CTSS)» System two aims to correct all flaws from #1» Almost always fails. Unix: Low cost hardware University adoption Simplicity, elegance, and ease of use. 16

17 Operating System Structure (1) Monolithic The Big Mess - a single large software system. Local procedure calls are used to communicate among different components. API Advantages: performance Disadvantages: Monolithic Kernel Difficult to maintain and upgrade because of the interdependencies d i Hardware in the code. Operating system code runs at supervisor level in the same memory space so that any component of the system could corrupt data being used by other components. Unixware, Solaris, AIX, HP-UX, Linux, etc. 17

18 Operating System Structure (2) Layered A hierarchy of layers, each one constructed upon the one below it. The layered approach is modular; simplifies the extension and maintenance of the code base. THE (Dijkstra, 1968): 6 layers 18

19 Operating System Structure (3) Layered (cont d) Multics: 8 rings of protection The inner ones are more privileged than the outer ones. (The supervisor runs in ring 0) Calling a procedure in an inner ring requires a system call, where the parameters are carefully checked for validity. The ring mechanism is present at run time and enforced by the hardware.» The hardware made it possible to designate individual procedures (memory segments, actually) as protected against reading, writing, or executing. The ring mechanism can easily be extended to structure user subsystems. 19

20 Operating System Structure (4) Microkernel Move as much functionality as possible from the kernel into user space. Communication takes place between user modules using message passing. A request for an operating system service from an application is processed by the microkernel and forwarded to the appropriate server. The server handles the request est and passes the results back to the kernel, which forwards them to the calling application. i Client process Memory Server File Server Terminal Server Microkernel 20

21 Operating System Structure (5) Microkernel (cont d) The Mach kernel only includes: Thread scheduling Message passing Virtual memory Device driver code Microkernels Mach (CMU) OSF/1, NeXTSTEP, IBM OS/2, MkLinux, GNU Hurd, Microsoft Windows NT/XP, Mac OS X Chorus (INRIA, Chorus) Amoeba (Andrew Vrije Univ.) QNX L3/L4 (GMD, Jochen Univ. Karlsruhe) 21

22 Operating System Structure (6) Microkernel: Benefits Extensibility, Reliability, Simplicity, Maintainability, Flexibility Modular structure (easy to add services) Easing system design, implementation, and maintenance Failure isolation, enhancing debuggability and validation (small microkernel can be rigorously tested.) Coexistence of different APIs, file systems, and OS personalities. Portability Changes needed to port the system to a new processor is done in the microkernel not in the other services. Distributed system support Transparent access to network services, aiding and encouraging distribution. Object-oriented operating system Components are objects with clearly defined interfaces that can be interconnected to form software. 22

23 Operating System Structure (7) Linux Monolithic kernel + (layered) kernel modules System Calls Kernel extensions Monolithic Linux Kernel Device driver modules (cf.) Monolithic kernels vs. Microkernels: A debate between Linus Torvalds and Andrew Tanenbaum (1992) 23

24 Operating System Structure (8) Microsoft Windows NT/2000/XP Modified microkernels or hybrid kernels Keep some codes in kernel space to run them more quickly. 24

25 Operating System Structure (9) Mac OS X 25

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

Introduction to Operating Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University Introduction to Operating Systems Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics What is OS? History of OS 2 What is OS? (1) Application

More information

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

Introduction to Operating Systems. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University Introduction to Operating Systems Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Why OS? 2 What is an OS? Software that converts hardware into

More information

Introduction to Operating Systems

Introduction to Operating Systems Introduction to Operating Systems Jinkyu Jeong (jinkyu@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu EEE3052: Introduction to Operating Systems, Fall 2017, Jinkyu Jeong

More information

INTRODUCTION TO OPERATING SYSTEMS. Jo, Heeseung

INTRODUCTION TO OPERATING SYSTEMS. Jo, Heeseung INTRODUCTION TO OPERATING SYSTEMS Jo, Heeseung TODAY'S TOPICS What is OS? History of OS 2 OPERATING SYSTEM? Computer systems internals 3 WHY DO WE LEARN OS? To graduate? To make a better OS or system Functionality

More information

Introduction to Operating Systems. Jo, Heeseung

Introduction to Operating Systems. Jo, Heeseung Introduction to Operating Systems Jo, Heeseung Today's Topics What is OS? History of OS 2 Operating System? Computer systems internals 3 Why do we learn OS? To graduate? To make a better OS or system Functionality

More information

Lecture Topics. Announcements. Today: Operating System Overview (Stallings, chapter , ) Next: Processes (Stallings, chapter

Lecture Topics. Announcements. Today: Operating System Overview (Stallings, chapter , ) Next: Processes (Stallings, chapter Lecture Topics Today: Operating System Overview (Stallings, chapter 2.1-2.4, 2.8-2.10) Next: Processes (Stallings, chapter 3.1-3.6) 1 Announcements Consulting hours posted Self-Study Exercise #3 posted

More information

An Operating System History of Operating Systems. Operating Systems. Autumn CS4023

An Operating System History of Operating Systems. Operating Systems. Autumn CS4023 Operating Systems Autumn 2017-2018 Outline 1 2 What is an Operating System? From the user s point of view an OS is: A program that acts as an intermediary between a user of a computer and the computer

More information

Virtual Memory, Processes, and Sharing in MULTICS

Virtual Memory, Processes, and Sharing in MULTICS Virtual Memory, Processes, and Sharing in MULTICS Robert C Daley Jack B. Dennis - Multics, ARPAnet and CTSS Development Project Manager at MIT - Currently Chief Architect, Mobile Device Management at HP

More information

Operating Systems: Internals and Design Principles. Chapter 2 Operating System Overview Seventh Edition By William Stallings

Operating Systems: Internals and Design Principles. Chapter 2 Operating System Overview Seventh Edition By William Stallings Operating Systems: Internals and Design Principles Chapter 2 Operating System Overview Seventh Edition By William Stallings Operating Systems: Internals and Design Principles Operating systems are those

More information

CS 550 Operating Systems Spring Operating Systems Overview

CS 550 Operating Systems Spring Operating Systems Overview 1 CS 550 Operating Systems Spring 2018 Operating Systems Overview 2 What is an OS? Applications OS Hardware A software layer between the hardware and the application programs/users which provides a virtualization

More information

Operating Systems. I. Introduction. Eurecom

Operating Systems. I. Introduction. Eurecom Operating Systems I. Introduction Ludovic Apvrille ludovic.apvrille@telecom-paristech.fr Eurecom, office 470 http://soc.eurecom.fr/os/ @OS Eurecom Outline 2/42 Fall 2018 Institut Mines-Telecom Operating

More information

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

OS concepts and structure. q OS components & interconnects q Structuring OSs q Next time: Processes OS concepts and structure q OS components & interconnects q Structuring OSs q Next time: Processes OS Views Perspectives, OS as the services it provides its components and interactions Services to Users

More information

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

Logistics. 1: Welcome and Overview. Topics. What is an operating system? Benefits of Operating Systems (1) Hardware Resources Logistics 1: Welcome and Overview Last Modified: 6/1/2004 11:53 AM Course Web Page Mailing List Staff Textbook -1-2 Topics What is an operating system? OS History, Architectural Support Processes, Threads

More information

Overview of Unix / Linux operating systems

Overview of Unix / Linux operating systems Overview of Unix / Linux operating systems Mohammad S. Hasan Staffordshire University, UK Overview of Unix / Linux operating systems Slide 1 Lecture Outline History and development of Unix / Linux Early

More information

EEE 435 Principles of Operating Systems

EEE 435 Principles of Operating Systems EEE 435 Principles of Operating Systems Operating System Structure (Modern Operating Systems 1.7) Outline Operating System Structure Monolithic Systems Layered Systems Virtual Machines Exokernels Client-Server

More information

Last Class: OS and Computer Architecture. Last Class: OS and Computer Architecture

Last Class: OS and Computer Architecture. Last Class: OS and Computer Architecture Last Class: OS and Computer Architecture System bus Network card CPU, memory, I/O devices, network card, system bus Lecture 4, page 1 Last Class: OS and Computer Architecture OS Service Protection Interrupts

More information

Classic Systems: Unix and THE. Presented by Hakim Weatherspoon

Classic Systems: Unix and THE. Presented by Hakim Weatherspoon Classic Systems: Unix and THE Presented by Hakim Weatherspoon The UNIX Time-Sharing System Dennis Ritchie and Ken Thompson Background of authors at Bell Labs Both won Turing Awards in 1983 Dennis Ritchie

More information

ELEC 377 Operating Systems. Week 1 Class 2

ELEC 377 Operating Systems. Week 1 Class 2 Operating Systems Week 1 Class 2 Labs vs. Assignments The only work to turn in are the labs. In some of the handouts I refer to the labs as assignments. There are no assignments separate from the labs.

More information

A Comparison of Two Distributed Systems: Amoeba & Sprite. By: Fred Douglis, John K. Ousterhout, M. Frans Kaashock, Andrew Tanenbaum Dec.

A Comparison of Two Distributed Systems: Amoeba & Sprite. By: Fred Douglis, John K. Ousterhout, M. Frans Kaashock, Andrew Tanenbaum Dec. A Comparison of Two Distributed Systems: Amoeba & Sprite By: Fred Douglis, John K. Ousterhout, M. Frans Kaashock, Andrew Tanenbaum Dec. 1991 Introduction shift from time-sharing to multiple processors

More information

Computer System Overview

Computer System Overview Computer System Overview Introduction A computer system consists of hardware system programs application programs 2 Operating System Provides a set of services to system users (collection of service programs)

More information

Chapter 14 Operating Systems

Chapter 14 Operating Systems Chapter 14 Systems Ref Page Slide 1/54 Learning Objectives In this chapter you will learn about: Definition and need for operating Main functions of an operating Commonly used mechanisms for: Process management

More information

Chapter 14 Operating Systems

Chapter 14 Operating Systems Chapter 14 Operating Systems Ref Page Slide 1/54 Learning Objectives In this chapter you will learn about: Definition and need for operating system Main functions of an operating system Commonly used mechanisms

More information

History of Modern Computing Section 3

History of Modern Computing Section 3 History of Modern Computing Section 3 www.soe.ucsc.edu/classes/cmpe080h/fall06 David Pease Computer Engineering Department Jack Baskin School of Engineering Lesson Outline Operating Systems Purpose Development

More information

Operating Systems Overview. Chapter 2

Operating Systems Overview. Chapter 2 Operating Systems Overview Chapter 2 Operating System A program that controls the execution of application programs An interface between the user and hardware Masks the details of the hardware Layers and

More information

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. What is an Operating System? Let s Get Started! What is an Operating System? Where in the Book are we? Topics Operating System What is an OS? OS History OS Concepts OS Structures Introduction Let s Get Started! What is an Operating System? What are some OSes you know? Guess if you are not sure Pick an OS

More information

Kernel Types Simple OS Examples System Calls. Operating Systems. Autumn CS4023

Kernel Types Simple OS Examples System Calls. Operating Systems. Autumn CS4023 Operating Systems Autumn 2017-2018 Outline 1 2 3 Types of 2.4, SGG The OS Kernel The kernel is the central component of an OS It has complete control over everything that occurs in the system Kernel overview

More information

Operating Systems. Antônio Augusto Fröhlich LISHA/UFSC. December 20, 2008

Operating Systems. Antônio Augusto Fröhlich LISHA/UFSC.   December 20, 2008 Antônio Augusto Fröhlich LISHA/UFSC guto@lisha.ufsc.br http://www.lisha.ufsc.br/~guto December 20, 2008 December 20, 2008 Antônio Augusto Fröhlich (http://www.lisha.ufsc.br) 1 Computer Systems Hardware

More information

CSC 453 Operating Systems

CSC 453 Operating Systems CSC 453 Operating Systems Lecture 3: Operating-System Structures Operating System Components Operating systems are large and complex - the only way to manage such a project is to divide it into smaller

More information

SMD149 - Operating Systems

SMD149 - Operating Systems SMD149 - Roland Parviainen October 31, 2005 1 / 54 Overview Course Information Roland Parviainen E-mail: rolle@csee.ltu.se, rolle@parviainen.org Phone: 070-5317170 Office:? Web: http://parviainen.org 2

More information

Roland Parviainen Phone: Office:? Web:

Roland Parviainen    Phone: Office:? Web: SMD149 - Roland Parviainen October 31, 2005 Roland Parviainen E-mail: rolle@csee.ltu.se, rolle@parviainen.org Phone: 070-5317170 Office:? Web: http://parviainen.org 1/54 2/54 Outline Course Objectives

More information

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

1: Welcome and Overview COM S 414. Last Modified: 9/2/ :04:21 PM 1: Welcome and Overview COM S 414 Last Modified: 9/2/2002 11:04:21 PM -1 Logistics Course Web Page http://www.cs.cornell.edu/courses/cs414/2002fa Newsgroup (check daily) cornell.class.cs414 Staff Textbook

More information

Practical Computing-II. Programming in the Linux Environment. 0. An Introduction. B.W.Gore. March 20, 2015

Practical Computing-II. Programming in the Linux Environment. 0. An Introduction. B.W.Gore. March 20, 2015 Practical Computing-II March 20, 2015 0. An Introduction About The Course CMS M.2.2 Practical Computing-II About The Course CMS M.2.2 Practical Computing-II 25 credits (33.33% weighting) About The Course

More information

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

Topics. Operating System I. What is an Operating System? Let s Get Started! What is an Operating System? OS History. Topics Operating System I What is an OS? OS History OS Concepts OS Structures Introduction Let s Get Started! What is an Operating System? What are some OSes you know? Pick an OS you know: What are some

More information

Operating System Structure

Operating System Structure Operating System Structure Joey Echeverria joey42+os@gmail.com December 6, 2004 Carnegie Mellon University: 15-410 Fall 2004 Overview Motivations Kernel Structures Monolithic Kernels Open Systems Microkernels

More information

CSC 453 Operating Systems

CSC 453 Operating Systems CSC 453 Operating Systems Lecture 1: An Introduction What Is an Operating System? An operating system is the software that serves as an interface between the user (or his/her software applications) and

More information

Principles of Operating Systems CS 446/646

Principles of Operating Systems CS 446/646 Principles of Operating Systems CS 446/646 1. Introduction to Operating Systems a. Role of an O/S b. O/S History and Features Serial processing Simple batch systems Multiprogrammed batch systems Time-sharing

More information

Operating System Kernels

Operating System Kernels Operating System Kernels Presenter: Saikat Guha Cornell University CS 614, Fall 2005 Operating Systems Initially, the OS was a run-time library Batch ( 55 65): Resident, spooled jobs Multiprogrammed (late

More information

Computer Fundamentals : Pradeep K. Sinha& Priti Sinha

Computer Fundamentals : Pradeep K. Sinha& Priti Sinha Computer Fundamentals Pradeep K. Sinha Priti Sinha Chapter 14 Operating Systems Slide 1/74 Learning Objectives In this chapter you will learn about: Definition and need for operating system Main functions

More information

Operating Systems. Pablo Prieto Torralbo. 1. Introduction DEPARTMENT OF COMPUTER ENGINEERING

Operating Systems. Pablo Prieto Torralbo. 1. Introduction DEPARTMENT OF COMPUTER ENGINEERING Operating Systems 1. Introduction Pablo Prieto Torralbo DEPARTMENT OF COMPUTER ENGINEERING AND ELECTRONICS This material is published under: Creative Commons BY-NC-SA 4.0 Remember CPU registers Cache CPU

More information

Computer Science 4500 Operating Systems. Welcome! In This Module. Module 1 Introduction, Overview and History

Computer Science 4500 Operating Systems. Welcome! In This Module. Module 1 Introduction, Overview and History Computer Science 4500 Operating Systems Module 1 Introduction, Overview and History Updated: January 13, 2015 2008 Stanley A. Wileman, Jr. Operating Systems Slide 1 Welcome! Welcome to Operating Systems.

More information

Unix/Linux: History and Philosophy

Unix/Linux: History and Philosophy Unix/Linux: History and Philosophy History and Background Multics project Unix Linux Multiplexed Information and Computing Service Collaborative venture between General Electric, Bell Telephone Labs, and

More information

Operating System Architecture. CS3026 Operating Systems Lecture 03

Operating System Architecture. CS3026 Operating Systems Lecture 03 Operating System Architecture CS3026 Operating Systems Lecture 03 The Role of an Operating System Service provider Provide a set of services to system users Resource allocator Exploit the hardware resources

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Prof. Jin-Soo Kim( jinsookim@skku.edu) TA Sanghoon Han(sanghoon.han@csl.skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Announcement (1) Please come

More information

Contents. * All rights reserved, Tei-Wei Kuo, National Taiwan University, 2003.

Contents. * All rights reserved, Tei-Wei Kuo, National Taiwan University, 2003. Contents 1. Preface/Introduction Standardization and Implementation File I/O Standard I/O Library Files and Directories System Data Files and Information Environment of a Unix Process Process Control Signals

More information

Roadmap. Tevfik Koşar. CSE 421/521 - Operating Systems Fall Lecture - II OS Structures. University at Buffalo. OS Design and Implementation

Roadmap. Tevfik Koşar. CSE 421/521 - Operating Systems Fall Lecture - II OS Structures. University at Buffalo. OS Design and Implementation CSE 421/521 - Operating Systems Fall 2013 Lecture - II OS Structures Tevfik Koşar University at Buffalo August 29 th, 2013 1 Roadmap OS Design and Implementation Different Design Approaches Major OS Components!

More information

OS Design Approaches. Roadmap. System Calls. Tevfik Koşar. Operating System Design and Implementation. CSE 421/521 - Operating Systems Fall 2013

OS Design Approaches. Roadmap. System Calls. Tevfik Koşar. Operating System Design and Implementation. CSE 421/521 - Operating Systems Fall 2013 CSE 421/521 - Operating Systems Fall 2013 Lecture - II OS Structures Roadmap OS Design and Implementation Different Design Approaches Major OS Components!! Memory management! CPU Scheduling! I/O Management

More information

Operating System Structure

Operating System Structure Operating System Structure Joey Echeverria joey42+os@gmail.com April 18, 2005 Carnegie Mellon University: 15-410 Spring 2005 Overview Motivations Kernel Structures Monolithic Kernels Open Systems Microkernels

More information

CSCI 2132 Software Development. Lecture 2: Introduction to UNIX and Unix-like Operating Systems

CSCI 2132 Software Development. Lecture 2: Introduction to UNIX and Unix-like Operating Systems CSCI 2132 Software Development Lecture 2: Introduction to UNIX and Unix-like Operating Systems Instructor: Vlado Keselj Faculty of Computer Science Dalhousie University 7-Sep-2018 (2) CSCI 2132 1 Previous

More information

Operating System Overview. Chapter 2

Operating System Overview. Chapter 2 Operating System Overview Chapter 2 1 Operating System A program that controls the execution of application programs An interface between applications and hardware 2 Operating System Objectives Convenience

More information

Microkernel Construction. Introduction. Michael Hohmuth. Lars Reuther. TU Dresden Operating Systems Group

Microkernel Construction. Introduction. Michael Hohmuth. Lars Reuther. TU Dresden Operating Systems Group Introduction Lecture Goals Provide deeper understanding of OS mechanisms Make all of you enthusiastic kernel hackers Illustrate alternative system design concepts Promote OS research at 2 Administration

More information

CNT 4603, Spring 2009: Introduction

CNT 4603, Spring 2009: Introduction , : A practical hands-on approach Also higher-level concepts Expertise is distributed: system administration happens everywhere from your PC to large servers, and system administration is generally collaborative.

More information

Computer. Operating Systems Introduction to Operating System (OS)

Computer. Operating Systems Introduction to Operating System (OS) Computer Operating Systems Introduction to Operating System (OS) A computer is a system composed of two major components: hardware and software. Hardware is the physical equipment. Software is the collection

More information

OS - Introduction Ezio Bartocci Institute for Computer Engineering

OS - Introduction Ezio Bartocci Institute for Computer Engineering TECHNISCHE UNIVERSITÄT WIEN Fakultät für Informatik Cyber-Physical Systems Group OS - Introduction Ezio Bartocci Institute for Computer Engineering ezio.bartocci@tuwien.ac.at Operative System What is it?

More information

CSE-205: Unix and Shell Programming Unit I The UNIX Operating system

CSE-205: Unix and Shell Programming Unit I The UNIX Operating system Unit I The UNIX Operating system The Unix Operating System, The UNIX architecture and Command Usage, The File System ---------------------------------------------------------------------------------------------------

More information

Operating System. Operating System Overview. Layers of Computer System. Operating System Objectives. Services Provided by the Operating System

Operating System. Operating System Overview. Layers of Computer System. Operating System Objectives. Services Provided by the Operating System Operating System Operating System Overview Chapter 2 A program that controls the execution of application programs An interface between applications and hardware 1 2 Operating System Objectives Layers

More information

Operating System Overview. Operating System

Operating System Overview. Operating System Operating System Overview Chapter 2 1 Operating System A program that controls the execution of application programs An interface between applications and hardware 2 1 Operating System Objectives Convenience

More information

CS 167: Operating Systems. Operating Systems In Depth I 1 Copyright 2017 Thomas W. Doeppner. All rights reserved.

CS 167: Operating Systems. Operating Systems In Depth I 1 Copyright 2017 Thomas W. Doeppner. All rights reserved. CS 167: Operating Systems Operating Systems In Depth I 1 Copyright 2017 Thomas W. Doeppner. All rights reserved. Staff Head TA Kyle Laracey Grad TA Archita Agarwal UTAs Ian Boros Isaac Davis Egor Shakhnovskiy

More information

Linux for Beginners. Windows users should download putty or bitvise:

Linux for Beginners. Windows users should download putty or bitvise: Linux for Beginners Windows users should download putty or bitvise: https://putty.org/ Brief History UNIX (1969) written in PDP-7 assembly, not portable, and designed for programmers as a reaction by Bell

More information

OPERATING SYSTEMS: Lesson 1: Introduction to Operating Systems

OPERATING SYSTEMS: Lesson 1: Introduction to Operating Systems OPERATING SYSTEMS: Lesson 1: Introduction to Jesús Carretero Pérez David Expósito Singh José Daniel García Sánchez Francisco Javier García Blas Florin Isaila 1 Why study? a) OS, and its internals, largely

More information

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

OS structure. Process management. Major OS components. CSE 451: Operating Systems Spring Module 3 Operating System Components and Structure CSE 451: Operating Systems Spring 2012 Module 3 Operating System Components and Structure Ed Lazowska lazowska@cs.washington.edu Allen Center 570 The OS sits between application programs and the it mediates

More information

Operating Systems Overview. Chapter 2

Operating Systems Overview. Chapter 2 1 Operating Systems Overview 2 Chapter 2 3 An operating System: The interface between hardware and the user From the user s perspective: OS is a program that controls the execution of application programs

More information

CS 153 Design of Operating Systems

CS 153 Design of Operating Systems CS 153 Design of Operating Systems Winter 19 Lecture 2: Historical perspective Instructor: Nael Abu-Ghazaleh Last time What is an OS? What roles does it play? Today: Historic evolution of Operating Systems

More information

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

Introduction to Operating System. Dr. Aarti Singh Professor MMICT&BM MMU Introduction to Operating System Dr. Aarti Singh Professor MMICT&BM MMU Contents Today's Topic: Introduction to Operating Systems We will learn 1. What is Operating System? 2. What OS does? 3. Structure

More information

CSC Operating Systems Spring Lecture - II OS Structures. Tevfik Ko!ar. Louisiana State University. January 17 th, 2007.

CSC Operating Systems Spring Lecture - II OS Structures. Tevfik Ko!ar. Louisiana State University. January 17 th, 2007. CSC 4103 - Operating Systems Spring 2008 Lecture - II OS Structures Tevfik Ko!ar Louisiana State University January 17 th, 2007 1 Announcements Teaching Assistant: Asim Shrestrah Email: ashres1@lsu.edu

More information

Announcements. Operating System Structure. Roadmap. Operating System Structure. Multitasking Example. Tevfik Ko!ar

Announcements. Operating System Structure. Roadmap. Operating System Structure. Multitasking Example. Tevfik Ko!ar CSC 4103 - Operating Systems Spring 2008 Lecture - II OS Structures Tevfik Ko!ar Teaching Assistant: Asim Shrestrah Email: ashres1@lsu.edu Announcements All of you should be now in the class mailing list.

More information

OS Design Approaches. Roadmap. OS Design Approaches. Tevfik Koşar. Operating System Design and Implementation

OS Design Approaches. Roadmap. OS Design Approaches. Tevfik Koşar. Operating System Design and Implementation CSE 421/521 - Operating Systems Fall 2012 Lecture - II OS Structures Roadmap OS Design and Implementation Different Design Approaches Major OS Components!! Memory management! CPU Scheduling! I/O Management

More information

Brief Linux Presentation. July 10th, 2006 Elan Borenstein

Brief Linux Presentation. July 10th, 2006 Elan Borenstein Brief Linux Presentation July 10th, 2006 Elan Borenstein History 1965 - Bell Labs (AT&T), GE and MIT Project to develop a new (multiuser, multitasking) operating system - MULTICS. (not successful) History

More information

What are some common categories of system calls? What are common ways of structuring an OS? What are the principles behind OS design and

What are some common categories of system calls? What are common ways of structuring an OS? What are the principles behind OS design and What are the services provided by an OS? What are system calls? What are some common categories of system calls? What are the principles behind OS design and implementation? What are common ways of structuring

More information

Operating System. Operating Systems Structure Chapter 2. Services Provided by the OS. Evolution of an Operating System

Operating System. Operating Systems Structure Chapter 2. Services Provided by the OS. Evolution of an Operating System Operating System Operating Systems Structure Chapter 2 1 Is a control program that controls the execution of application programs OS must relinquish control to user programs and regain it safely and efficiently

More information

Introduction to OS (cs1550)

Introduction to OS (cs1550) Introduction to OS (cs1550) Why take this class? Why with Mosse? it s mandatory it s a great class it s a great prof it s easy (NOT!!!! do not fool thyself!) it s good for you Life is not life anymore

More information

Basics of system administration on a Unix system

Basics of system administration on a Unix system Basics of system administration on a Unix system Contents Introduction 3 Unix 9 User environment: the shell 10 File management: starting from / 11 Text editing 12 Package management 13 User management

More information

CNT 5605, Fall 2009: Introduction

CNT 5605, Fall 2009: Introduction , Fall 2009: A practical hands-on approach. We will build new servers and configure them with a variety of packages. Expertise is distributed: system administration happens everywhere from your PC to large

More information

CONTENTS. Computer-System Structures

CONTENTS. Computer-System Structures CONTENTS PART ONE OVERVIEW Chapter 1 Introduction 1.1 What Is an Operating System? 3 1.2 Simple Batch Systems 6 1.3 Multiprogrammed Batched Systems 8 1.4 Time-Sharing Systems 9 1.5 Personal-Computer Systems

More information

Introduction. CS3026 Operating Systems Lecture 01

Introduction. CS3026 Operating Systems Lecture 01 Introduction CS3026 Operating Systems Lecture 01 One or more CPUs Device controllers (I/O modules) Memory Bus Operating system? Computer System What is an Operating System An Operating System is a program

More information

Chapter 2: Operating-System Structures

Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System Calls System Programs Operating System

More information

CHAPTER 2: SYSTEM STRUCTURES. By I-Chen Lin Textbook: Operating System Concepts 9th Ed.

CHAPTER 2: SYSTEM STRUCTURES. By I-Chen Lin Textbook: Operating System Concepts 9th Ed. CHAPTER 2: SYSTEM STRUCTURES By I-Chen Lin Textbook: Operating System Concepts 9th Ed. Chapter 2: System Structures Operating System Services User Operating System Interface System Calls Types of System

More information

HIGH PERFORMANCE COMPUTING: MODELS, METHODS, & MEANS OPERATING SYSTEMS 1

HIGH PERFORMANCE COMPUTING: MODELS, METHODS, & MEANS OPERATING SYSTEMS 1 Prof. Thomas Sterling Center for Computation & Technology Louisiana State University April 5 th, 2011 HIGH PERFORMANCE COMPUTING: MODELS, METHODS, & MEANS OPERATING SYSTEMS 1 This Page Left Intentionally

More information

Chapter 2 Operating-System Structures

Chapter 2 Operating-System Structures This chapter will discuss the following concepts: 2.1 Operating System Services 2.2 User Operating System Interface 2.3 System Calls 2.4 System Programs 2.5 Operating System Design and Implementation 2.6

More information

Unix API Books. Linux Kernel Books. Assignments and Exams. Grading for CSC 256. Operating Systems 8/31/2018. CSC 256/456 Fall

Unix API Books. Linux Kernel Books. Assignments and Exams. Grading for CSC 256. Operating Systems 8/31/2018. CSC 256/456 Fall Prerequisites CSC 2/456: Operating s CSC 252 or equivalent C/C++ programming experience on Unix systems Instructor: Sandhya Dwarkadas TAs: Zhuojia Shen, Mohsen Mohammadi 8/31/2018 CSC 2/456 1 2 Meaning

More information

Today. Operating System Evolution. CSCI 4061 Introduction to Operating Systems. Gen 1: Mono-programming ( ) OS Evolution Unix Overview

Today. Operating System Evolution. CSCI 4061 Introduction to Operating Systems. Gen 1: Mono-programming ( ) OS Evolution Unix Overview Today CSCI 4061 Introduction to s Instructor: Abhishek Chandra OS Evolution Unix Overview Unix Structure Shells and Utilities Calls and APIs 2 Evolution How did the OS evolve? Generation 1: Mono-programming

More information

Operating Systems CS3502 Spring 2018

Operating Systems CS3502 Spring 2018 Operating Systems CS3502 Spring 2018 Presented by Dr. Guoliang Liu Department of Computer Science College of Computing and Software Engineering Kennesaw State University Computer Systems See Appendix G

More information

Operating System. Operating System Overview. Structure of a Computer System. Structure of a Computer System. Structure of a Computer System

Operating System. Operating System Overview. Structure of a Computer System. Structure of a Computer System. Structure of a Computer System Overview Chapter 1.5 1.9 A program that controls execution of applications The resource manager An interface between applications and hardware The extended machine 1 2 Structure of a Computer System Structure

More information

File System Internals. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University

File System Internals. Jin-Soo Kim Computer Systems Laboratory Sungkyunkwan University File System Internals Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics File system implementation File descriptor table, File table

More information

History And Modern Uses Of The Unix Operating System (including embedded devices and mobile phones).

History And Modern Uses Of The Unix Operating System (including embedded devices and mobile phones). History And Modern Uses Of The Unix Operating System (including embedded devices and mobile phones). Presented by Tanna Lin PTADipMgt17 Overview What is Unix? Brief History In the Present Day In Conclusion

More information

Four Components of a Computer System

Four Components of a Computer System Four Components of a Computer System Operating System Concepts Essentials 2nd Edition 1.1 Silberschatz, Galvin and Gagne 2013 Operating System Definition OS is a resource allocator Manages all resources

More information

Chapter 2. Operating-System Structures

Chapter 2. Operating-System Structures Chapter 2 Operating-System Structures 2.1 Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System Calls System Programs Operating System

More information

Processor : Intel Pentium D3.0 GigaHtz

Processor : Intel Pentium D3.0 GigaHtz CHALAPATHI INSTITUTE OF ENGINEERING & TECHNOLOGY CHALAPATHI NAGAR LAM,GUNTUR DEPARTMENT OF COMPUTER SCIENCE AND ENGINEERING INTRODUCTION ABOUT 'L2' LAB There are 30 systems (HCL) installed in this Lab.

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2016 Lecture 5 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 User Operating System Interface - CLI CLI

More information

CSC Operating Systems Fall Lecture - II OS Structures. Tevfik Ko!ar. Louisiana State University. August 27 th, 2009.

CSC Operating Systems Fall Lecture - II OS Structures. Tevfik Ko!ar. Louisiana State University. August 27 th, 2009. CSC 4103 - Operating Systems Fall 2009 Lecture - II OS Structures Tevfik Ko!ar Louisiana State University August 27 th, 2009 1 Announcements TA Changed. New TA: Praveenkumar Kondikoppa Email: pkondi1@lsu.edu

More information

Advanced Operating Systems. COMP9242 Introduction

Advanced Operating Systems. COMP9242 Introduction Advanced Operating Systems COMP9242 Introduction Staff Lecturer in Charge Gernot Heiser Lecturer Kevin Elphinstone Various Support Staff TBA 2 Why are you here? You ve done comp3231 Did well (minimum credit)

More information

Announcements. Computer System Organization. Roadmap. Major OS Components. Processes. Tevfik Ko!ar. CSC Operating Systems Fall 2009

Announcements. Computer System Organization. Roadmap. Major OS Components. Processes. Tevfik Ko!ar. CSC Operating Systems Fall 2009 CSC 4103 - Operating Systems Fall 2009 Lecture - II OS Structures Tevfik Ko!ar TA Changed. New TA: Praveenkumar Kondikoppa Email: pkondi1@lsu.edu Announcements All of you should be now in the class mailing

More information

Staff. Advanced Operating Systems. Why are you here? What can you expect?

Staff. Advanced Operating Systems. Why are you here? What can you expect? Staff Advanced Operating Systems COMP9242 Introduction Lecturer in Charge Gernot Heiser Lecturer Kevin Elphinstone Various Support Staff TBA 2 Why are you here? You ve done comp3231 Did well (minimum credit)

More information

Uni Hamburg Mainframe Summit 2010 z/os The Mainframe Operating. Part 4 z/os Overview

Uni Hamburg Mainframe Summit 2010 z/os The Mainframe Operating. Part 4 z/os Overview Uni Hamburg Mainframe Summit 2010 z/os The Mainframe Operating Part 4 z/os Overview Redelf Janßen IBM Technical Sales Mainframe Systems Redelf.Janssen@de.ibm.com Course materials may not be reproduced

More information

UNIX Kernel. UNIX History

UNIX Kernel. UNIX History UNIX History UNIX Kernel 1965-1969 Bell Labs participates in the Multics project. 1969 Ken Thomson develops the first UNIX version in assembly for an DEC PDP-7 1973 Dennis Ritchie helps to rewrite UNIX

More information

Today. Operating System Evolution. CSCI 4061 Introduction to Operating Systems. Gen 1: Mono-programming ( ) OS Evolution Unix Overview

Today. Operating System Evolution. CSCI 4061 Introduction to Operating Systems. Gen 1: Mono-programming ( ) OS Evolution Unix Overview Today CSCI 4061 Introduction to s Instructor: Abhishek Chandra OS Evolution Unix Overview Unix Structure Shells and Utilities Calls and APIs 2 Evolution How did the OS evolve? Dependent on hardware and

More information

Computer Systems Laboratory Sungkyunkwan University

Computer Systems Laboratory Sungkyunkwan University Threads Jin-Soo Kim (jinsookim@skku.edu) Computer Systems Laboratory Sungkyunkwan University http://csl.skku.edu Today s Topics Why threads? Threading issues 2 Processes Heavy-weight A process includes

More information

The modularity requirement

The modularity requirement The modularity requirement The obvious complexity of an OS and the inherent difficulty of its design lead to quite a few problems: an OS is often not completed on time; It often comes with quite a few

More information

Microkernel Construction

Microkernel Construction Introduction SS2013 Class Goals Provide deeper understanding of OS mechanisms Introduce L4 principles and concepts Make you become enthusiastic L4 hackers Propaganda for OS research at 2 Administration

More information

Overview: Concurrent Architectures - Unix: Forks and Pipes

Overview: Concurrent Architectures - Unix: Forks and Pipes Overview: Concurrent Architectures - Unix: Forks and Pipes Other Matters: TuteLab-5 solutions and the proof of Peterson s Algorithm Ref: [Coulouris&al Ch 4] history architecture: monolithic vs microkernels,

More information

Chapter 2: Operating-System Structures. Operating System Concepts 9 th Edition

Chapter 2: Operating-System Structures. Operating System Concepts 9 th Edition Chapter 2: Operating-System Structures Silberschatz, Galvin and Gagne 2013 Chapter 2: Operating-System Structures Operating System Services User Operating System Interface System Calls Types of System

More information