Title :
Filtering Directory Lookups in CMPs
Author :
Bosque, Ana ; Vinals, Víctor ; Ibánez, Pablo ; Llabería, José M.
Author_Institution :
Comput. Archit. Dept., Univ. Politec. de Catalunya, Barcelona, Spain
Abstract :
Coherence protocols consume an important fraction of power to determine which coherence action should take place. In this paper we focus on CMPs with a shared cache and a directory-based coherence protocol implemented as a duplicate of local caches tags. We observe that a big fraction of directory lookups produce a miss since the block looked up is not cached in any local cache. We propose to add a filter before the directory lookup in order to reduce the number of lookups to this structure. The filter identifies whether the current block was last accessed as a data or as an instruction. With this information, looking up the whole directory can be avoided for most accesses. We evaluate the filter in a CMP with 8 in-order processors with 4 threads each and a memory hierarchy with a shared L2 cache. We show that a filter with a size of 3% of the tag array of the shared cache can avoid more than 70% of all comparisons performed by directory lookups with a performance loss of just 0.2% for SPLASH2 and 1.5% for Specweb2005. On average, the number of 15-bit comparisons avoided per cycle is 54 out of 77 for SPLASH2 and 29 out of 41 for Specweb2005. In both cases, the filter requires less than one read of 1 bit per cycle.
Keywords :
cache storage; multiprocessing systems; protocols; CMP; SPLASH2; Specweb2005; directory based coherence protocol; directory lookups filtering; shared L2 cache; shared cache; Arrays; Benchmark testing; Biological system modeling; Coherence; Multicore processing; Program processors; Protocols;
Conference_Titel :
Digital System Design: Architectures, Methods and Tools (DSD), 2010 13th Euromicro Conference on
Conference_Location :
Lille
Print_ISBN :
978-1-4244-7839-2
DOI :
10.1109/DSD.2010.85