English

Online Flow Time Minimization: Tight Bounds for Non-Preemptive Algorithms

Data Structures and Algorithms 2026-04-02 v3

Abstract

This paper studies the online scheduling problem of minimizing total flow time for nn jobs on mm identical machines. A classical Ω(n)\Omega(n) lower bound shows that no deterministic single-machine algorithm can beat the trivial greedy, even when nn is known in advance. However, this barrier is specific to deterministic algorithms on a single machine, leaving open what randomization, multiple machines, or the kill-and-restart capability can achieve. We give a nearly complete answer. For randomized non-preemptive algorithms, we establish a tight Θ(n/m)\Theta(\sqrt{n/m}) competitive ratio, which also improves the best offline approximation to O(n/m)O(\sqrt{n/m}). For deterministic non-preemptive algorithms on multiple machines, we prove an O(n/m2+n/mlogm)O(n/m^2 + \sqrt{n/m}\log m) upper bound and an Ω(n/m2+n/m)\Omega(n/m^2 + \sqrt{n/m}) lower bound. In the kill-and-restart model, we reveal a sharp transition for deterministic algorithms: Ω(n/logn)\Omega(n/\log n) for m=1m = 1 versus Θ(n/m)\Theta(\sqrt{n/m}) for m2m \ge 2; the latter matches the optimal randomized ratio, and we further show that randomization provides no additional power in this model. We also investigate the setting where nn is unknown. We prove that no randomized non-preemptive algorithm achieves o(n)o(n) on one machine or o(n/m2+n/m)o(n/m^2 + \sqrt{n/m}) on mm machines. In contrast, our kill-and-restart algorithm achieves O(nα/m)O(n^{\alpha}/\sqrt{m}) for m2m \ge 2, where α=(51)/2\alpha = (\sqrt{5}-1)/2, breaking the trivial bound without knowledge of nn.

Keywords

Cite

@article{arxiv.2511.03485,
  title  = {Online Flow Time Minimization: Tight Bounds for Non-Preemptive Algorithms},
  author = {Yutong Geng and Enze Sun and Zonghan Yang and Yuhao Zhang},
  journal= {arXiv preprint arXiv:2511.03485},
  year   = {2026}
}
R2 v1 2026-07-01T07:22:53.453Z