Paravirtualization The context for this question is the same…

Paravirtualization The context for this question is the same as the previous question. Above picture shows the I/O ring data structure used in Xen to facilitate communication between the guest OS and Xen.  Guest-OS places a request in the I/O ring using the “Request Producer” pointer. Xen places a response in the I/O ring using the “Response Producer” pointer.  [2 points] You are implementing disk I/O in a guest OS using Xen’s I/O ring. What steps are needed to achieve zero-copy semantics for a block write?

LRPC and Scheduling The context for this question is the sam…

LRPC and Scheduling The context for this question is the same as the previous question. A server provides the following procedure via LRPC  uint64_t sum_array(const uint64_t *arr, size_t len) {     uint64_t sum = 0;     for (size_t i = 0; i < len; ++i) {         sum += arr[i];     }     return sum;}  The kernel will create an A-stack and map that into the client and server address spaces.  Assume the following:  (uint64_t is 8 bytes and size_t is 4 bytes)  There is programming language support for the server to access the A-stack directly. [2 points] During the actual call what is the action on the client side so far as A-stack is concerned?

Potpourri The context for this question is the same as the p…

Potpourri The context for this question is the same as the previous question. Answer the following questions with respect to the MCS barrier algorithm: [2 points] (Answer True/False with justification) (No credit without justification)  The MCS algorithm works equally well on a shared memory multiprocessor as well as a cluster of processors with no physically shared memory.  

Potpourri The context for this question is the same as the p…

Potpourri The context for this question is the same as the previous question. Answer the following questions with respect to the MCS barrier algorithm: [3 points] (Answer True/False with justification) (No credit without justification)  The algorithm will not work on an NCC-NUMA machine.