Cache-Efficient Multigrid Algorithms

Author:

Sellappa Sriram1,Chatterjee Siddhartha2

Affiliation:

1. ANDIAMO SYSTEMS INC. SAN JOSE, CA 95134, USA

2. IBM T. J. WATSON RESEARCH CENTER YORKTOWN HEIGHTS, NY 10598, USA

Abstract

Multigrid is widely used as an efficient solver for sparse linear systems arising from the discretization of elliptic boundary value problems. Linear relaxation methods such as Gauss–Seidel and Red–Black Gauss–Seidel form the principal computational component of multigrid, and thus affect its efficiency. In the context of multigrid, these iterative solvers are executed for a small number of iterations (2–8). We exploit this property of the algorithm to develop a cache-efficient multigrid method, by focusing on improving the memory behavior of the linear relaxation methods. The efficiency in our cache-efficient linear relaxation algorithm comes from two sources: reducing the number of data cache and TLB misses, and reducing the number of memory references by keeping values registerresident. Our optimizations are applicable to multigrid applied to linear systems arising from constant coefficient elliptic PDEs on structured grids. Experiments on five modern computing platforms show a performance improvement of 1.15–2.7 times over a standard implementation of Full Multigrid V-Cycle.

Publisher

SAGE Publications

Subject

Hardware and Architecture,Theoretical Computer Science,Software

Reference4 articles.

1. Douglas, C., Hu, J., Kowarschik, M., Rüde, U., and Weiss, C. 2000. Cache optimization for structured and unstructured grid multigrid . Electronic Transactions on Numerical Analysis 10: 21–40 . University of Kentucky, Louisville, KY , ISSN 1068–9613.

2. Evaluating associativity in CPU caches

3. Lebeck, A. R. and Wood, D. A. 1994. Cache profiling and the SPEC benchmarks: a case study . IEEE Computer 27(10): 15–26 .

4. Efficient Out-of-Core Algorithms for Linear Relaxation Using Blocking Covers

Cited by 17 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Bricks: A high-performance portability layer for computations on block-structured grids;The International Journal of High Performance Computing Applications;2024-08-19

2. Performance Portability Evaluation of Blocked Stencil Computations on GPUs;Proceedings of the SC '23 Workshops of The International Conference on High Performance Computing, Network, Storage, and Analysis;2023-11-12

3. Automatic Code Generation for High-performance Discontinuous Galerkin Methods on Modern Architectures;ACM Transactions on Mathematical Software;2021-03-31

4. Exploiting reuse and vectorization in blocked stencil computations on CPUs and GPUs;Proceedings of the International Conference for High Performance Computing, Networking, Storage and Analysis;2019-11-17

5. Delivering Performance-Portable Stencil Computations on CPUs and GPUs Using Bricks;2018 IEEE/ACM International Workshop on Performance, Portability and Productivity in HPC (P3HPC);2018-11

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3