Affiliation:
1. AICES, RWTH Aachen, Aachen, Germany
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.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Networks and Communications,Hardware and Architecture,Software
Cited by
9 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. A Test for FLOPs as a Discriminant for Linear Algebra Algorithms;2022 IEEE 34th International Symposium on Computer Architecture and High Performance Computing (SBAC-PAD);2022-11
2. Boosting Performance Optimization with Interactive Data Movement Visualization;SC22: International Conference for High Performance Computing, Networking, Storage and Analysis;2022-11
3. FLOPs as a Discriminant for Dense Linear Algebra Algorithms;Proceedings of the 51st International Conference on Parallel Processing;2022-08-29
4. Linnea;ACM Transactions on Mathematical Software;2021-09-30
5. Performance Comparison for Scientific Computations on the Edge via Relative Performance;2021 IEEE International Parallel and Distributed Processing Symposium Workshops (IPDPSW);2021-06