Rockhopper: A Robust Optimizer for Spark Configuration Tuning in Production Environment
Apache Spark, renowned for its scalability and ease of use, has become the standard for big data processing. However, optimizing Spark performance in production environments poses significant challenges. Traditional machine learning-based configuration tuning methods often necessitate extensive resources, lengthy experimentation, and risk performance regressions. Observational noise in production environments further complicates the tuning process, leading to suboptimal results. This paper presents an adaptive, robust learning approach leveraging insights from benchmark workloads to improve production tuning strategies. We propose a Centroid Learning algorithm resilient to noise, minimizing regressions and prioritizing promising configurations, combined with a workload embedding technique for context-aware adaptation and transfer learning. Evaluations using benchmark and customer workloads show consistent performance gains. Released in June 2024 as part of the Microsoft Fabric Spark offering, even with dynamic and evolving workloads, the system delivers approximately a 20% performance improvement in production for customer workloads by only tuning three query-level configurations.
Authors
- Carlo Curino (ORCID: https://orcid.org/0000-0003-3712-7358)
- Huang Teng-fei (ORCID: https://orcid.org/0009-0002-8658-271X)
- Rui Fang
- Sergiy Matusevych (ORCID: https://orcid.org/0009-0002-4774-0965)
- Sule Kahraman (ORCID: https://orcid.org/0000-0002-3276-6030)
- Subru Krishnan (ORCID: https://orcid.org/0009-0007-8534-0889)
- Rathijit Sen (ORCID: https://orcid.org/0000-0003-4736-2837)
- Ashit Gosalia (ORCID: https://orcid.org/0009-0003-7939-6692)
- Estera Kot (ORCID: https://orcid.org/0000-0001-8308-7129)
- Brian Kroth (ORCID: https://orcid.org/0000-0002-5108-6743)
- Andreas Mueller (ORCID: https://orcid.org/0000-0002-2349-9428)
- Aditya Lakra
- Yiwen Zhu (ORCID: https://orcid.org/0009-0005-6857-7505)
- Long Tian
- M. Liu
- K. S. Krishna
- Waifan Tang
- Xin He
- Arshdeep Sekhon (ORCID: https://orcid.org/0000-0001-5289-3320)
- Dario Bernal
- Shaily Fozdar
- Dhruv Relwani
- Rahul Challapalli
Institutions
- Microsoft (United States) (US)
- Microsoft Research Asia (China) (CN)
Publication Details
- Published
- 2025-06-17
- DOI
- https://doi.org/10.1145/3722212.3724451
- Citations
- 1
- Primary Topic
- Manufacturing Process and Optimization
- Type
- article
- Field-Weighted Citation Impact
- 1.24