Black or White? How to Develop an AutoTuner for Memory-based Analytics
摘要
There is a lot of interest today in building autonomous (or, selfdriving) data processing systems. An emerging school of thought is to leverage AI-driven "black box" algorithms for this purpose. In this paper, we present a contrarian view. We study the problem of autotuning the memory allocation for applications running on modern distributed data processing systems. For this problem, we show that an empirically-driven "white-box" algorithm, called RelM, that we have developed provides a close-to-optimal tuning at a fraction of the overheads compared to state-of-the-art AI-driven "black box" algorithms, namely, Bayesian Optimization (BO) and Deep Distributed Policy Gradient (DDPG). The main reason for RelM's superior performance is that the memory management in modern memory-based data analytics systems is an interplay of algorithms at multiple levels: (i) at the resource-management level across various containers allocated by resource managers like Kubernetes and YARN, (ii) at the container level among the OS, pods, and processes such as the Java Virtual Machine (JVM), (iii) at the application level for caching, aggregation, data shuffles, and application data structures, and (iv) at the JVM level across various pools such as the Young and Old Generation. RelM understands these interactions and uses them in building an analytical solution to autotune the memory management knobs. In another contribution, called GBO, we use the RelM's analytical models to speed up Bayesian Optimization. Through an evaluation based on Apache Spark, we showcase that RelM's recommendations are significantly better than what commonly-used Spark deployments provide, and are close to the ones obtained by brute-force exploration; while GBO provides optimality guarantees for a higher, but still significantly lower compared to the state-of-the-art AI-driven policies, cost overhead.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 21 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimization 引用了 ResTune: Resource Oriented Tuning Boosted by Meta-Learning for Cloud Databases
- GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimization 引用了 Towards Dynamic and Safe Configuration Tuning for Cloud Databases
- GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimization 引用了 Facilitating Database Tuning with Hyper-Parameter Optimization: A Comprehensive Experimental Evaluation
- GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian Optimization 引用了 An Inquiry into Machine Learning-based Automatic Configuration Tuning Services on Real-World Database Management Systems
- Towards Dynamic and Safe Configuration Tuning for Cloud Databases 引用了 ResTune: Resource Oriented Tuning Boosted by Meta-Learning for Cloud Databases
- Towards Dynamic and Safe Configuration Tuning for Cloud Databases 引用了 An Inquiry into Machine Learning-based Automatic Configuration Tuning Services on Real-World Database Management Systems
- Facilitating Database Tuning with Hyper-Parameter Optimization: A Comprehensive Experimental Evaluation 引用了 ResTune: Resource Oriented Tuning Boosted by Meta-Learning for Cloud Databases
- Facilitating Database Tuning with Hyper-Parameter Optimization: A Comprehensive Experimental Evaluation 引用了 An Inquiry into Machine Learning-based Automatic Configuration Tuning Services on Real-World Database Management Systems
引用它的顶会 Paper21
- ResTune: Resource Oriented Tuning Boosted by Meta-Learning for Cloud DatabasesXinyi Zhang, Hong Wu, Zhuo Chang, Shuowei Jin 等SIGMOD 2021 · 113 次引用
- An Inquiry into Machine Learning-based Automatic Configuration Tuning Services on Real-World Database Management SystemsDana Van Aken, Dongsheng Yang, Sebastien Brillard, Ari Fiorino 等VLDB 2021 · 108 次引用
- Facilitating Database Tuning with Hyper-Parameter Optimization: A Comprehensive Experimental EvaluationXinyi Zhang, Zhuo Chang, Yang Li, Hong Wu 等VLDB 2022 · 88 次引用
- GPTuner: A Manual-Reading Database Tuning System via GPT-Guided Bayesian OptimizationJiale Lao, Yibo Wang, Yufei Li, Jianping Wang 等VLDB 2024 · 76 次引用
- Towards Dynamic and Safe Configuration Tuning for Cloud DatabasesXinyi Zhang, Hong Wu, Yang Li, Jian Tan 等SIGMOD 2022 · 62 次引用
相关 Paper
- Adaptive Code Learning for Spark Configuration TuningChen Lin, Junqing Zhuang, Jiadong Feng, Hui Li 等ICDE 2022 · 28 次引用
- Swift: Fast Performance Tuning with GAN-Generated ConfigurationsChao Chen, Shixin Huang, Xuehai Qian, Zhibin YuUSENIX ATC 2025 · 1 次引用
- Do the Best Cloud Configurations Grow on Trees? An Experimental Evaluation of Black Box Algorithms for Optimizing Cloud Workloads SubMuhammad Bilal, Marco Serafini, Marco Canini, Rodrigo RodriguesVLDB 2020
- CGPTuner: a Contextual Gaussian Process Bandit Approach for the Automatic Tuning of IT Configurations Under Varying Workload ConditionsStefano Cereda, Stefano Valladares, Paolo Cremonesi, Stefano DoniVLDB 2021 · 74 次引用
- A Unified and Efficient Coordinating Framework for Autonomous DBMS TuningXinyi Zhang, Zhuo Chang, Hong Wu, Yang Li 等SIGMOD 2023 · 17 次引用
