





























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!






























Introduction
Motivation
The B-Cache Organization
Experimental Methodology and Results
Programmable Decoder Design
Analysis
Related Work
Conclusion
PROCESSOR
LEVEL 2 MAIN MEMORY
LEVEL 1
Level one cache normally resides on a processor’s critical path, fast access to level one cache is an important issue for improved processor performance.
There are two cache organization models that
have been developed:
Direct-Mapped Cache: Set-Associative Cache:
Direct-M apped Cache
faster access time consumes less power per access
consumes less area easy to implement simple to design higher miss rate
Set-Associative Cache longer access time consumes more power per access consumes more area reduces conflict misses has a replacement policy
Balanced Cache (B-Cache):
A mechanism to provide the benefit of cache
block replacement while maintaining the
constant access time of a direct-mapped cache
8-bit adress
same as in 2-way cache
X : invalid PD entry Docsity.com
Memory address mapping factor (MF):
B-Cache associativity (BAS):
PI : index length of PD
NPI : index length of NPD
OI : index length of original direct-mapped cache
MF = 2 (PI+NPI)/2OI^ , where MF≥
BAS = 2 OI^ /2NPI^ , where BAS≥
Random Policy:
Simple to design and needs very few extra hardware.
Least Recently Used(LRU):
May achieve a better hit rate but will have more area overhead than the random policy.
Miss rate is used as the primary metric to measure the BCache effectiveness, and MP and BAS parameters are determined.
Results are compared with baseline level one cache(a direct-mapped 16kB cache with a line size of 32 bytes for instruction and data caches)
4-issue out-of-order processor simulator is used to collect the miss rate. 26 SPEC2K benchmarks are run using the SimpleScalar tool set.
The miss rate reduction of the B-Cache is as good as a 4-way cache for the data cache. For the instruction cache, on average, the miss rate reduction is 5% better than a 4-way cache.