Introduction
Optimizing modern computer systems is a complex "knob-tuning" challenge. From CPU frequencies and memory management to software-specific parameters like Spark shuffle buffers, the search space for optimal configurations is vast. Traditionally, Sample-Efficient Machine Learning (SEML) techniques, such as Bayesian Optimization (BO), have been employed to navigate these spaces by minimizing the number of samples required.
However, standard SEML approaches overlook a critical systems reality: not all samples cost the same. While a "good" configuration might finish a task in 10 seconds, a "bad" one could take 100 seconds. In a time-constrained environment, waiting for slow, unpromising configurations to complete is a significant waste of resources. Cello addresses this by introducing a framework that predicts failure and terminates poor configurations early, shifting the focus from sample efficiency to total compute efficiency.
The Cello Framework
Cello enhances the standard Bayesian Optimization loop with two primary innovations: Predictive Early Termination and Censored Regression.
Predictive Early Termination
Instead of waiting for a sample to exceed a hard performance threshold, Cello monitors the run at regular intervals. By analyzing intermediate performance data, the system predicts whether the current configuration is likely to outperform the existing best. If the prediction indicates a poor outcome, Cello terminates the process immediately, saving valuable time for more promising explorations.
Censored Regression
Standard regression models struggle with the "incomplete" data generated by early termination. Cello utilizes censored regression to treat these terminated runs as "lower bounds" rather than missing data. By informing the model that a configuration is at least as slow as the point where it was killed, Cello prevents the optimizer from repeatedly selecting similar poor configurations, effectively mapping out the "bad" areas of the search space.
Experimental Evaluation
The authors evaluated Cello using 12 Apache Spark workloads from the HiBench suite, including machine learning (ALS, GBT), graph analytics (Pagerank), and web search (Index). To provide a rigorous benchmark, a ground truth dataset of 2,000 configurations per workload was generated, requiring over 50,000 CPU hours. This allowed for a direct comparison of optimization strategies within fixed time budgets.
Key Results and Analysis
Cello was compared against several baselines, including Bliss (a state-of-the-art SEML approach) and various BO variants. The results demonstrate that Cello significantly outperforms existing methods in both accuracy and exploration capability.
- Superior Performance: Cello improved system latency by 1.19× and energy efficiency by 1.18× compared to Bliss.
- Increased Exploration: By rapidly terminating bad runs, Cello tested significantly more configurations within the same time budget—averaging 44–50 samples compared to the 24–28 samples managed by standard BO.
- High Accuracy: The censored regression model achieved 2.84× lower error in predicting system behavior compared to standard regression models that ignore terminated data.
- Low Overhead: The internal prediction logic adds only ~0.3 seconds of overhead per sample, a negligible cost compared to the tens of seconds saved per terminated job.
Conclusion
Cello demonstrates that in systems optimization, time is the real constraint. By treating terminated runs as valuable information through censored regression, Cello turns "failed" experiments into clear signals for the optimizer. This approach allows for deeper exploration of the configuration space, ultimately delivering better system performance in less time. Future work may involve applying this logic to other domains, such as hyperparameter tuning for deep learning models.
Summary updated