Suppose that the time to do a null remote procedure call (RPC) (i.e. 0 data…

2016

Suppose that the time to do a null remote procedure call (RPC) (i.e. 0 data bytes) is 1.0 msec, with an additional 1.5 msec for every 1K of data. How long does it take to read 32 K from the file server as 32 1K RPCs ?

Answer: B. 80 msecSolution: Compute the time per 1K RPC, then multiply by 32. Time per 1K RPC = base time (1.0 ms) + per-K data time (1.5 ms) = 2.5 ms. Total time for 32 such…

  1. A.

    49 msec

  2. B.

    80 msec

  3. C.

    48 msec

  4. D.

    100 msec

Attempted by 92 students.

Show answer & explanation

Correct answer: B

Solution: Compute the time per 1K RPC, then multiply by 32.

  • Time per 1K RPC = base time (1.0 ms) + per-K data time (1.5 ms) = 2.5 ms.

  • Total time for 32 such RPCs = 32 × 2.5 ms = 80 ms.

Answer: 80 ms

Explore the full course: Accenture Preparation

Loading lesson…