AI Chat Paper
Note: Please note that the following content is generated by AMiner AI. SciOpen does not take any responsibility related to this content.
{{lang === 'zh_CN' ? '文章概述' : 'Summary'}}
{{lang === 'en_US' ? '中' : 'Eng'}}
Chat more with AI
Article Link
Collect
Submit Manuscript
Show Outline
Outline
Show full outline
Hide outline
Outline
Show full outline
Hide outline
Regular Paper

Joint-Communication Optimal Matrix Multiplication with Asymmetric Memories

National Engineering Research Center for Big Data Technology and System, Huazhong University of Science and Technology Wuhan 430074, China
Services Computing Technology and System Laboratory, Huazhong University of Science and Technology, Wuhan 430074 China
Cluster and Grid Computing Laboratory, Huazhong University of Science and Technology, Wuhan 430074, China
Show Author Information

Abstract

Emerging hardware like non-volatile memory (NVM) and high-speed network interface cards are promising to improve the performance of matrix multiplication. However, a critical challenge in achieving high performance is the tradeoff between horizontal communication (data movement between processors) and vertical communication (data movement across memory hierarchies). In this paper, we provide an analysis in the distributed memory parallel model with additional consideration for communication between main memory and cache. We measure joint communication as the sum of the horizontal bandwidth and vertical bandwidth cost, and study the joint-communication cost of square matrix multiplication in the read-write symmetric setting (such as DRAM) and asymmetric setting (such as NVM). Specifically, we identify that in the symmetric setting, a joint-communication optimal algorithm can be directly obtained by combining the horizontally optimal and vertically optimal algorithms. We also identify that in the asymmetric setting, horizontal and vertical communications cannot be optimal at the same time, which means that there is a tradeoff between the two communications. In this case, we first present a joint-communication lower bound, and then we propose Joint-Communication Optimal Matrix Multiplication Algorithm (JOMMA), a parallel matrix multiplication algorithm whose joint-communication complexity meets the lower bound. The key idea behind JOMMA is to derive optimal matrix dimensions that each processor locally performs, which leads to determining the processor grid and an optimal schedule.

Electronic Supplementary Material

Download File(s)
JCST-2306-13489-Highlights.pdf (188.5 KB)

References

【1】
【1】
 
 
Journal of Computer Science and Technology
Pages 835-854

{{item.num}}

Comments on this article

Go to comment

< Back to all reports

Review Status: {{reviewData.commendedNum}} Commended , {{reviewData.revisionRequiredNum}} Revision Required , {{reviewData.notCommendedNum}} Not Commended Under Peer Review

Review Comment

Close
Close
Cite this article:
Zhu L, Hua Q-S, Jin H. Joint-Communication Optimal Matrix Multiplication with Asymmetric Memories. Journal of Computer Science and Technology, 2025, 40(3): 835-854. https://doi.org/10.1007/s11390-023-3489-y

834

Views

0

Crossref

0

Web of Science

0

Scopus

0

CSCD

Received: 12 June 2023
Accepted: 05 January 2024
Published: 30 April 2025
© Institute of Computing Technology, Chinese Academy of Sciences 2025