DocumentCode :
2998064
Title :
Compile-Time Detection of False Sharing via Loop Cost Modeling
Author :
Tolubaeva, Munara ; Yan, Yonghong ; Chapman, Barbara
Author_Institution :
Comput. Sci. Dept., Univ. of Houston, Houston, TX, USA
fYear :
2012
fDate :
21-25 May 2012
Firstpage :
557
Lastpage :
566
Abstract :
False sharing, which occurs when multiple threads access different data elements on the same cache line, and at least one of them updates the data, is a well known source of performance degradation on cache coherent parallel systems. The application developer is often unaware of this problem during program creation, and it can be hard to detect instances of its occurrence in a large code. In this paper, we present a compile-time cost model for estimating the performance impact of false sharing on parallel loops. Using this model, we are able to predict the amount of false sharing that could occur when the loop is executed, and can indicate the percentage of program execution time that is due to maintaining the coherence of data from false sharing. We evaluated our model by comparing its predictions obtained on several computational kernels using 2 to 48 threads against that from actual execution. The results showed that our model can accurately quantify the impact of false sharing on loop performance at compile-time.
Keywords :
cache storage; data handling; multiprocessing systems; parallel processing; performance evaluation; program compilers; cache coherent parallel systems; cache line; compile time detection; data elements; false sharing; loop cost modeling; multicore processors; multiple threads access; performance degradation; program execution time; Analytical models; Arrays; Computational modeling; Instruction sets; Mathematical model; Predictive models; False Sharing; Loop Cost Modeling; Performance Prediction and Modeling Compiler;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Parallel and Distributed Processing Symposium Workshops & PhD Forum (IPDPSW), 2012 IEEE 26th International
Conference_Location :
Shanghai
Print_ISBN :
978-1-4673-0974-5
Type :
conf
DOI :
10.1109/IPDPSW.2012.67
Filename :
6270690
Link To Document :
بازگشت