CS533 Concepts of Operating Systems Class 11 System Structuring using Layers.

Slides:



Advertisements
Similar presentations
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.
Advertisements

User-Level Interprocess Communication for Shared Memory Multiprocessors Bershad, B. N., Anderson, T. E., Lazowska, E.D., and Levy, H. M. Presented by Akbar.
Review: Chapters 1 – Chapter 1: OS is a layer between user and hardware to make life easier for user and use hardware efficiently Control program.
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 3 Monitors.
Chapter 4: Threads. 4.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th edition, Jan 23, 2005 Chapter 4: Threads Overview Multithreading.
CS533 Concepts of Operating Systems Class 6 The Duality of Threads and Events.
CS533 Concepts of Operating Systems Class 5 Event-Based Systems.
CS533 Concepts of Operating Systems Class 20 Summary.
CS533 Concepts of Operating Systems Class 5 System Structuring using Layers & Micro-Kernel Based OSs.
Figure 2.8 Compiler phases Compiling. Figure 2.9 Object module Linking.
CS533 Concepts of Operating Systems Class 8 Shared Memory Implementations of Remote Procedure Call.
Chapter 4: Threads. 4.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts – 7 th edition, Jan 23, 2005 Chapter 4: Threads Overview Multithreading.
CS533 Concepts of Operating Systems Class 3 Monitors.
CS533 Concepts of Operating Systems Class 7 System Structuring using Layers and Micro-kernels.
CS533 Concepts of Operating Systems Class 5 Event-Based Systems.
CS533 Concepts of Operating Systems Class 6 The Duality of Threads and Events.
CS533 Concepts of Operating Systems Class 4 Remote Procedure Call.
Improving IPC by Kernel Design Jochen Liedtke Presented by Ahmed Badran.
I/O Hardware n Incredible variety of I/O devices n Common concepts: – Port – connection point to the computer – Bus (daisy chain or shared direct access)
Concurrency: Mutual Exclusion, Synchronization, Deadlock, and Starvation in Representative Operating Systems.
CS533 Concepts of Operating Systems Class 5 Event-Based Systems.
Processes 1 CS502 Spring 2006 Processes Week 2 – CS 502.
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.
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.
CS533 Concepts of Operating Systems Class 9 User-Level Remote Procedure Call.
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.
CS533 Concepts of Operating Systems Class 4 Remote Procedure Call.
CS533 Concepts of Operating Systems Class 9 Micro-Kernel Based OSs.
CS533 Concepts of Operating Systems Class 11 Micro-kernels Extensibility via Hardware Based Protection.
Monitors: An Operating System Structuring Concept
Minix Jeff Ward, Robert Burghart, Jeb Collins, Joe Creech.
1 Lecture 4: Threads Operating System Fall Contents Overview: Processes & Threads Benefits of Threads Thread State and Operations User Thread.
Chapter 4: Multithreaded Programming. 4.2 Silberschatz, Galvin and Gagne ©2005 Operating System Concepts Chapter 4: Multithreaded Programming Overview.
CS533 Concepts of Operating Systems Jonathan Walpole.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
The Amiga Operating System: Past and Present Aaron Hensley Kayla Zinn Brad Campbell Gregory Mathurin Josh Benson.
Lecture 8 Page 1 CS 111 Online Other Important Synchronization Primitives Semaphores Mutexes Monitors.
LRPC Firefly RPC, Lightweight RPC, Winsock Direct and VIA.
June 6, 2002Serguei A. Mokhov, 1 Salsa Theory Debrief 2 COMP346 - Operating Systems Tutorial 6 Edition 1.1, June 19, 2002.
1 University of Ilam Systems Programming University of Ilam Mozafar Bag Mohammadi.
COT 4600 Operating Systems Fall 2009 Dan C. Marinescu Office: HEC 439 B Office hours: Tu-Th 3:00-4:00 PM.
CS533 Concepts of Operating Systems Jonathan Walpole.
Operating Systems Unit 2: – Process Context switch Interrupt Interprocess communication – Thread Thread models Operating Systems.
Presented by: JungChun Lu. Goal Propose a design methodology suitable for operating system programs which: Permits synchronous procedure call between.
CHAPTER 6 Threads, Handlers, and Programmatic Movement.
CSCI/CMPE 4334 Operating Systems Review: Exam 1 1.
The Structuring of Systems Using Upcalls By David D. Clark Presented by Samuel Moffatt.
The Structuring of Systems Using Upcalls David D. Clark (Presented by John McCall)
Operating Systems Chapter 2 - Processes Vrije Universiteit Amsterdam
Scheduler activations
The Structuring of Systems Using Upcalls David D. Clark
Operating System Concepts
COMS Prelim 1 Review Session
Structuring Of Systems Using Upcalls - By David D. Clark
CS533 Concepts of Operating Systems Class 12
Presented by Neha Agrawal
CS533 Concepts of Operating Systems Class 7
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
CS533 Concepts of Operating Systems Class 11
Structuring of Systems using Upcalls
- When you approach operating system concepts there might be several confusing terms that may look similar but in fact refer to different concepts:  multiprogramming, multiprocessing, multitasking,
Module 12: I/O Systems I/O hardwared Application I/O Interface
Presentation transcript:

CS533 Concepts of Operating Systems Class 11 System Structuring using Layers

CS533 - Concepts of Operating Systems 2 Questions  What is the difference between the two 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?  THE only supports downcalls across layer boundaries o How are they implemented?  Does THE use a procedure-based or a message- based programming model? o What is the analog of send and recv in THE?  Does THE use a thread or event-based model? o How is state managed during blocking calls?

CS533 - Concepts of Operating Systems 3 Questions  How are interrupts handled in THE? o Which layer handles them? o What two actions are likely to take place in an interrupt handler?  How does THE avoid deadlock?  What issues are involved in proving system correctness? o What is a homing state? o How does a process leave/return to/from its homing state? o How does layering help prove correctness? o Is correctness about specifications or implementations?

CS533 - Concepts of Operating Systems 4 Questions  Why is performance a problem in process-per-layer mappings of specifications to implementations? o What are the costs of crossing layer boundaries? o How do these relate to previous papers on LRPC, URPC etc?  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? Where does input come from? o 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 downcalling relate to event- based programming?  How does Swift implement protection?

CS533 - Concepts of Operating Systems 7 Reminder  Pick up your midterm exam papers  Send me your slides for next week!