Maximizing Multi-Core Efficiency in BLAS: A Scalable Architecture for Performance

Basic Linear Algebra Subprograms (BLAS) operations are fundamental computational building blocks widely used in machine learning models and AI libraries. Among BLAS routines, General Matrix multiplication(GEMM) is one of the most computationally intensive tasks, making it crucial to leverage multi-core CPU systems for enhanced efficiency and speed. The existing threading architecture in OpenBLAS, a popular BLAS library, only allows for a single execution of GEMM at a time, which fails to meet the extensive computational requirements of modern applications. This limitation restricts parallelism and CPU core utilization.This poster introduces a scalable and enhanced architecture in OpenBLAS that facilitates parallel BLAS executions with loosely coupled synchronization using POSIX conditional variables, thereby boosting performance and core utilization. With the proposed algorithmic changes to OpenBLAS, we have observed an average improvement of 30 % for matrix sizes of 128 and 256 on a 64-core AWS Graviton3 instance.

Authors

Institutions

Publication Details

Published
2024-12-18
DOI
https://doi.org/10.1109/hipcw63042.2024.00086
Primary Topic
Parallel Computing and Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Maximizing Multi-Core Efficiency in BLAS: A Scalable Architecture for Performance

Saurabh Gautam, Ikuo Miyoshi, Darshan Patel, Priyanka Sharma et al.
Parallel Computing and Optimization Techniques
article

Maximizing Multi-Core Efficiency in BLAS: A Scalable Architecture for Performance

Saurabh Gautam, Ikuo Miyoshi, Darshan Patel, Priyanka Sharma, Deeksha Goplani, Ragesh Hajela, Masahiro Doteguchi
article en

Abstract

Basic Linear Algebra Subprograms (BLAS) operations are fundamental computational building blocks widely used in machine learning models and AI libraries. Among BLAS routines, General Matrix multiplication(GEMM) is one of the most computationally intensive tasks, making it crucial to leverage multi-core CPU systems for enhanced efficiency and speed. The existing threading architecture in OpenBLAS, a popular BLAS library, only allows for a single execution of GEMM at a time, which fails to meet the extensive computational requirements of modern applications. This limitation restricts parallelism and CPU core utilization.This poster introduces a scalable and enhanced architecture in OpenBLAS that facilitates parallel BLAS executions with loosely coupled synchronization using POSIX conditional variables, thereby boosting performance and core utilization. With the proposed algorithmic changes to OpenBLAS, we have observed an average improvement of 30 % for matrix sizes of 128 and 256 on a 64-core AWS Graviton3 instance.

Fujitsu (Japan) (JP)
New Energy and Industrial Technology Development Organization
Affordable and clean energy
Openalex Percentile: Top 69%
Parallel Computing and Optimization Techniques
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.