Back to Search Start Over

Analyzing data locality in GPU kernels using memory footprint analysis.

Authors :
Kiani, Mohsen
Rajabzadeh, Amir
Source :
Simulation Modelling Practice & Theory. Feb2019, Vol. 91, p102-122. 21p.
Publication Year :
2019

Abstract

Abstract Memory footprint is a metric for quantifying data reuse in memory trace. It can also be used to approximate cache performance, especially in shared cache systems. Memory footprint is acquired through memory footprint analysis (FPA). However, its main limitation is that, for a memory trace of n accesses, the all-window FPA algorithm requires O (n 3) time. Therefore, in this paper, we propose an analytical algorithm for FPA, whereby the average footprints are calculated in O (n 2). The proposed algorithm can also be employed for window distribution analysis. Moreover, we propose a framework to enable the application of FPA to GPU kernels and model the performance of L1 cache memories. The results of experimental evaluations indicate that our proposed framework functions 1.55X slower than the Xiang's formula, as a fast average FPA method, while it can also be utilized for window distribution analysis. In the context of FPA-based cache performance estimation, the experimental results indicate a fair correlation between the estimated L1 miss rates and those of the native GPU executions. On average, the proposed framework has 23.8% error in the estimation of L1 cache miss rates. Further, our algorithm runs 125X slower than the reuse distance analysis (RDA) when analyzing a single kernel. However, the proposed method outperforms RDA in modeling shared caches and multiple kernel executions in GPUs. [ABSTRACT FROM AUTHOR]

Details

Language :
English
ISSN :
1569190X
Volume :
91
Database :
Academic Search Index
Journal :
Simulation Modelling Practice & Theory
Publication Type :
Academic Journal
Accession number :
133826639
Full Text :
https://doi.org/10.1016/j.simpat.2018.12.003