CS533 Concepts of Operating Systems Class 9 User-Level Remote Procedure Call.

Slides:



Advertisements
Similar presentations
Chapter 4 Threads Patricia Roy Manatee Community College, Venice, FL ©2008, Prentice Hall Operating Systems: Internals and Design Principles, 6/E William.
Advertisements

URPC for Shared Memory Multiprocessors Brian Bershad, Thomas E. Anderson, Edward D. Lazowska, and Henry M. Levy ACM TOCS 9 (2), May 1991.
User-Level Interprocess Communication for Shared Memory Multiprocessors Bershad, B. N., Anderson, T. E., Lazowska, E.D., and Levy, H. M. Presented by Akbar.
CHAPTER 5 THREADS & MULTITHREADING 1. Single and Multithreaded Processes 2.
Distributed systems Programming with threads. Reviews on OS concepts Each process occupies a single address space.
Fast Communication Firefly RPC Lightweight RPC  CS 614  Tuesday March 13, 2001  Jeff Hoy.
Lightweight Remote Procedure Call Brian N. Bershad, Thomas E. Anderson, Edward D. Lazowska, and Henry M. Levy Presented by Alana Sweat.
CS533 Concepts of Operating Systems Class 5 Integrated Task and Stack Management.
Distributed systems Programming with threads. Reviews on OS concepts Each process occupies a single address space.
CS533 Concepts of Operating Systems Class 6 The Duality of Threads and Events.
CS533 Concepts of Operating Systems Class 8 Remote Procedure Call & LRPC.
CS533 Concepts of Operating Systems Class 20 Summary.
User-Level Interprocess Communication for Shared Memory Multiprocessors Bershad, B. N., Anderson, T. E., Lazowska, E.D., and Levy, H. M. Presented by Chris.
CS533 Concepts of Operating Systems Class 8 Shared Memory Implementations of Remote Procedure Call.
User Level Interprocess Communication for Shared Memory Multiprocessor by Bershad, B.N. Anderson, A.E., Lazowska, E.D., and Levy, H.M.
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.
Improving IPC by Kernel Design Jochen Liedtke Presented by Ahmed Badran.
3.5 Interprocess Communication Many operating systems provide mechanisms for interprocess communication (IPC) –Processes must communicate with one another.
Lightweight Remote Procedure Call Brian N. Bershad, Thomas E. Anderson, Edward D. Lazowska, Henry M. Levy ACM Transactions Vol. 8, No. 1, February 1990,
Threads 1 CS502 Spring 2006 Threads CS-502 Spring 2006.
3.5 Interprocess Communication
USER LEVEL INTERPROCESS COMMUNICATION FOR SHARED MEMORY MULTIPROCESSORS Presented by Elakkiya Pandian CS 533 OPERATING SYSTEMS – SPRING 2011 Brian N. Bershad.
CS533 Concepts of Operating Systems Class 2 Thread vs Event-Based Programming.
CS533 Concepts of Operating Systems Class 7 Integrated Task and Stack Management.
 2004 Deitel & Associates, Inc. All rights reserved. Chapter 4 – Thread Concepts Outline 4.1 Introduction 4.2Definition of Thread 4.3Motivation for Threads.
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.
1 Chapter 4 Threads Threads: Resource ownership and execution.
Exercises for Chapter 6: Operating System Support
User-Level Interprocess Communication for Shared Memory Multiprocessors Brian N. Bershad, Thomas E. Anderson, Edward D. Lazowska, and Henry M. Levy Presented.
CS 3013 & CS 502 Summer 2006 Threads1 CS-3013 & CS-502 Summer 2006.
CS533 Concepts of Operating Systems Class 4 Remote Procedure Call.
CS533 Concepts of Operating Systems Class 14 Extensible Virtual Memory Management.
CS533 Concepts of Operating Systems Class 9 Lightweight Remote Procedure Call (LRPC) Rizal Arryadi.
CS510 Concurrent Systems Jonathan Walpole. Lightweight Remote Procedure Call (LRPC)
CS533 - Concepts of Operating Systems Virtual Memory Primitives for User Programs Presentation by David Florey.
 2004 Deitel & Associates, Inc. All rights reserved. 1 Chapter 4 – Thread Concepts Outline 4.1 Introduction 4.2Definition of Thread 4.3Motivation for.
Chapter 8-2 : Multicomputers Multiprocessors vs multicomputers Multiprocessors vs multicomputers Interconnection topologies Interconnection topologies.
Silberschatz, Galvin and Gagne ©2013 Operating System Concepts – 9 th Edition Chapter 4: Threads.
Brian N. Bershad, Thomas E. Anderson, Edward D. Lazowska, and Henry M. Levy. Presented by: Tim Fleck.
Department of Computer Science and Software Engineering
Operating Systems: Internals and Design Principles
The Performance of Micro-Kernel- Based Systems H. Haertig, M. Hohmuth, J. Liedtke, S. Schoenberg, J. Wolter Presentation by: Tim Hamilton.
CS533 Concepts of Operating Systems Jonathan Walpole.
CS533 Concepts of Operating Systems Jonathan Walpole.
Brian Bershad, Thomas Anderson, Edward Lazowska, and Henry Levy Presented by: Byron Marohn Published: 1991.
1 Threads, SMP, and Microkernels Chapter 4. 2 Process Resource ownership - process includes a virtual address space to hold the process image Scheduling/execution-
Silberschatz, Galvin and Gagne ©2009Operating System Concepts – 8 th Edition Chapter 4: Threads.
Processes Chapter 3. Processes in Distributed Systems Processes and threads –Introduction to threads –Distinction between threads and processes Threads.
Chapter 4 – Thread Concepts
CS533 Concepts of Operating Systems
Chapter 4 – Thread Concepts
B. N. Bershad, T. E. Anderson, E. D. Lazowska and H. M
Chapter 4 Multithreading programming
CS533 Concepts of Operating Systems Class 10
Midterm review: closed book multiple choice chapters 1 to 9
By Brian N. Bershad, Thomas E. Anderson, Edward D
Fast Communication and User Level Parallelism
Multithreaded Programming
CS533 Concepts of Operating Systems Class 12
Presented by Neha Agrawal
Presented by: SHILPI AGARWAL
CS533 Concepts of Operating Systems Class 11
CS533 Concepts of Operating Systems Class 13
Brian N. Bershad, Thomas E. Anderson, Edward D. Lazowska, and Henry M
CS533 Concepts of Operating Systems Class 11
CS533 Concepts of Operating Systems Class 14
Threads: Light-Weight Processes
Presentation transcript:

CS533 Concepts of Operating Systems Class 9 User-Level Remote Procedure Call

CS533 - Concepts of Operating Systems 2 Questions  Where does most of LRPC’s overhead come from?  How can the kernel be eliminated from the call path on SMMPs with user-level threads?  To a thread URPC is synchronous, but to the thread library it is asynchronous … explain.  Why do kernel thread switches have long term cache and TLB effects that user thread switches do not?

CS533 - Concepts of Operating Systems 3 Questions  In what ways does URPC do “cooperative scheduling” across address space boundaries?  In what ways does URPC do load balancing?  How does URPC affect throughput and latency?  Why might URPC scale better than kernel-based RPC?  How can a client’s CPU be hijacked by a server? o How could you solve this problem?

CS533 - Concepts of Operating Systems 4 Questions  Now we have scheduling, synchronization, and IPC outside the kernel o What should be IN the kernel? o Note, these papers predated scheduler activations  Second half of CS533 examines the evolution of kernel structuring approaches

CS533 - Concepts of Operating Systems 5 Reminder  Midterm exam on Thursday  Closed book  Questions on race conditions, deadlock, monitors, RCU, manual and automatic stack management, user- level threads, scheduler activations, RPC vs LRPC vs URPC

CS533 - Concepts of Operating Systems 6 What have we learned so far?  Multi-threaded programming primitives  Race conditions and deadlock problems  Monitors  Scalable synchronization on modern CPUs  Event-based programming instead of multi-threading  Manual vs automatic stack management  Cooperative scheduling (task management)  Kernel support for user-level threads  RPC and various optimizations (LRPC & URPC)