+2 votes
in Computer Architecture by
advantages of a shared L2 cache among cores compared to separate dedicated L2 caches for each core.

1 Answer

+3 votes
by
 
Best answer

Below are some of the reasons one may consider using a shared L2 cache among cores as opposed to having a dedicated L2 cache for each core;

  1. Constructive interference can reduce overall miss rates. That is, if a thread on one core accesses a main memory location, this brings the frame containing the referenced location into the shared cache. If a thread on another core soon thereafter accesses the same memory block, the memory locations will already be available in the shared on-chip cache.
  2. A related advantage is that data shared by multiple cores is not replicated at the shared cache level.
  3. With proper frame replacement algorithms, the amount of shared cache allocated to each core is dynamic, so that threads that have a less locality can employ more cache.
  4. Interprocessor communication is easy to implement, via shared memory locations.
  5. The use of a shared L2 cache confines the cache coherency problem to the L1 cache level, which may provide some additional performance advantage.
by
Great explanation

Related questions

Welcome to CPEN Talk
Solution-oriented students of computer engineering on one platform to get you that

ONE SOLUTION

...