Abstract
Volunteer computing environments, such as BOINC or HTCondor, scavenge idle processing power from distributed workstations. However, these environments face significant energy inefficiency when primary users reclaim their machines, causing research tasks to be preempted and restarted. This paper introduces a machine learning-enhanced scheduler that predicts the duration of idle periods to minimize such waste. By employing Random Forest and MultiLayer Perceptron models, the researchers achieved a 51.4% reduction in energy waste while maintaining computational throughput.
Introduction: The Cost of Preemption
Volunteer computing provides a "free" resource for massive workloads by utilizing the idle time of computers in university labs or offices. However, this model is plagued by preemption: if a primary user logs in, any running research task is typically terminated immediately. This results in "wasted energy"—electricity consumed for partial computations that must be discarded and restarted. The core challenge lies in predicting which machines will remain idle long enough to complete a specific task.
System Architecture
The proposed solution integrates a Machine Learning (ML) scheduler into the High-Throughput Computing (HTC) management system to intelligently allocate tasks based on predicted resource availability.
The scheduler uses historical data to build a model of idle time, allowing it to make informed decisions about task placement across various clusters based on predicted availability.
Methodology
The researchers developed an enhanced scheduler for the HTC-Sim framework focusing on Idle Time Prediction. Rather than predicting task duration, the system predicts the length of the "idle gap" between primary user sessions.
Machine Learning Models
Two primary models were evaluated:
- Random Forest (RF): Robust against overfitting through an ensemble of decision trees.
- MultiLayer Perceptron (MLP): A feedforward neural network capable of capturing complex non-linear patterns.
These models were combined into ensembles using different strategies: MIN (conservative), MAX (speculative), and AVERAGE.
The "Synthetic User" Innovation
A significant hurdle in training these models is "sparse data"—periods where logs are empty because a machine is rarely used or only reboots for updates. To address this, the authors introduced "synthetic" user records.
By inserting these synthetic events during long idle stretches, the models are forced to recognize these windows as high-value, stable opportunities for long-running tasks.
Datasets and Evaluation
The study utilized a one-year trace-log (2010) from a university environment, encompassing 1,386 computers across 37 clusters. The data revealed strong seasonal and weekly cycles, which were converted into features such as "hour of day" and "week of the academic term."
Key Results
The ML-enhanced schedulers were compared against a standard "Random" scheduler and an "Oracle" (perfect knowledge) scheduler.
- Energy Efficiency: The MIN ensemble (the most conservative) reduced total energy waste by 51.4% compared to the random scheduler.
- Waste Reduction: Wasted energy from aborted tasks dropped from 87.68 MWh to just 25.21 MWh.
- Performance Trade-offs: While the conservative MIN model slightly increased wait times, the MAX ensemble actually reduced overhead to 11.80 minutes (from 14.61) while still providing significant energy savings.
Conclusion
By modeling human behavior rather than task complexity, this research demonstrates that machine learning can significantly improve the sustainability of volunteer computing. Future work will focus on integrating task duration estimates and deploying the system in live environments like HTCondor.
Summary updated