Reducing cache hit time

Reducing cache hit time

A Cache Optimization .

  • Most important for 1st level cache

  • Techniques:

    • Small cache
    • no or low associativity
    • Avoid address translation
    • Way prediction

Parallel vs Serial Tag-Data Array #

  • Parallel

    • In one step put in tag and if hit select correct cacheline from data array

  • Serial

    • Pipelining cache access

    • First check for tag hit, then in second step access the correct cache line

    • More latency but less energy, no multiplexer

Avoiding Address Translation #

  • Use virtual addresses in the cache
  • remove TLB from the critical path

Way prediction #

Calendar October 22, 2023