Optimization of cloud task processing with checkpoint-restart mechanism

Sheng Di, Yves Robert, Frédéric Vivien, Derrick Kondo, Cho-Li Wang, Franck CappelloSC 2013

TL;DR

This paper tackles the challenge of optimizing fault tolerance in cloud computing by developing a novel, adaptive checkpointing strategy. Their new formula for determining optimal checkpoint intervals outperforms traditional methods, leading to significant reductions in job completion times and improved workload processing ratios in real-world cloud environments.

What Problem Does This Paper Address?

Cloud computing offers scalable and on-demand resources, but it also introduces unique fault tolerance challenges. Unlike traditional High-Performance Computing (HPC) environments, cloud jobs are often shorter and more sensitive to the overhead of checkpointing and restarting. Furthermore, cloud environments are prone to task failures due to resource over-commitment and dynamic pricing models, which can lead to task evictions. Existing fault tolerance models, like Young's formula, often rely on assumptions about failure distributions (e.g., exponential) that don't hold true for cloud environments. This paper aims to bridge this gap by providing a more robust and adaptive checkpointing mechanism tailored for the specific characteristics of cloud computing.

Methods

The authors propose a three-pronged approach:

  1. Novel Checkpointing Formula: They derive a new formula for calculating the optimal number of checkpointing intervals. Crucially, this formula does not assume a specific probability distribution for failure events, making it more applicable to diverse cloud scenarios. They also prove that Young's formula is a special case of their more general formula.
  2. Adaptive Algorithm: Recognizing that failure probabilities can change dynamically in the cloud (e.g., due to changes in task priority or bidding), they design an adaptive algorithm. This algorithm can re-evaluate and adjust checkpointing strategies at runtime to maintain optimal performance.
  3. Storage Trade-off Analysis: They investigate the optimal strategy for storing checkpoints, comparing local disk storage versus shared disk storage, considering their respective overheads and reliability implications.

Datasets

The primary dataset used for evaluation is a real-world, one-month Google trace containing millions of jobs and tasks. This trace provides realistic data on job arrival times, execution lengths, and failure events, allowing for a comprehensive evaluation of their proposed methods. They also use a real cluster environment with hundreds of virtual machines and the Berkeley Lab Checkpoint/Restart (BLCR) tool for their experiments.

Key Insights and Ideas

  • Failure Distribution Independence is Key: The most significant insight is that a checkpointing strategy that doesn't rely on specific failure distribution assumptions (like exponential) is far more effective in real-world cloud environments. This is because cloud failure patterns are complex and varied.
  • Adaptability is Crucial: Cloud environments are dynamic. The ability to adapt checkpointing strategies in real-time as failure probabilities change is essential for sustained performance.
  • Short Jobs Matter: The paper highlights that cloud jobs are often short, making them particularly sensitive to checkpointing overhead. This sensitivity necessitates more efficient and less intrusive checkpointing mechanisms.
  • MNOF vs. MTBF: Their formula's superiority over Young's formula stems from using the Mean Number Of Failures (MNOF) rather than the Mean Time Between Failures (MTBF). MNOF is shown to be more stable and predictable in Google's priority-based system, leading to more accurate checkpointing decisions.

Key Results

  • Improved Workload Processing Ratio (WPR): Their optimized checkpointing approach significantly outperforms Young's formula, achieving 3-10% higher average WPRs. For sequential-task jobs, the average WPR is 0.945 compared to 0.916 with Young's formula.
  • Reduced Wall-Clock Length: Jobs completed using their method experienced reduced wall-clock lengths, with reductions of 50-100 seconds per job on average.
  • Faster Job Completion: Approximately 70% of jobs ran faster by about 15% using their formula compared to Young's formula, while only 30% ran slower by 5%.
  • Effective Dynamic Adaptation: The dynamic solution with adaptive MNOF significantly outperformed the static approach, with the worst WPR under the dynamic solution being around 0.8 compared to 0.5 for the static approach.

Limitations and Future Work

  • MPI Program Scalability: The authors acknowledge that their current method may need further improvement to effectively suit high-performance computing applications like MPI programs, especially those with extremely large scales.
  • Future Work: They plan to extend their research to better handle these large-scale HPC applications.

Summary updated

BibTeX
@inproceedings{di2013optimization,
  author = {Sheng Di and Yves Robert and Frédéric Vivien and Derrick Kondo and Cho-Li Wang and Franck Cappello},
  title = {{Optimization of cloud task processing with checkpoint-restart mechanism}},
  booktitle = {SC},
  year = {2013},
  doi = {10.1145/2503210.2503217},
}
Figure