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

Analysis of Busy-Time Scheduling on Heterogeneous Machines

Mozhengfu Liu, Xueyan Tang

Introduction

Cloud resource management often involves "busy-time" scheduling, where costs are incurred based on the duration virtual machines (VMs) are active rather than the raw number of tasks executed. While previous literature has extensively covered homogeneous environments, real-world cloud platforms like Amazon EC2 offer a heterogeneous array of instance types with varying capacities and price points. This paper addresses the Busy-time Scheduling on Heterogeneous Machines (BSHM) problem, providing the first comprehensive algorithmic analysis for minimizing total monetary cost in such environments.

The Cost-Per-Capacity Framework

A central challenge in BSHM is the dual problem of placement (selecting the optimal machine type) and timing (scheduling jobs to maximize consolidation). The authors introduce a structural tool called the cost-per-capacity graph to navigate this complexity.

Machine types with their associated cost rates, capacities, and cost-to-capacity ratios.

As shown in the table above, machine types are characterized by their cost rate $r_i$ and capacity $g_i$. The hierarchy is determined by the ratio $r_i/g_i$. A machine type $j$ is considered a "better" option than type $i$ if it offers a lower normalized cost per unit of capacity. This relationship allows the construction of a forest structure where directed edges point toward more cost-effective "ancestor" machines.

The cost-per-capacity forest structure representing machine hierarchies.

Algorithmic Approaches

The paper develops two primary algorithms based on this hierarchical structure:

Offline Scheduling ($ALG_{offline}$)

In the offline setting, where all job intervals are known a priori, the algorithm processes machine types from most expensive to least. It employs a cost-effectiveness threshold: a high-capacity machine is only activated if the cumulative cost of running the same jobs on smaller, descendant machines in the forest would exceed one-third of the larger machine's cost. This strategy ensures that "upgrades" to larger machines only occur when they provide significant consolidation benefits.

Online Scheduling ($ALG_{online}$)

For online scenarios where jobs arrive dynamically, the authors propose a modified First Fit rule. Jobs are assigned to existing open machines of their specific type or an ancestor type, provided they fit. New machines are opened only when capacity is exhausted and doing so maintains a specific cost-balancing constraint relative to the hierarchy.

Key Results and Theoretical Bounds

The authors establish rigorous performance guarantees for both algorithms:

  1. Offline Performance: $ALG_{offline}$ achieves an $O(1)$-approximation ratio. Specifically, the analysis shows the cost is at most 180 times the optimal cost. In the context of complex heterogeneous scheduling, achieving a constant approximation factor is a significant theoretical milestone.
  2. Online Performance: $ALG_{online}$ achieves an $O(\mu)$-competitive ratio, where $\mu$ represents the ratio between the maximum and minimum job durations.

The analysis utilizes several innovative techniques, including the "Power of 8" assumption for cost rates (which simplifies the hierarchy without losing more than a constant factor) and the use of "artificial jobs" to bridge the gap between online performance and offline optimality.

Conclusion

This work provides a foundational theoretical framework for heterogeneous busy-time scheduling. By reducing a multi-dimensional bin-packing problem to a hierarchical forest structure, the authors demonstrate that near-optimal scheduling is possible even in complex, diverse cloud environments. While the online competitive ratio depends on job length variance ($\mu$), this is shown to be an inherent lower bound of the problem itself.

Summary updated

BibTeX
@inproceedings{liu2021analysis,
  author = {Mozhengfu Liu and Xueyan Tang},
  title = {{Analysis of Busy-Time Scheduling on Heterogeneous Machines}},
  booktitle = {SPAA},
  year = {2021},
  url = {https://openreview.net/forum?id=WNGbKDHi59},
}
Figure