Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS533 Concepts of Operating Systems Class 8 Shared Memory Implementations of Remote Procedure Call.

Similar presentations


Presentation on theme: "CS533 Concepts of Operating Systems Class 8 Shared Memory Implementations of Remote Procedure Call."— Presentation transcript:

1 CS533 Concepts of Operating Systems Class 8 Shared Memory Implementations of Remote Procedure Call

2 CS533 - Concepts of Operating Systems 2 LRPC Questions  Why use RPC for same machine communication?  What is a small-kernel OS, and why is it relevant to this discussion?  What overhead is involved in a straightforward implementation of RPC in the local case? o What are the basic work components How are they handled in RPC? How are they handled in LRPC?

3 CS533 - Concepts of Operating Systems 3 LRPC Questions  Why do LRPC procedure descriptors include the number of simultaneous calls permitted to the procedure by a client?  Why must the binding object be presented to the kernel on every call?  Why doesn’t the server handle the callers return address directly?  Why does the kernel maintain a stack of linkage records for each caller, instead of just one?

4 CS533 - Concepts of Operating Systems 4 LRPC Questions  Why isn’t a binding object required to validate the return call, just like the initial call?  In what way does LRPC depend on the calling conventions of Modula2+ ? o How does LRPC maintain safety?

5 CS533 - Concepts of Operating Systems 5 LRPC Questions  How does LRPC optimize VM context switching on a multiprocessor? o Why does this work? o Why is this approach potentially wasteful? o Why does it help to spin idle CPUs in commonly executed VM contexts?

6 CS533 - Concepts of Operating Systems 6 URPC Questions  Where does most of LRPC’s overhead come from?  How can the kernel be eliminated from the call path on multiprocessors with user-level threads?  To a thread URPC is synchronous, but to the thread library it is asynchronous … explain.  How does URPC affect throughput and latency?

7 CS533 - Concepts of Operating Systems 7 General Questions  Now we have scheduling, synchronization, and IPC outside the kernel o What should be in the kernel? o These papers predated scheduler activations Can you see the train of thought that led to scheduler activations?


Download ppt "CS533 Concepts of Operating Systems Class 8 Shared Memory Implementations of Remote Procedure Call."

Similar presentations


Ads by Google