Introduction
Optimizing High-Performance Computing (HPC) storage services is a critical yet daunting task. Modern services like HEPnOS involve numerous interdependent parameters that significantly impact performance. This paper introduces VAE-ABO, a novel autotuning framework that integrates Asynchronous Bayesian Optimization (ABO) with Variational Autoencoders (VAEs) to streamline this process. By leveraging transfer learning to utilize high-performing configurations from previous experiments, VAE-ABO achieves up to a 40× speedup in finding optimal settings compared to traditional random search methods.
The Autotuning Challenge
Modern HPC storage architectures are increasingly complex. For instance, the HEPnOS in-memory object store, used in high-energy physics applications, features dozens of tunable "knobs" across multiple components, including data loaders, server processes, and event selection modules.
Researchers face three primary hurdles in tuning these systems:
- Expensive Evaluations: Testing a single configuration can consume significant supercomputer time.
- High-Dimensional Search Space: With over 20 parameters, the number of possible combinations is astronomical (decillions).
- Lack of Portability: Configurations optimized for a specific node count or software version often fail to perform well when the environment scales or changes.
VAE-ABO Methodology
Implemented within the DeepHyper framework, VAE-ABO addresses these challenges through two core pillars:
Asynchronous Bayesian Optimization (ABO)
Unlike sequential Bayesian Optimization, ABO allows multiple configurations to be evaluated in parallel. It utilizes a "constant liar" strategy, assigning dummy values to pending evaluations to maintain search momentum without waiting for slower worker nodes. To avoid the computational bottlenecks associated with standard Gaussian Process models at scale, the framework employs Random Forests (RF) as the surrogate model, ensuring near 100% worker utilization.
VAE-Based Transfer Learning
The core innovation is the use of a Tabular Variational Autoencoder (TVAE) to "remember" successful configurations. The TVAE learns the joint probability distribution of top-performing settings from a source tuning task. When a new search begins, the VAE generates initial "informed" samples, focusing the search on promising regions of the space from the outset.
Experimental Evaluation
The framework was evaluated on Argonne’s Theta supercomputer (Cray XC40) using a NOvA event-selection workflow. The workload involved processing 26.5 GiB of particle accelerator data across various experimental setups, ranging from 4 nodes with 11 parameters to 16 nodes with 20 parameters.
Key Findings
- Massive Speedup: VAE-ABO achieved a 40× search speedup over random search. Even without transfer learning, the ABO component provided a 2.5× to 10× improvement.
- Rapid Convergence: In complex 16-node tests, VAE-ABO identified near-optimal configurations almost immediately, whereas non-transfer methods required significantly more time to reach comparable performance.
- Scalability: The method successfully transferred knowledge from small-scale (4-node) setups to larger (16-node) environments, demonstrating that parameter correlations often persist across different scales.
Future Directions
While VAE-ABO significantly reduces tuning time, it currently requires at least one prior tuning run to function. Future work aims to generalize the framework for Mochi-based services by automatically discovering parameters from configuration schemas and incorporating complex constraints, such as hierarchical dependencies between parameters.
Summary updated