跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

数学 > 数值分析

arXiv:2307.06305 (math)
[提交于 2023年7月12日]

标题:Diagonally-Addressed Matrix Nicknack: How to improve SpMV performance

作者:Jens Saak, Jonas Schulze
查看论文《Diagonally-Addressed Matrix Nicknack: How to improve SpMV performance》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:We suggest a technique to reduce the storage size of sparse matrices at no loss of information. We call this technique Diagonally-Adressed (DA) storage. It exploits the typically low matrix bandwidth of matrices arising in applications. For memory-bound algorithms, this traffic reduction has direct benefits for both uni-precision and multi-precision algorithms. In particular, we demonstrate how to apply DA storage to the Compressed Sparse Rows (CSR) format and compare the performance in computing the Sparse Matrix Vector (SpMV) product, which is a basic building block of many iterative algorithms. We investigate 1367 matrices from the SuiteSparse Matrix Collection fitting into the CSR format using signed 32 bit indices. More than 95% of these matrices fit into the DA-CSR format using 16 bit column indices, potentially after Reverse Cuthill-McKee (RCM) reordering. Using IEEE 754 double precision scalars, we observe a performance uplift of 11% (single-threaded) or 17.5% (multithreaded) on average when the traffic exceeds the size of the last-level CPU cache. The predicted uplift in this scenario is 20%. For traffic within the CPU's combined level 2 and level 3 caches, the multithreaded performance uplift is over 40% for a few test matrices.
评论: 8 pages, 4 figures, 2 tables, submitted to PAMM
主题: 数值分析 (math.NA); 数据结构与算法 (cs.DS); 数值分析 (cs.NA); 性能 (cs.PF)
引用方式: arXiv:2307.06305 [math.NA]
  (或者 arXiv:2307.06305v1 [math.NA] 对于此版本)
  https://doi.org/10.48550/arXiv.2307.06305
相关 DOI: https://doi.org/10.1002/pamm.202300228

提交历史

来自:Jonas Schulze
[v1] 2023年7月12日 星期三 17:01:14 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

math
< 上一篇   |   下一篇 >
最新 | 近期 | 2023-07
切换浏览方式为:
math.NA
cs.DS
cs.NA
cs.PF

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站