Efficient and Reuseable Cloud Configuration Search Using Discovery Spaces

Michael Johnston, Burkhard Ringlein, Christoph Hagleitner, Alessandro Pomponio, Vassilis Vassiliadis, Christian Pinto, Srikumar VenugopalarXiv 2025 · DOI

Abstract

Finding the optimal cloud configuration for a workload is a "needle in a haystack" problem involving millions of possible combinations of GPUs, CPU cores, and software parameters. This paper introduces Discovery Spaces, a data abstraction that decouples optimization algorithms from the search space. By implementing the TRACE principles and the novel Representative Sub-space Comparison (RSSC) algorithm, the framework enables a 90%+ speedup in configuration search through transparent data reuse and cross-infrastructure knowledge transfer.

Introduction

Cloud users face an overwhelming array of choices: which GPU (A100, V100, T4)? How many CPU cores? What batch size? For Large Language Models (LLMs) or Big Data tasks, suboptimal choices lead to massive overspending or missed performance targets. While tools like Google’s Vizier or Optuna provide powerful optimization heuristics, they typically treat every search as a "cold start." They lack standardized ways to reuse data from previous runs, transfer knowledge between infrastructures, or remain workload-agnostic.

Methods

The TRACE Principles & Discovery Spaces

The authors propose a framework built on the TRACE principles: Time-Resolved, Reconcilable, Actionable, Common Context, and Encapsulated. A Discovery Space implements these principles by mathematically defining the "Action Space" (experiments) and the "Sample Space" (configurations), allowing any optimizer to plug into a shared data pool.

Decision flow for data reuse and search strategy within the Discovery Spaces framework.

Representative Sub-space Comparison (RSSC)

RSSC is a novel algorithm for knowledge transfer between different hardware setups. Instead of assuming data from an old setup (e.g., A100-PCIe) applies to a new one (e.g., A100-SXM4), RSSC identifies representative configurations, samples them in the new space, and uses linear regression to validate correlation. If a "go" signal is received, it builds a surrogate model to predict the remaining space.

The RSSC workflow for identifying, analyzing, and filtering representative samples to enable data reuse across discovery spaces.

Evaluation and Datasets

The system was evaluated across three high-stakes domains:

  • Big Data Analytics: TPC-DS benchmark on a 100GB Spark cluster.
  • LLM Inference: FLAN XL and Llama2-13B using Text Generation Inference (TGI).
  • LLM Fine-tuning: 1 epoch of fine-tuning on Llama-7b and Mistral-7b.

Key Insights

  • Optimizer Variability: No single optimizer (Ax, BO, or BOHB) dominated across all tasks. Ax excelled in Big Data, while BOHB was superior for multi-user LLM inference, justifying a framework that supports hot-swapping optimizers.
  • Passive Reuse Efficiency: Transparently sharing data across sessions saved 94% of the search cost for TPC-DS by the 30th run.
  • Infrastructure Sensitivity: Moving between similar GPUs (e.g., PCIe vs. SXM4) does not always yield linear performance gains. RSSC correctly identified weak correlations in some cases, preventing inaccurate data transfer.

Key Results

  • Search Speedups: Reusing data enabled speed-ups of over 90%.
  • Sampling Efficiency: For multi-user inference, the system found a top-5% configuration by sampling only 3.2% of the search space.
  • Transfer Success: In fine-tuning tests, RSSC achieved a 92% time saving by transferring knowledge between different model architectures.

Limitations and Future Work

The current RSSC mechanism relies on linear regression, which may struggle with highly non-linear performance "cliffs." Additionally, cost-saving calculations assume uniform measurement times, whereas real-world configurations vary in execution duration. Future work will explore automated relationship identification and iterative pruning.

Summary updated

BibTeX
@misc{johnston2025efficient,
  author = {Michael Johnston and Burkhard Ringlein and Christoph Hagleitner and Alessandro Pomponio and Vassilis Vassiliadis and Christian Pinto and Srikumar Venugopal},
  title = {{Efficient and Reuseable Cloud Configuration Search Using Discovery Spaces}},
  year = {2025},
  eprint = {2506.21467},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2506.21467},
}
Figure