NUMA-Aware DGEMM Based on 64-Bit ARMv8 Multicore Processors Architecture
Open Access
- 17 August 2021
- journal article
- research article
- Published by MDPI AG in Electronics
- Vol. 10 (16) , 1984
Abstract
Double-precision general matrix multiplication (DGEMM) is an essential kernel for measuring the potential performance of an HPC platform. ARMv8-based system-on-chips (SoCs) have become the candidates for the next-generation HPC systems with their highly competitive performance and energy efficiency. Therefore, it is meaningful to design high-performance DGEMM for ARMv8-based SoCs. However, as ARMv8-based SoCs integrate increasing cores, modern CPU uses non-uniform memory access (NUMA). NUMA restricts the performance and scalability of DGEMM when many threads access remote NUMA domains. This poses a challenge to develop high-performance DGEMM on multi-NUMA architecture. We present a NUMA-aware method to reduce the number of cross-die and cross-chip memory access events. The critical enabler for NUMA-aware DGEMM is to leverage two levels of parallelism between and within nodes in a purely threaded implementation, which allows the task independence and data localization of NUMA nodes. We have implemented NUMA-aware DGEMM in the OpenBLAS and evaluated it on a dual-socket server with 48-core processors based on the Kunpeng920 architecture. The results show that NUMA-aware DGEMM has effectively reduced the number of cross-die and cross-chip memory access, resulting in enhancing the scalability of DGEMM significantly and increasing the performance of DGEMM by 17.1% on average, with the most remarkable improvement being 21.9%.Keywords
Funding Information
- National Key Research and Development Program of China (2018YFB0204303)
- Major Program of Guangdong Basic and Applied Research (2019B030302002)
- Guangdong Provincial Pearl River Talents Program (201906010008)
- National Natural Science Foundation of China (NSFC61802418, NSFC61832020, NSFC61872392)
This publication has 21 references indexed in Scilit:
- Scale-Out vs Scale-UpACM Transactions on Modeling and Performance Evaluation of Computing Systems, 2018
- A Customizable Matrix Multiplication Framework for the Intel HARPv2 Xeon+FPGA Platform2018
- Design and Implementation of a Highly Efficient DGEMM for 64-Bit ARMv8 Multi-core Processors2015
- BLIS: A Framework for Rapidly Instantiating BLAS FunctionalityACM Transactions on Mathematical Software, 2015
- Analyzing MPI-3.0 Process-Level Shared Memory: A Case Study with Stencil Computations2015
- NUMA-Aware Multicore Matrix MultiplicationParallel Processing Letters, 2014
- Anatomy of High-Performance Many-Threaded Matrix Multiplication2014
- Anatomy of high-performance matrix multiplicationACM Transactions on Mathematical Software, 2008
- GEMM-based level 3 BLASACM Transactions on Mathematical Software, 1998
- Algorithm 784: GEMM-based level 3 BLASACM Transactions on Mathematical Software, 1998