DocumentCode
167366
Title
Predicting Cache Contention for Multithread Applications at Compile Time
Author
Tolubaeva, Munara ; Yonghong Yan ; Chapman, Barbara
Author_Institution
Comput. Sci. Dept., Univ. of Houston, Houston, TX, USA
fYear
2014
fDate
19-23 May 2014
Firstpage
624
Lastpage
631
Abstract
Shared cache in multicore processors is an important hardware resource that should be utilized effectively to achieve high performance for parallel applications. It is critical to coordinate accesses by multiple threads to data that reside in shared cache to reduce cache contentions, and to improve cache hit rates of both shared and private data of threads. Poorly scheduled threads with regards to their memory access patterns can cause severe cache interference among each other, thus increasing the number of cache misses greatly and causing overall application performance degradation. To evaluate the cache contention behavior of multithread applications, we propose a new method to predict number of cache misses that would happen due to cache sharing and/or contention at compile time. The method utilizes compiler analysis techniques to generate memory access traces for each thread under no cache sharing. Then a small number of combinations of threads´ memory access traces are randomly selected among all combinations as an input to predict cache misses of the threads using the proposed method. We have shown that our method can predict the number of cache misses very fast without losing accuracy. Our approach is very generic and can predict cache contention and/or sharing impact of parallel applications on both homogeneous and heterogeneous systems. We evaluated the method with a simulation case study and two scientific benchmarks. The results showed that our method can accurately predict the impact of cache contention and sharing at compile time.
Keywords
cache storage; multi-threading; multiprocessing systems; storage management; cache contention prediction; cache hit rates; cache interference; cache miss prediction; cache sharing; compiler analysis techniques; memory access patterns; memory access traces; multicore processors; multithread applications; Arrays; Computational modeling; Instruction sets; Radiation detectors; Silicon; Standards; Vectors; Shared cache; cache contention; compiler analysis; performance model and prediction;
fLanguage
English
Publisher
ieee
Conference_Titel
Parallel & Distributed Processing Symposium Workshops (IPDPSW), 2014 IEEE International
Conference_Location
Phoenix, AZ
Print_ISBN
978-1-4799-4117-9
Type
conf
DOI
10.1109/IPDPSW.2014.73
Filename
6969443
Link To Document