NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Using Machine Learning to reduce the energy wasted in Volunteer Computing Environments

A. Stephen McGough, Matthew Forshaw, John Brennan, Noura Al Moubayed, Stephen Bonner

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.

Figure 1: The system architecture showing the integration of the Machine Learning Scheduler and the Model of Idle Time within the HTC management framework.

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.

Figure 6: Comparison between standard idle period recording (A) and the insertion of synthetic user records (B) to help the ML model recognize stable windows for computing.

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

Abstract

High Throughput Computing (HTC) provides a convenient mechanism for running thousands of tasks. Many HTC systems exploit computers which are provisioned for other purposes by utilising their idle time - volunteer computing. This has great advantages as it gives access to vast quantities of computational power for little or no cost. The downside is that running tasks are sacrificed if the computer is needed for its primary use. Normally terminating the task which must be restarted on a different computer - leading to wasted energy and an increase in task completion time. We demonstrate, through the use of simulation, how we can reduce this wasted energy by targeting tasks at computers less likely to be needed for primary use, predicting this idle time through machine learning. By combining two machine learning approaches, namely Random Forest and MultiLayer Perceptron, we save 51.4% of the energy without significantly affecting the time to complete tasks.

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
HTC-Sim simulation (2010 exemplar datasets)Random scheduler (original HTC-Sim task scheduler)Overhead14.61 mins2010 exemplar dataset simulation; task overhead is the time in the HTC system beyond de…
Source quote
L212: Random │ 14.61 │ 121.53 │ 33.85 │ 87.68
HTC-Sim simulation (2010 exemplar datasets)MIN ensemble (minimum of RF and MLP predictions)Overhead15.32 mins2010 exemplar dataset simulation; RF and MLP models trained monthly; MIN uses the minim…
Source quote
L217: MIN │ 15.32 │ {\bf 59.12} │ 33.91 │ {\bf 25.21}
HTC-Sim simulation (2010 exemplar datasets)MAX ensemble (maximum of RF and MLP predictions)Overhead11.80 mins2010 exemplar dataset simulation; RF and MLP models trained monthly; MAX uses the maxim…
Source quote
L216: MAX │ {\bf 11.80} │ 63.51 │ 32.89 │ 30.63
Reported baseline / comparator measurements (3)
BenchmarkMethodMetricScoreProtocol / Evidence
HTC-Sim simulation (2010 exemplar datasets)Random scheduler (original HTC-Sim task scheduler) baselineEnergy121.53 MWhs2010 exemplar dataset simulation; total energy consumed by the HTC system, as reported …
Source quote
L212: Random │ 14.61 │ 121.53 │ 33.85 │ 87.68
HTC-Sim simulation (2010 exemplar datasets)MIN ensemble (minimum of RF and MLP predictions) baselineEnergy59.12 MWhs2010 exemplar dataset simulation; RF and MLP models trained monthly; MIN uses the minim…
Source quote
L217: MIN │ 15.32 │ {\bf 59.12} │ 33.91 │ {\bf 25.21}
HTC-Sim simulation (2010 exemplar datasets)MAX ensemble (maximum of RF and MLP predictions) baselineEnergy63.51 MWhs2010 exemplar dataset simulation; RF and MLP models trained monthly; MAX uses the maxim…
Source quote
L216: MAX │ {\bf 11.80} │ 63.51 │ 32.89 │ 30.63
BibTeX
@inproceedings{mcgough2018using,
  author = {A. Stephen McGough and Matthew Forshaw and John Brennan and Noura Al Moubayed and Stephen Bonner},
  title = {{Using Machine Learning to reduce the energy wasted in Volunteer Computing Environments}},
  booktitle = {IGSC},
  year = {2018},
  url = {https://openreview.net/forum?id=Iz-C31gjc_T},
}
Figure