PARALiA: a performance aware runtime for auto-tuning linear algebra on heterogeneous systems

Anastasiadis, P., Papadopoulou, N. , Goumas, G., Koziris, N., Hoppe, D. and Zhong, L. (2023) PARALiA: a performance aware runtime for auto-tuning linear algebra on heterogeneous systems. ACM Transactions on Architecture and Code Optimization, 20(4), 52. (doi: 10.1145/3624569)

[img] Text
320534.pdf - Published Version
Available under License Creative Commons Attribution.

1MB

Abstract

Dense linear algebra operations appear very frequently in high-performance computing (HPC) applications, rendering their performance crucial to achieve optimal scalability. As many modern HPC clusters contain multi-GPU nodes, BLAS operations are frequently offloaded on GPUs, necessitating the use of optimized libraries to ensure good performance. Unfortunately, multi-GPU systems are accompanied by two significant optimization challenges: data transfer bottlenecks as well as problem splitting and scheduling in multiple workers (GPUs) with distinct memories. We demonstrate that the current multi-GPU BLAS methods for tackling these challenges target very specific problem and data characteristics, resulting in serious performance degradation for any slightly deviating workload. Additionally, an even more critical decision is omitted because it cannot be addressed using current scheduler-based approaches: the determination of which devices should be used for a certain routine invocation. To address these issues we propose a model-based approach: using performance estimation to provide problem-specific autotuning during runtime. We integrate this autotuning into an end-to-end BLAS framework named PARALiA. This framework couples autotuning with an optimized task scheduler, leading to near-optimal data distribution and performance-aware resource utilization. We evaluate PARALiA in an HPC testbed with 8 NVIDIA-V100 GPUs, improving the average performance of GEMM by 1.7× and energy efficiency by 2.5× over the state-of-the-art in a large and diverse dataset and demonstrating the adaptability of our performance-aware approach to future heterogeneous systems.

Item Type:Articles
Status:Published
Refereed:Yes
Glasgow Author(s) Enlighten ID:Papadopoulou, Dr Nikela
Authors: Anastasiadis, P., Papadopoulou, N., Goumas, G., Koziris, N., Hoppe, D., and Zhong, L.
College/School:College of Science and Engineering > School of Computing Science
Journal Name:ACM Transactions on Architecture and Code Optimization
Publisher:ACM
ISSN:1544-3566
ISSN (Online):1544-3973
Published Online:14 December 2023
Copyright Holders:Copyright © 2023 The Authors
First Published:First published in ACM Transactions on Architecture and Code Optimization 20(4):52
Publisher Policy:Reproduced under a Creative Commons licence

University Staff: Request a correction | Enlighten Editors: Update this record