Title
Modeling performance through memory-stalls
Abstract
We aim at modeling the performance of linear algebra algorithms without executing either them or parts of them. The performance of an algorithm can be expressed in terms of the time spent on CPU execution and on memory-stalls. The main concern of this paper is to build analytical models to accurately predict memory-stalls. The scenario in which data resides in the L2 cache is considered; with this assumption, only L1 cache misses occur. We construct an analytical formula for modeling the L1 cache misses of fundamental linear algebra operations such as those included in the Basic Linear Algebra Subprograms (BLAS) library. The number of cache misses occurring in higher-level algorithms "like a matrix factorization" is then predicted by combining the models for the appropriate BLAS subroutines. As case studies, we consider GER, a BLAS level-2 operation, and the LU factorization. The models are validated on both Intel and AMD processors, attaining remarkably accurate performance predictions.
Year
DOI
Venue
2012
10.1145/2381056.2381076
SIGMETRICS Performance Evaluation Review
Keywords
Field
DocType
analytical model,lu factorization,appropriate blas subroutine,blas level-2 operation,linear algebra algorithm,fundamental linear algebra operation,analytical formula,accurate performance prediction,l2 cache,l1 cache
Cache-oblivious algorithm,Cache pollution,CPU cache,Cache,Computer science,Matrix decomposition,Parallel computing,Cache algorithms,Real-time computing,Cache coloring,Basic Linear Algebra Subprograms
Journal
Volume
Issue
Citations 
40
2
3
PageRank 
References 
Authors
0.43
6
2
Name
Order
Citations
PageRank
Roman Iakymchuk1325.98
Paolo Bientinesi244853.91