OPERATING SYSTEMS DESIGN AND IMPLEMENTATION Third Edition ANDREW S

Slides:



Advertisements
Similar presentations
Trusted Ring: A Security Enhancing Software Architecture Michael DiRossi, Inventor The Johns Hopkins University Applied Physics Laboratory.
Advertisements

Chorus and other Microkernels Presented by: Jonathan Tanner and Brian Doyle Articles By: Jon Udell Peter D. Varhol Dick Pountain.
CS533 Concepts of Operating Systems Class 14 Virtualization.
Microkernels: Mach and L4
Figure 1.1 Interaction between applications and the operating system.
Introduction Operating Systems’ Concepts and Structure Lecture 1 ~ Spring, 2008 ~ Spring, 2008TUCN. Operating Systems. Lecture 1.
MicrokernelsCS-502 (EMC) Fall Microkernels CS-502, Operating Systems Fall 2009 (EMC) (Slides include materials from Modern Operating Systems, 3 rd.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
Operating systems design philosophy ESMAIL ASYABI- FEBRUARY 2015.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Chapter 2: Operating-System Structures Modified from the text book.
Slide 3-1 Copyright © 2004 Pearson Education, Inc. Operating Systems: A Modern Perspective, Chapter 3 Operating System Organization.
 Advantages  Easy to learn  Graphical Advantages  Help and Support  Widely used  Software compatibility  Customisable  Customisable Hardware 
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION Third Edition ANDREW S. TANENBAUM ALBERT S. WOODHULL Yan hao (Wilson) Wu University of the Western.
Stack Management Each process/thread has two stacks  Kernel stack  User stack Stack pointer changes when exiting/entering the kernel Q: Why is this necessary?
Ceng Operating Systems
Computer System Architectures Computer System Software
Can We Make Operating Systems Reliable and Secure? By : Hassan AL-Maksousy Andrew S. Tanenbaum, Jorrit N. Herder, and Herbert Bos.
Microkernels, virtualization, exokernels Tutorial 1 – CSC469.
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION Third Edition ANDREW S. TANENBAUM ALBERT S. WOODHULL Yan hao (Wilson) Wu University of the Western.
Chapter 2: Operating-System Structures. 2.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th Edition, Jan 14, 2005 Operating System.
Kernel, processes and threads Windows and Linux. Windows Architecture Operating system design Modified microkernel Layered Components HAL Interacts with.
Architecture Support for OS CSCI 444/544 Operating Systems Fall 2008.
Introduction to Operating Systems Chapter 1. cs431 -cotter2 Lecture Objectives Understand the relationship between computing hardware, operating system,
Print Services. 2 Objectives Understand Print Server terms and concepts Understand how printing works Print Server Considerations Printer Hardware Considerations.
Virtualization: Not Just For Servers Hollis Blanchard PowerPC kernel hacker.
April 2000Dr Milan Simic1 Network Operating Systems Windows NT.
Chapter 2 Operating System Overview
Heterogeneous Multikernel OS Yauhen Klimiankou BSUIR
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 7 OS System Structure.
Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition, Chapter 2: Operating-System Structures.
Windows NT Operating System. Windows NT Models Layered Model Client/Server Model Object Model Symmetric Multiprocessing.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
Ihr Logo Operating Systems Internals & Design Principles Fifth Edition William Stallings Chapter 2 (Part II) Operating System Overview.
Can We Make Operating Systems Reliable and Secure? Andrew S. Tanenbaum, Jorrit N. Herder, and Herbert Bos Vrije Universiteit, Amsterdam May 2006 Group.
Processes Introduction to Operating Systems: Module 3.
UNIX Operating Systems and Kernels Presented By: Walter Haynes April 26, 2007.
Operating Systems Structure what is the organizational principle?
CSNB334 Advanced Operating Systems 1. Introduction to Linux Lecturer: Abdul Rahim Ahmad.
A. Frank - P. Weisberg Operating Systems Structure of Operating Systems.
1.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Lecture 2: OS Structures (Chapter 2.7)
Operating-System Structures
Microkernel Systems - Jatin Lodhia. What is Microkernel A microkernel is a minimal computer operating system kernel which, in its purest form, provides.
Introduction to UNIX CS465. What is UNIX? (1) UNIX is an Operating System (OS). An operating system is a control program that allocates the computer's.
Lecture 1: Network Operating Systems (NOS) An Introduction.
CENG334 Introduction to Operating Systems 1 Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
CHAPTER 2: BASIC OF OPEN SOURCE OPERATING SYSTEM Part 1.
MINIX 3 – Introduction Béat Hirsbrunner Lecture 1, 18 September 2012 Main reference Andrew S. Tanenbaum, Albert S. Woodhull Operating Systems : Design.
The L4 Microkernel Presented by: Martin Roehricht Nirav Mehta Matthew Garland Chris Schulze.
Operating Systems A.Biswas Architecture. Computer Startup.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
Overview of today’s lecture Major components of an operating system Structure and internal architecture of an operating system Monolithic Vs Micro-kernels.
AMOEBA study of distributed system
“Overview of MINIX 3”J.N. Herder AN OVERVIEW OF MINIX 3 NICTA seminar, 20 Oct Sydney, Australia Jorrit N. Herder Vrije Universiteit Amsterdam.
Tanenbaum & Woodhull, Operating Systems: Design and Implementation, (c) 2006 Prentice-Hall, Inc. All rights reserved OPERATING SYSTEMS DESIGN.
Chapter 2 Operating System Overview Dave Bremer Otago Polytechnic, N.Z. ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
Introduction to Operating Systems Concepts
Computer System Structures
Computer System Structures
Virtualization.
Operating System Structures
Operating Systems •The kernel is a program that constitutes the central core of a computer operating system. It has complete control over everything that.
Providing Security for Embedded Devices Through Virtualization
Operating System Structure
OPERATING SYSTEMS DESIGN AND IMPLEMENTATION Third Edition ANDREW S
Chapter 2: The Linux System Part 1
Operating Systems: A Modern Perspective, Chapter 3
OS Components and Structure
Operating System Introduction
Operating Systems Structure
Operating System Introduction
Presentation transcript:

OPERATING SYSTEMS DESIGN AND IMPLEMENTATION Third Edition ANDREW S OPERATING SYSTEMS DESIGN AND IMPLEMENTATION Third Edition ANDREW S. TANENBAUM ALBERT S. WOODHULL Yan hao (Wilson) Wu wwu@uwc.ac.za University of the Western Cape Computer Science Department

Minix Structure From: Free Software Bazaar '06 2 Jorrit N. Herder Printer are solid But the driver ? Why is the entire network stack in the kernel? Would you run my nifty kernel module? MMU Process try to access an other process a mmu exception going arise. From: Free Software Bazaar '06 2 Jorrit N. Herder

THE MINIX 3 USERMODE SERVERS AND DRIVERS All code runs at highest privilege level (breaches POLA) – No proper fault isolation (any bug can be fatal) – Huge amount of code in kernel (616 bugs per 1000 LoC) – Untrusted, 3rd party code in kernel (70% driver code) – Entangled code increases complexity (hard to maintain) ● Crashed user processes can be restarted ATA (Advanced Technology Attachment) is the official name for what the computer industry calls computer industry calls Integrated Drive Electronics (IDE).

Monolithic Kernel vs. Microkernel Feature/Kernel type Monolithic Kernel Microkernel Modularity Flexibility Maintainability Security Compatibility Performance Virus Kernel mode;

Characteristics of Minix ● Minimal kernel to support user-mode OS – Stable kernel (~4000 LoC) reduces number of fatal bugs ● User-mode modules are physically isolated by MMU – Memory access must be explicitly granted by other party ● Privileges of each components are strongly restricted – Policies for IPC, kernel calls, I/O, memory, scheduling

Minix Future ● Reliability and security become more important! – E.g., think of banking on embedded devices ● Starting to become useful operating system – E.g., recently the X Window System was ported ● Open source project (under BSD license) – You can inspect, modify, contribute, etc. practical

Resources for Minix www.minix3.org Towards a True Microkernel Operating System, Master's Thesis, Vrije Universiteit, Amsterdam, The Netherlands, Feb. 2005.