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

Budget Constrained Execution of Multiple Bag-of-Tasks Applications on the Cloud

Long Thai, Blesson Varghese, Adam Barker

Abstract

Scheduling multiple Bag-of-Tasks (BoT) applications in the cloud requires balancing individual task performance against overall parallelism within a fixed monetary budget. This paper introduces a multi-stage heuristic algorithm that iteratively optimizes resource provisioning and task allocation. By intelligently mixing heterogeneous instance types, the proposed solution achieves significant reductions in execution time compared to traditional strategies. Experimental results demonstrate an average performance gain of 13% over the Minimising Individual task time (MM) approach and 7% over the Maximising Parallelism (MP) approach.

Introduction

Bag-of-Tasks (BoT) applications, consisting of independent and identical tasks such as image processing or genomic sequencing, are fundamental to distributed computing. In cloud environments, users must navigate a trade-off between purchasing high-performance, expensive instances that finish tasks quickly and cheaper instances that allow for greater parallelism. This challenge is amplified when multiple heterogeneous BoT applications—each with different resource requirements (e.g., CPU-intensive vs. memory-intensive)—run simultaneously under a strict budget ceiling.

Methodology

The proposed approach utilizes a multi-stage heuristic algorithm to refine execution plans iteratively. The process begins with Initial Provisioning, identifying the optimal instance type for each application to maximize performance. If the initial plan exceeds the budget, a Cost Reduction phase removes VMs and migrates tasks.

To ensure efficiency, Task Balancing prevents "straggler" VMs from delaying overall completion. A critical component is the Resource Replacement function, which identifies opportunities to swap expensive VMs for a larger number of cheaper ones, provided the resulting increase in parallelism offsets the loss in individual task speed. The algorithm continuously loops through these optimizations, accepting changes that either lower costs or decrease total execution time.

Experimental Evaluation

The algorithm was evaluated using a Scala-based simulation framework. The setup included three distinct BoT applications ($A_1, A_2, A_3$)—General, CPU-intensive, and Memory-intensive—each comprising 250 tasks. These were tested against four virtual machine types ($it_1$ to $it_4$) ranging from small general-purpose nodes to specialized compute and memory-optimized instances. Budget constraints were varied from 40 to 85 units to assess performance under both scarcity and abundance.

Results and Discussion

The proposed heuristic was compared against two baselines: MM (Minimising Individual task time) and MP (Maximising Parallelism).

Execution Performance

As shown in Figure 1, the proposed solution consistently achieves lower execution times across the entire budget range. At a budget of 80, the solution completes the workload in approximately 1,800 seconds, significantly faster than the MM approach, which exceeds 2,000 seconds.

Execution time comparison across different budget levels for MM, MP, and the proposed Solution.

Resource Allocation Strategy

A key insight is the algorithm's ability to find a "Mixed Bag" advantage. While simpler strategies like MP rely solely on maximizing the count of cheap instances, the proposed heuristic dynamically adjusts the mix of VM types.

Comparison of VM allocation strategies (Solution, MM, MP) showing the distribution of instance types across budgets.

As illustrated in Figure 2, the solution pivots from high-parallelism nodes at low budgets to a more nuanced, heterogeneous mix as the budget increases. Notably, at very low budgets (e.g., 40), the heuristic remains functional and produces valid schedules where competing algorithms often fail.

Conclusion

The multi-stage heuristic algorithm effectively manages the complexities of heterogeneous BoT applications and cloud resources under budget constraints. It provides "graceful degradation," automatically shifting strategies based on available funds to maintain optimal performance. Future research will explore incorporating strict deadlines and handling non-clairvoyant scheduling where task durations are not known a priori.

Summary updated

BibTeX
@inproceedings{thai2015budget,
  author = {Long Thai and Blesson Varghese and Adam Barker},
  title = {{Budget Constrained Execution of Multiple Bag-of-Tasks Applications on the Cloud}},
  booktitle = {CLOUD},
  year = {2015},
  doi = {10.1109/cloud.2015.131},
}
Figure