A CPU has a cache with block size 64 bytes. The main memory has k banks, each…

PYQ GATE 2006

A CPU has a cache with block size 64 bytes. The main memory has k banks, each bank being c bytes wide. Consecutive c − byte chunks are mapped on consecutive banks with wrap-around. All the k banks can be accessed in parallel, but two accesses to the same bank must be serialized. A cache block access may involve multiple iterations of parallel bank accesses depending on the amount of data obtained by accessing all the k banks in parallel. Each iteration requires decoding the bank numbers to be accessed in parallel and this takes. k/2 ns The latency of one bank access is 80 ns. If c = 2 and k = 24, the latency of retrieving a cache block starting at address zero from main memory is:

  1. A.

    92 ns

  2. B.

    104 ns

  3. C.

    172 ns

  4. D.

    184 ns

Attempted by 101 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…