Comparison
- f Cache
Replacement Policies using GEM5 Simulator
Teammates
- Bhagyashree
- Nivin
- Sri Divya
Comparison of Cache Replacement Policies using Teammates - - - PowerPoint PPT Presentation
Comparison of Cache Replacement Policies using Teammates - Bhagyashree GEM5 - Nivin Simulator - Sri Divya Performance Bottleneck The performance gap between CPU and Dram has increased drastically. It leads to producer consumer
CPU and Dram has increased drastically.
problem.
What are we looking for ?
locality.
hierarchy to solve big and fast memory.
memory to size of HDD and fast as Registers.
memory hierarch as a sequence <1, 2, 3, 4>
cache.
Processor (consumer) (Mem) Processor (consumer) (Mem)
cache level is limited 3 or 4.
stopping it from doing ?.
Level 1 Level 2 Level 3 Level n
decides best to discard.
that is referenced at one point in time will be referenced again sometime in the near future.” – eg: Web cache
referencing a resource is higher if a resource near it was just referenced” – eg: Matrix Multiplication
block size.
Temp
Spatial
algorithms at different levels and study its performance.
Level 1 - LRU Level 2 - Random Level 3 Level n
Intuition: Have higher set value for lower cache levels. Lets forget the cost for now ? But does reversing it gives you better performance. Coming back to seq: Cache sequence: <1, 2, 3, 4> Set sequence : <N, N-1, N-2> Reversing it:
Let’s represent all the above research idea into a tree.
where each algorithm stands.
measurement cache performance Application hardware locality cost Complexity benchmark Set associativity Levels mix
simulator ?
memory system and the behavior of memory system depends on the CPUs.
simulators, as it is much easier to perform different measurements on cache replacement policies.
used for performance evaluation.
driven computer system simulator platform
the framework.
Simple
'256kB' assoc = 8 hit_latency = 20 response_latency = 20
lock 16000 # Clock period in ticks
345518 # number of cpu cycles simulated
t_10s.pdf
t-2002.pdf
0d4a732852c86256.pdf
m5-tutorial/index.html
w-cache-policy