Introduction
Modern Big Data Analytics Frameworks (BDAFs), such as Apache Spark and Hadoop, offer extensive configurability with over 100 parameters. These settings—ranging from memory allocation to parallelism—interact in complex, non-linear ways, making manual tuning a "black art." Most users rely on default settings, which often lead to suboptimal performance. While machine learning (ML) tuners exist, they typically require extensive training data collected from full-scale production runs, which is prohibitively expensive and time-consuming.
System Architecture: The AutoTune Testbed
To address the data collection bottleneck, the authors propose AutoTune. The system's primary innovation is the use of a small-scale AutoTune Testbed to rapidly generate performance models.
The core insight behind the testbed is projective sampling: the relative performance trends of different configurations remain consistent even when the dataset and cluster size are scaled down. By running many experiments on a 1/10th scale testbed, AutoTune builds a robust performance model much faster than would be possible on a production cluster.
The AutoTune Algorithm
AutoTune employs a sophisticated search strategy to navigate the high-dimensional parameter space:
- Latin Hypercube Sampling (LHS): Ensures uniform coverage of the parameter space during initial data collection, preventing the model from missing optimal "pockets."
- Random Forests: Acts as the predictive "brain," mapping configurations to expected execution times based on testbed samples.
- Multiple Bound-and-Search (MBS): A two-stage optimization process. It first identifies "promising neighborhoods" around high-performing configurations and then performs a fine-grained search within those bounds to find the absolute peak performance.
Evaluation and Results
The researchers evaluated AutoTune using the HiBench benchmark suite across seven diverse applications (e.g., WordCount, K-Means, PageRank) on Alibaba Cloud (Aliyun).
Key findings include:
- Performance Gains: AutoTune improved execution times by an average of 63.70% compared to default Spark configurations.
- Competitive Superiority: It outperformed state-of-the-art tuners like BestConfig, RFHOC, and Hyperopt by margins of 6% to 23%.
- Efficiency: The time-aware design ensures that the system returns the best possible configuration within a user-defined time constraint by dividing the budget into initialization, search, and selection phases.
Conclusion
AutoTune demonstrates that scaling down the experimental environment is a viable and highly efficient strategy for tuning complex big data systems. By balancing exploration and exploitation through the MBS algorithm, it achieves superior performance without the overhead of production-scale testing. Future work aims to automate testbed selection and improve robustness in noisy cloud environments.
Summary updated