Throughput Maximization in the Speed-Scaling Setting

Eric Angel, Evripidis Bampis, Vincent Chau

Introduction

Modern processors utilize speed-scaling to balance performance and energy efficiency. Since power consumption typically scales convexly with speed ($P = s^\alpha$ for $\alpha > 1$), increasing execution speed results in a disproportionate rise in energy costs. While prior research focused on minimizing energy for a fixed set of tasks, this paper addresses the inverse challenge: maximizing throughput—the number of jobs completed by their deadlines—given a fixed energy budget $E$.

Problem Formulation

The authors investigate the complexity of maximizing throughput for jobs with arbitrary release dates ($r_j$) and deadlines ($d_j$). This includes both preemptive scheduling (where jobs can be interrupted) and non-preemptive scheduling (where jobs must run to completion once started). Before this work, the complexity of the unweighted, preemptive version for arbitrary instances remained an open theoretical question.

Algorithmic Approach: Discretization and Dynamic Programming

The primary challenge in speed-scaling is the continuous nature of time and processor speed. To make the problem tractable, the authors prove that optimal schedules possess discrete properties. Specifically, they demonstrate that start times, end times, and speed changes only need to be considered within a finite set of mathematically bounded values.

By leveraging the Earliest Deadline First (EDF) policy, the authors construct a Dynamic Programming (DP) framework. The DP state, $E_k(s, x, t, u)$, represents the minimum energy required to schedule $u$ jobs from a subset within specific time intervals. This discretization allows the continuous scheduling problem to be solved via combinatorial optimization.

Dynamic programming recurrence and interval decomposition for job scheduling.

As shown in the recurrence above, the algorithm recursively decomposes the problem by placing a job $J_k$ and calculating the energy required for the remaining sub-problems. The core insight is that the lengths of intervals where the processor runs at a constant speed can be restricted to integer values, drastically pruning the search space.

Key Results and Complexity Analysis

The paper provides the first pseudo-polynomial time algorithms for the preemptive case and a strongly polynomial time algorithm for the non-preemptive case with equal job sizes. These results are summarized in the table below, which compares the new findings against classical scheduling results.

Comparison of time complexities for throughput maximization across classical and speed-scaling settings.

Key complexity milestones include:

  • Preemptive (Unweighted): Solved in $O(n^6 L^9 P^9)$ time, where $L$ is the schedule span and $P$ is the total processing requirement.
  • Non-preemptive (Unweighted, equal sizes): Solved in $O(n^{21})$ time, proving the problem is in P, though the high exponent makes it primarily of theoretical interest.
  • Weighted Cases: The authors also establish bounds for weighted throughput maximization, showing that the problem becomes NP-hard in the non-preemptive setting even with equal job sizes.

Discussion and Future Directions

While the algorithms presented are theoretical milestones, their practical application is limited by high polynomial degrees and dependence on parameters like $L$ and $P$. However, by proving that the preemptive case is not strongly NP-hard, the authors have cleared a path for future research into strictly polynomial-time algorithms. The remaining open question is whether a true polynomial-time solution exists for the general unweighted preemptive case without dependence on the schedule span or total work.

Summary updated

BibTeX
@inproceedings{angel2014throughput,
  author = {Eric Angel and Evripidis Bampis and Vincent Chau},
  title = {{Throughput Maximization in the Speed-Scaling Setting}},
  booktitle = {STACS},
  year = {2014},
  doi = {10.4230/lipics.stacs.2014.53},
}
Figure