Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Version 1
- Run 1
- Mem access count: 1088
- Cache hit count: 896
- Cache miss count: 192
- Cache Hit rate: 82%
- Run 2
- Mem access count: 1088
- Cache hit count: 1039
- Cache miss count: 49
- Cache hit rate: 95%
- Run 2 has a higher hit rate because of its word size, and there are 64 words in each array and 3 arrays => 3*64 = 192
- Run 2 performs better, because whenever another address with the same tag is requested where an
- item in the cache already exists, it allows the new value to be stored alongside the old one. When
- the old entry is requested from the cache, it hits.
- Version 2
- Run 1
- Mem access count: 1088
- Cache hit count: 788
- Cache miss count: 300
- Cache hit rate: 72%
- Run 2
- Mem access count: 1088
- Cache hit count: 1037
- Cache miss count: 51
- Cache hit rate: 95%
- Version 3
- Mem access count: 8448
- Cache hit count: 7323
- Cache miss count: 1125
- Cache hit rate: 87%
- Version 3a
- Memory Access Count: 10240
- Cache hit count: 9494
- Cache miss count: 746
- Cache hit rate: 93%
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement