Ensuring Collective Availability in Volatile Resource Pools Via Forecasting

Artur Andrzejak, Derrick Kondo, David P. AndersonDSOM 2008 · DOI

TL;DR

This paper tackles the challenge of reliably deploying enterprise services on large, volatile pools of internet-distributed resources. They introduce a novel prediction method that accurately forecasts host availability, enabling efficient resource management and demonstrating that even highly unreliable resources can be leveraged for critical applications with reasonable overhead.

What Problem Does This Paper Address?

The increasing trend of deploying services on massive, distributed computational and storage infrastructures, like cloud computing platforms (e.g., Amazon EC2, Google) and scientific computing grids (e.g., TeraGrid, EGEE), presents a significant challenge: resource availability and service reliability. To reduce costs, these infrastructures are increasingly incorporating internet resources from enterprise and residential broadband networks. These resources, however, are notoriously volatile, with availability rates potentially as low as 50%. This unreliability is a major hurdle for deploying services that require guaranteed availability, especially those with tightly-coupled distributed or parallel algorithms, or those that experience sudden load spikes. The paper aims to bridge this gap by developing and evaluating predictive methods to ensure the collective availability of such volatile resource pools.

Methods

The core of the paper's methodology lies in developing a predictive model for host availability. They employ a Naïve Bayes classifier as their primary prediction algorithm, chosen for its computational efficiency and ability to handle multiple discrete inputs. The prediction process is measurement-based: a model is trained on historical availability data (training data) and then used to predict future availability.

Key methodological innovations include:

  • Predictability Indicators: They introduce several metrics to quantify how predictable a host's availability is. These indicators, computed solely from training data, help filter out unreliable hosts and select those with more stable patterns. The aveSwitches indicator, representing the average number of availability status changes per week, emerges as a particularly effective and computationally cheap predictor.
  • Availability Pattern Types: The authors categorize host availability patterns into types A (long stretches of availability/non-availability) and B (periodic/calendar effects). This categorization helps in selecting appropriate features for the prediction model.
  • Trace-Driven Simulation: To evaluate their methods, they use a large-scale trace-driven simulation. This allows them to assess the success rate of predicting collective availability for groups of hosts under various conditions, including different levels of redundancy and predictability.

Datasets

The primary dataset used in this study is real-world availability data collected from over 48,000 Internet hosts participating in the SETI@home project. This data was gathered using a modified BOINC client that recorded CPU start and stop times, providing intervals of uninterrupted availability. The data spans approximately seven months, with a specific subset of hosts actively running the client on December 1, 2007, and their logs traced up to February 12, 2008. The dataset also includes demographic information about the hosts (home, work, school). No new benchmarks were introduced; rather, they leveraged existing large-scale distributed computing infrastructure data.

Key Insights and Ideas

  • Predictability is Key: The study strongly emphasizes that not all hosts are equally predictable. Identifying and leveraging "predictable" hosts is crucial for achieving reliable collective availability.
  • Simple Indicators Work: Surprisingly, simple metrics like aveSwitches are effective indicators of predictability, outperforming more complex methods in terms of computational cost and offering a good balance between accuracy and efficiency.
  • Host Type Matters (Slightly): Work and school hosts tend to be more predictable than home hosts, likely due to more stable usage patterns. However, the impact on overall prediction accuracy was found to be marginal in their simulations.
  • Replication is Essential: Even with accurate predictions, some level of redundancy (replication) is necessary to guarantee collective availability, especially for groups of hosts. The study quantifies the required redundancy for different success rates.
  • Volatile Resources are Usable: The overarching insight is that by employing intelligent forecasting and redundancy strategies, enterprise-grade services can indeed be deployed on highly volatile, internet-distributed resource pools with acceptable overheads.

Key Results

  • Prediction Accuracy: The prediction error decreases significantly with more training data up to about 20-30 days. The prediction interval length (pil) has a strong influence on error, with longer intervals leading to higher error due to increased uncertainty.
  • Predictability Indicators: The modelPred indicator showed the strongest correlation with prediction error, but aveSwitches was identified as a viable, computationally cheaper alternative, especially for shorter prediction intervals.
  • Group Availability: For the high predictability group, a redundancy of 0.35 was sufficient to achieve 95% success rates for groups of up to 1024 hosts.
  • Turnover Rates: Host turnover rates (indicating overheads from migration/re-deployment) were found to be relatively low. For the high predictability group, turnover rates were less than 0.024, and for the low predictability group, around 0.115.

Limitations and Future Work

  • Limitations:
    • The study acknowledges that their prediction methods are not periodically updated, which could improve accuracy over time.
  • The "asymmetric" definition of availability (a short interruption makes the whole interval unavailable) contributes to higher prediction error for longer intervals.
  • While host type influences predictability, the simulation results showed only minor differences in group availability due to this factor.
  • Future Work:
    • Extend experiments to other host pools, such as PlanetLab.
  • Investigate the impact of additional features like CPU, memory, and network utilization on prediction accuracy.
  • Refine the predictability grouping beyond simple "high" and "low" categories.
  • Explore more sophisticated prediction methods and adaptive strategies.

Summary updated

BibTeX
@inproceedings{andrzejak2008ensuring,
  author = {Artur Andrzejak and Derrick Kondo and David P. Anderson},
  title = {{Ensuring Collective Availability in Volatile Resource Pools Via Forecasting}},
  booktitle = {DSOM},
  year = {2008},
  doi = {10.1007/978-3-540-87353-2\_12},
}
Figure