Leveraging CPU-FPGA Co-design for Matrix Profile Computation

Fariz Huseynli, Amir Raoofy, Martin Schulz

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Current technology trends in high-performance computing (HPC) are pushing us towards accelerated systems. While GPU-based systems are the most common option, not all applications work well on such architectures. Solutions, like programmable hardware in the form of FPGAs (Field Programmable Gate Arrays), can be a powerful alternative. However, the complexity of developing specialized computing units in FPGAs, which are optimized for a specific task, often limits their broad utilization. In this paper, we follow a co-design methodology to identify the key computational routines and to replace them by using user-friendly libraries that wrap complex FPGA access mechanisms. This simplifies the usage of specialized compute units in FPGAs. To demonstrate our approach, we focus on performance improvements for an HPC/BigData application called (MP)N, which is built around widely used data analytics algorithm computing the matrix profile for multidimensional time series. In this application, we identify a sorting kernel as one of the key time consumers and accelerate it designing a parallel sorting library and using it to offload sorting batches to the FPGA. At the same time, we enable efficient utilization of CPU resources through overlap and pipelining. We achieve a 2-fold run time improvement for computing a 128-dimensional time series of 7 million records, with the performance gap increasing as the number of records grows, highlighting the potential of CPU-FPGA co-design in HPC.

Original languageEnglish
Title of host publicationHigh Performance Computing - 11th Latin American High Performance Computing Conference, CARLA 2024, Revised Selected Papers
EditorsGinés Guerrero, Jaime San Martín, Esteban Meneses, Carlos Jaime Barrios Hernández, Carla Osthoff, Jose M. Monsalve Diaz
PublisherSpringer Science and Business Media Deutschland GmbH
Pages127-141
Number of pages15
ISBN (Print)9783031800832
DOIs
StatePublished - 2025
Event11th Latin American High Performance Computing Conference, CARLA 2024 - Santiago de Chile, Chile
Duration: 30 Sep 20244 Oct 2024

Publication series

NameCommunications in Computer and Information Science
Volume2270 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference11th Latin American High Performance Computing Conference, CARLA 2024
Country/TerritoryChile
CitySantiago de Chile
Period30/09/244/10/24

Keywords

  • CPU-FPGA Co-Design
  • HPC
  • Time Series Mining

Fingerprint

Dive into the research topics of 'Leveraging CPU-FPGA Co-design for Matrix Profile Computation'. Together they form a unique fingerprint.

Cite this