Enabling Pipeline Parallelism in Heterogeneous Managed Runtime Environments via Batch Processing

Research output: Contribution to conferencePaperpeer-review

449 Downloads (Pure)

Abstract

During the last decade, managed runtime systems have been constantly evolving to become capable of exploiting underlying hardware accelerators, such as GPUs and FPGAs. Regardless of the programming language and their corresponding runtime systems, the majority of the work has been focusing on the compiler front trying to tackle the challenging task of how to enable just-in-time compilation and execution of arbitrary code segments on various accelerators. Besides this challenging task, another important aspect that defines both functional correctness and performance of managed runtime systems is that of automatic memory management. Although automatic memory management improves productivity by abstracting away memory allocation and maintenance, it hinders the capability of using specific memory regions, such as pinned memory, in order to perform data transfer times between the CPU and hardware accelerators.

In this paper, we introduce and evaluate a series of memory optimizations specifically tailored for heterogeneous managed runtime systems. In particular, we propose: (i) transparent and automatic ''parallel batch processing'' for overlapping data transfers and computation between the host and hardware accelerators in order to enable pipeline parallelism, and (ii) ''off-heap pinned memory'' in combination with parallel batch processing in order to increase the performance of data transfers without posing any on-heap overheads. These two techniques have been implemented in the context of the state-of-the-art open-source TornadoVM and their combination can lead up to 2.5x end-to-end performance speedup against sequential batch processing.
Original languageEnglish
Publication statusAccepted/In press - 4 Feb 2022
EventThe 18th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments (VEE'22) -
Duration: 1 Mar 20221 Mar 2022
https://conf.researchr.org/home/vee-2022

Conference

ConferenceThe 18th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments (VEE'22)
Abbreviated titleVEE
Period1/03/221/03/22
Internet address

Keywords

  • Data Transfers
  • GPUs
  • Heterogeneous Architectures
  • Memory Management
  • Optimizations
  • Virtual Machines

Fingerprint

Dive into the research topics of 'Enabling Pipeline Parallelism in Heterogeneous Managed Runtime Environments via Batch Processing'. Together they form a unique fingerprint.

Cite this