edited by
11,849 views
42 votes
42 votes

A cache line is $64$ bytes. The main memory has latency $32$ $ns$ and bandwidth $1$ $GBytes/s$. The time required to fetch the entire cache line from the main memory is:

  1. $32$ $ns$
  2. $64$ $ns$
  3. $96$ $ns$
  4. $128$ $ns$
edited by

2 Answers

Best answer
64 votes
64 votes

Answer is C.

For $1$ sec it is $10^9$ bytes  ( Note - by looking at the options, it can be decided that $1GB$ should be considered as $10^9$, but not as $2^{30}$, and in general, if bandwidth is given, then we consider $1\text{ Giga} = 10^9)$

So, for $64$ bytes?

It is $\dfrac{64\times 1 }{10^9}$ so it is $64\text{ ns}$ but mm latency is $32.$
So, total time required to place cache line is $64+32 = 96\text{ ns}.$
 

edited by
6 votes
6 votes

Memory latency is the time (the latency) between initiating a request for a byte or word in memory until it is retrieved by a processor.

Answer:

Related questions

56 votes
56 votes
3 answers
2