CS533 Concepts of Operating Systems Class 11

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

CAS3SH3 Midterm Review. The midterm 50 min, Friday, Feb 27 th Materials through CPU scheduling closed book, closed note Types of questions: True & False,
User-Level Interprocess Communication for Shared Memory Multiprocessors Bershad, B. N., Anderson, T. E., Lazowska, E.D., and Levy, H. M. Presented by Akbar.
CS533 Concepts of Operating Systems Class 5 Integrated Task and Stack Management.
CS533 Concepts of Operating Systems Class 3 Monitors.
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.
Chapter 2: Processes Topics –Processes –Threads –Process Scheduling –Inter Process Communication (IPC) Reference: Operating Systems Design and Implementation.
CS533 Concepts of Operating Systems Class 8 Shared Memory Implementations of Remote Procedure Call.
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 11 System Structuring using Layers.
CS533 Concepts of Operating Systems Class 6 The Duality of Threads and Events.
CS533 Concepts of Operating Systems Class 4 Remote Procedure Call.
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.
Monitors: An Operating System Structuring Concept
CS533 Concepts of Operating Systems Jonathan Walpole.
CE Operating Systems Lecture 3 Overview of OS functions and structure.
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.
The Structuring of Systems Using Upcalls David D. Clark (Presented by John McCall)
Chapter 13: I/O Systems.
Last Class: Introduction
Module 12: I/O Systems I/O hardware Application I/O Interface
Chapter 4: Threads.
Operating Systems Chapter 2 - Processes Vrije Universiteit Amsterdam
CS533 Concepts of Operating Systems
Outline Other synchronization primitives
Scheduler activations
Other Important Synchronization Primitives
Semester Review Chris Gill CSE 422S - Operating Systems Organization
Process Synchronization and Communication
The Structuring of Systems Using Upcalls David D. Clark
COP 4600 Operating Systems Fall 2010
Condition Variable Implementation (**with correction of signal**)
CGS 3763 Operating Systems Concepts Spring 2013
COP 4600 Operating Systems Spring 2011
Operating System Concepts
13: I/O Systems I/O hardwared Application I/O Interface
CS703 - Advanced Operating Systems
CS533 Concepts of Operating Systems Class 10
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 14
CS533 Concepts of Operating Systems Class 7
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
Structuring of Systems using Upcalls
CS533 Concepts of Operating Systems Class 13
CS533 Concepts of Operating Systems Class 11
CS533 Concepts of Operating Systems Class 13
Today’s agenda ~10min: file system (UNIX) ~1hr: final review + Q&A
Chapter 13: I/O Systems I/O Hardware Application I/O Interface
CS533 Concepts of Operating Systems Class 14
CS533 Concepts of Operating Systems Class 13
CS533 Concepts of Operating Systems Class 1
Module 12: I/O Systems I/O hardwared Application I/O Interface
CS533 Concepts of Operating Systems Class 4
Presentation transcript:

CS533 Concepts of Operating Systems Class 11 System Structuring using Layers

CS533 - Concepts of Operating Systems Questions What is the difference between the two uses of semaphores in THE? What concepts from earlier in the class do they map to? What two purposes are they used for in THE? THE only supports downcalls across layer boundaries How are they implemented? Does THE use a procedure-based or a message-based programming model? What is the analog of send and recv in THE? Does THE use a thread or event-based model? How is state managed during blocking calls? CS533 - Concepts of Operating Systems

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

CS533 - Concepts of Operating Systems Questions Why is performance a problem in process-per-layer mappings of specifications to implementations? What are the costs of crossing layer boundaries? 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? How is inter-task communication within a multi-task module implemented in Swift? CS533 - Concepts of Operating Systems

CS533 - Concepts of Operating Systems Questions What do “up” and “down” mean in the context of Swift upcalls and downcalls? Why is arming required in upcalling, but not in downcalling? Why is upcalling more perilous than downcalling? When is it better to use upcalls than downcalls? Where does activity start in OS code? Where does input come from? Should you always pass data among tasks on the stack? 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

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

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