Skip to main content
QUICK REVIEW

[Paper Review] Portable, high-performance containers for HPC

Lucas Benedicic, Felipe A. Cruz|arXiv (Cornell University)|Apr 11, 2017
Cloud Computing and Resource ManagementComputer Science15 references11 citations
TL;DR

This paper presents an extension to Shifter, a container runtime for HPC, enabling portable, high-performance execution of containerized applications on supercomputers by providing direct access to GPU accelerators and high-speed networking. The solution achieves near-native performance across diverse HPC systems while maintaining software portability through Docker-compatible containers and optimized system-level integration, significantly reducing startup time for I/O-intensive Python workloads.

ABSTRACT

Building and deploying software on high-end computing systems is a challenging task. High performance applications have to reliably run across multiple platforms and environments, and make use of site-specific resources while resolving complicated software-stack dependencies. Containers are a type of lightweight virtualization technology that attempt to solve this problem by packaging applications and their environments into standard units of software that are: portable, easy to build and deploy, have a small footprint, and low runtime overhead. In this work we present an extension to the container runtime of Shifter that provides containerized applications with a mechanism to access GPU accelerators and specialized networking from the host system, effectively enabling performance portability of containers across HPC resources. The presented extension makes possible to rapidly deploy high-performance software on supercomputers from containerized applications that have been developed, built, and tested in non-HPC commodity hardware, e.g. the laptop or workstation of a researcher.

Motivation & Objective

  • To address the challenge of deploying high-performance scientific applications across diverse HPC systems with varying hardware and software stacks.
  • To enable performance portability of containerized HPC workloads, especially for GPU-accelerated and network-intensive applications.
  • To reduce the overhead of dynamic linking and file system access in Python-based scientific applications running on HPC clusters.
  • To streamline the software deployment workflow by enabling researchers to develop and test applications on commodity hardware and deploy them directly on supercomputers.
  • To maintain high performance while ensuring portability through containerization, leveraging Docker and system-level optimizations.

Proposed method

  • Extending the Shifter container runtime to expose host-level GPU and high-speed network interconnects to containerized applications.
  • Using container images built with Docker to ensure consistent, portable software environments across development and HPC production systems.
  • Mounting container images locally on compute nodes to minimize repeated metadata server requests during dynamic library loading.
  • Leveraging the Linux kernel's system call interface to enable low-overhead, high-performance access to hardware resources from within containers.
  • Integrating with the HPC cluster's parallel file system (e.g., Lustre) to optimize access patterns for I/O-intensive workloads like Python's dynamic linking.
  • Benchmarking performance using standard HPC workloads such as CUDA’s n-body simulation and Pynamic for dynamic linking overhead.

Experimental results

Research questions

  • RQ1Can containerized HPC applications achieve near-native performance when accessing GPUs and high-speed networks?
  • RQ2How does containerization affect startup time and I/O performance for Python-based scientific applications on parallel file systems?
  • RQ3To what extent can containerized applications maintain performance portability across heterogeneous HPC systems?
  • RQ4Can the overhead of dynamic linking in Python be reduced through containerized deployment with optimized file system access?
  • RQ5Is it feasible to deploy containerized applications developed on commodity hardware directly on supercomputers without performance degradation?

Key findings

  • The Shifter extension with GPU support achieved 18.34 GFLOPS (native) and 18.34 GFLOPS (containerized), demonstrating near-native performance in CUDA’s n-body simulation.
  • For the Pynamic benchmark, containerized deployment reduced startup time by minimizing repeated metadata server requests, with a 30% improvement in performance for jobs with over 3,000 processes.
  • The containerized Python application showed significantly lower overhead on the Lustre file system due to a single MDS request per container image, compared to thousands of requests in native execution.
  • The method enabled transparent access to specialized libraries and hardware, allowing containers to load ABI-compatible versions of system libraries without performance loss.
  • The workflow achieved full performance portability across HPC systems, with consistent results on both Piz Daint and other GPU-accelerated clusters.
  • The solution reduced the learning curve and deployment complexity for HPC users while maintaining high performance, improving usability and productivity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.