CS533 Concepts of Operating Systems Class 7 System Structuring using Layers and Micro-kernels.

Slides:



Advertisements
Similar presentations
CS533 Concepts of Operating Systems Class 14 Virtualization and Exokernels.
Advertisements

More on Processes Chapter 3. Process image _the physical representation of a process in the OS _an address space consisting of code, data and stack segments.
Chorus and other Microkernels Presented by: Jonathan Tanner and Brian Doyle Articles By: Jon Udell Peter D. Varhol Dick Pountain.
User-Level Interprocess Communication for Shared Memory Multiprocessors Bershad, B. N., Anderson, T. E., Lazowska, E.D., and Levy, H. M. Presented by Akbar.
CS 5204 – Operating Systems 1 Scheduler Activations.
Computer Systems/Operating Systems - Class 8
CS533 Concepts of Operating Systems Class 12 Extensibility via Software Based Protection.
CS533 Concepts of Operating Systems Class 5 Integrated Task and Stack Management.
Chapter 5 Processes and Threads Copyright © 2008.
CS533 Concepts of Operating Systems Class 13 Micro-kernels (cont.) Extensibility via Software Based Protection.
CS533 Concepts of Operating Systems Class 6 The Duality of Threads and Events.
CS533 Concepts of Operating Systems Class 20 Summary.
CS533 Concepts of Operating Systems Class 5 System Structuring using Layers & Micro-Kernel Based OSs.
CS533 Concepts of Operating Systems Class 12 Micro-kernels (or Extensibility via Hardware-Based Protection)
CS533 Concepts of Operating Systems Class 14 Virtualization.
35 Advanced Operating Systems Kernels and kernel services.
CS533 Concepts of Operating Systems Class 11 System Structuring using Layers.
CS533 Concepts of Operating Systems Class 6 The Duality of Threads and Events.
Scheduler Activations Effective Kernel Support for the User-Level Management of Parallelism.
Improving IPC by Kernel Design Jochen Liedtke Presented by Ahmed Badran.
CS533 Concepts of Operating Systems Class 12 Micro-kernels (or Extensibility via Hardware-Based Protection)
CS533 Concepts of Operating Systems Class 7 Integrated Task and Stack Management.
CS533 Concepts of Operating Systems Class 8 System Structuring using Layers.
CS533 - Concepts of Operating Systems
CS533 Concepts of Operating Systems Class 2 The Duality of Threads and Events.
OPERATING SYSTEMS Introduction
CS533 Concepts of Operating Systems Class 3 Integrated Task and Stack Management.
Ralf Juengling Portland State University The Structuring of Systems using Upcalls David D. Clark, “The Structuring of Systems using Upcalls”, Proc. of.
Threads, SMP, and Microkernels
CS533 Concepts of Operating Systems Class 6 Micro-kernels Extensibility via Hardware or Software Based Protection.
The Structuring of Systems Using Upcalls David D. Clark 4/26/20111Frank Sliz, CS533, Upcalls.
User-Level Interprocess Communication for Shared Memory Multiprocessors Brian N. Bershad, Thomas E. Anderson, Edward D. Lazowska, and Henry M. Levy Presented.
The Structuring of Systems Using Upcalls David D. Clark Presenter: Haitham Gad.
The Mach System "Operating Systems Concepts, Sixth Edition" by Abraham Silberschatz, Peter Baer Galvin, and Greg Gagne Presentation by Jonathan Walpole.
CS533 Concepts of Operating Systems Class 9 Micro-Kernel Based OSs.
CS533 Concepts of OS Class 16 ExoKernel by Constantia Tryman.
CS533 Concepts of Operating Systems Class 11 Micro-kernels Extensibility via Hardware Based Protection.
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?
1 Lecture 4: Threads Operating System Fall Contents Overview: Processes & Threads Benefits of Threads Thread State and Operations User Thread.
1 Micro-kernel. 2 Key points Microkernel provides minimal abstractions –Address space, threads, IPC Abstractions –… are machine independent –But implementation.
Operating System 4 THREADS, SMP AND MICROKERNELS
Architecture Support for OS CSCI 444/544 Operating Systems Fall 2008.
CS533 Concepts of Operating Systems Jonathan Walpole.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 7 OS System Structure.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
The Mach System Abraham Silberschatz, Peter Baer Galvin, Greg Gagne Presentation By: Agnimitra Roy.
LRPC Firefly RPC, Lightweight RPC, Winsock Direct and VIA.
1.1 Silberschatz, Galvin and Gagne ©2009 Operating System Concepts – 8 th Edition Lecture 2: OS Structures (Chapter 2.7)
1 VxWorks 5.4 Group A3: Wafa’ Jaffal Kathryn Bean.
June 6, 2002Serguei A. Mokhov, 1 Salsa Theory Debrief 2 COMP346 - Operating Systems Tutorial 6 Edition 1.1, June 19, 2002.
CENG334 Introduction to Operating Systems 1 Erol Sahin Dept of Computer Eng. Middle East Technical University Ankara, TURKEY URL:
CS533 Concepts of Operating Systems Jonathan Walpole.
Presented by: JungChun Lu. Goal Propose a design methodology suitable for operating system programs which: Permits synchronous procedure call between.
Concepts and Structures. Main difficulties with OS design synchronization ensure a program waiting for an I/O device receives the signal mutual exclusion.
1 Chapter 2: Operating-System Structures Services Interface provided to users & programmers –System calls (programmer access) –User level access to system.
The Structuring of Systems Using Upcalls David D. Clark (Presented by John McCall)
Kernel Design & Implementation
Mach Kernel Kris Ambrose Kris Ambrose 2003.
COMS Prelim 1 Review Session
Structuring Of Systems Using Upcalls - By David D. Clark
CS533 Concepts of Operating Systems Class 12
CS533 Concepts of Operating Systems Class 15
CS533 Concepts of Operating Systems Class 14
CS533 Concepts of Operating Systems Class 11
Structuring of Systems using Upcalls
CS533 Concepts of Operating Systems Class 13
CS533 Concepts of Operating Systems Class 15
CS533 Concepts of Operating Systems Class 6
CS533 Concepts of Operating Systems Class 13
CS533 Concepts of Operating Systems Class 13
Presentation transcript:

CS533 Concepts of Operating Systems Class 7 System Structuring using Layers and Micro-kernels

CS533 - Concepts of Operating Systems 2 Questions  How is OS code organized in THE? o What abstractions does THE build? o How are these abstractions used?  What is a homing state? o How does a process leave/return to its homing state?  How does layering help ensure correctness?  How does THE avoid deadlock?

CS533 - Concepts of Operating Systems 3 Questions  What is the difference between the two distinct uses of semaphores in THE? o What concepts from earlier in the class do they map to? o What two purposes are they used for in THE?  Does THE use a procedure-based or a message- based programming model? o What is the analog of send and receive in THE? o How do you think state would be managed during I/O calls?

CS533 - Concepts of Operating Systems 4 Questions  Why is performance a problem in process-per-layer or even thread-per-layer mappings of specifications to implementations? o What are the costs of crossing layer boundaries? o How do these costs relate to those of the Swift and Mach operating systems?  If data is not passed across layer boundaries in buffers, how is it passed in Swift? o How is inter-task communication within a multi-task module implemented in Swift?

CS533 - Concepts of Operating Systems 5 Questions  What do “up” and “down” mean in the context of Swift upcalls and downcalls? o Why is arming required in upcalling, but not in downcalling? o Why is upcalling more perilous than downcalling?  When is it better to use upcalls than downcalls? o Where does activity start in OS code?  Should you always pass data among tasks on the stack? o How do you decide what work must be done immediately and what to queue for later? If you queue it for later, where should you store the state?

CS533 - Concepts of Operating Systems 6 Questions  Are upcalls part of a thread-based or event-based programming model?  Is arming stack-ripping? o Does it leave state for a future call-back?  What safety rules (conventions) are used in Swift? o How do the restrictions on down calling relate to event- based programming?  How does Swift implement protection?

CS533 - Concepts of Operating Systems 7 Micro-kernels  What code structuring approach do micro-kernel- based OS designs advocate? o Why is message passing a core abstraction of micro- kernels?  What overhead is involved in crossing module boundaries? o How can it be minimized? o How many modules do we need?  How can a micro-kernel-based OS support application binary compatibility?