Abstract
We investigate online scheduling with commitment for parallel identical machines. Our objective is to maximize the total processing time of accepted jobs. As soon as a job has been submitted, the commitment constraint forces us to decide immediately whether we accept or reject the job. Upon acceptance of a job, we must complete it before its deadline $d$ that satisfies $d \geq (1+\epsilon)\cdot p + r$, with $p$ and $r$ being the processing time and the submission time of the job, respectively while $\epsilon>0$ is the slack of the system. Since the hard case typically arises for near-tight deadlines, we consider $\varepsilon\leq 1$. We use competitive analysis to evaluate our algorithms. Our first main contribution is a deterministic preemptive online algorithm with an almost tight competitive ratio on any number of machines. For a single machine, the competitive factor matches the optimal bound $\frac{1+\epsilon}{\epsilon}$ of the greedy acceptance policy. Then the competitive ratio improves with an increasing number of machines and approaches $(1+\epsilon)\cdot\ln \frac{1+\epsilon}{\epsilon}$ as the number of machines converges to infinity. This is an exponential improvement over the greedy acceptance policy for small $\epsilon$. In the non-preemptive case, we present a deterministic algorithm on $m$ machines with a competitive ratio of $1+m\cdot \left(\frac{1+\epsilon}{\epsilon}\right)^{\frac{1}{m}}$. This matches the optimal bound of $2+\frac{1}{\epsilon}$ of the greedy acceptance policy for a single machine while it again guarantees an exponential improvement over the greedy acceptance policy for small $\epsilon$ and large $m$. In addition, we determine an almost tight lower bound that approaches $m\cdot \left(\frac{1}{\epsilon}\right)^{\frac{1}{m}}$ for large $m$ and small $\epsilon$.
Introduction
In many real-world systems—from cloud computing to manufacturing—tasks arrive one by one, and the system must decide immediately whether to accept or reject them. This is known as the commitment constraint. If a job is accepted, the system guarantees it will finish by its deadline. The goal is to maximize utilization: the total processing time of all completed jobs.
The difficulty lies in the "slack" parameter ($\epsilon$), which represents the extra time available beyond the job's actual processing time. When deadlines are near-tight ($\epsilon \to 0$), a single bad decision can block the system from accepting much larger, more valuable jobs later. While optimal strategies for a single machine were already known, this work tackles the significantly more complex environment of parallel identical machines.
Methods: Lazy Acceptance Policy
The core innovation of this research is a lazy acceptance policy. Instead of greedily accepting every job that fits, the algorithms maintain a dynamic "deadline threshold" ($d_{min}$). A new job is only accepted if its deadline is far enough in the future.
For the preemptive case, the authors introduce a sophisticated threshold function that accounts for "compensation values" ($V_\Delta$)—essentially tracking how much processing power is "wasted" by scheduling jobs early. For the non-preemptive case, they use an exponential sequence of processing times to determine which machine should handle a job and whether that job's deadline meets the required threshold for that specific machine's current load.
Key Insights
- Greedy is Suboptimal: In a commitment-based system, being too "eager" to fill machines is a trap. By being "lazy" and rejecting some jobs that could have been scheduled, the algorithm preserves capacity for potentially better future jobs.
- The Power of Many Machines: The competitive ratio improves as the number of machines ($m$) increases. In the preemptive case, as $m \to \infty$, the ratio approaches $(1+\epsilon) \ln(\frac{1+\epsilon}{\epsilon})$. This is an exponential improvement over the greedy policy's ratio of $1 + \frac{1}{\epsilon}$.
- Migration Matters: The ability to move jobs between machines (preemption with migration) allows for much tighter bounds than the non-preemptive case, where machine-specific fragmentation becomes a bottleneck.
Results
The performance of these algorithms is evaluated using competitive analysis, comparing the online algorithm against an optimal offline adversary.
- Preemptive Bound: The authors present a deterministic algorithm with a strict competitive ratio of $m \cdot (1+\epsilon) \cdot ( ( \frac{1+\epsilon}{\epsilon} )^{1/m} - 1 )$. They also provide a lower bound that almost perfectly matches this.
- Non-preemptive Bound: For the non-preemptive case, they achieve a ratio of $m \cdot ( \frac{1+\epsilon}{\epsilon} )^{1/m} + 1$. This significantly outperforms the previous state-of-the-art greedy approach ($2 + \frac{1}{\epsilon}$) for systems with many machines and small slack.
Conclusion and Future Work
While the preemptive bounds are nearly tight, there remains a gap between the upper and lower bounds for the non-preemptive case. Deriving a perfectly tight lower bound for non-preemptive parallel machines remains a challenging open problem. Additionally, the current model assumes migration is free; future work could incorporate migration penalties (e.g., cache-misses) to better reflect real-world hardware constraints.
Summary updated