,
Guido Schäfer
,
Jens Schlöter
,
Leen Stougie
Creative Commons Attribution 4.0 International license
We consider the problem of online preemptive scheduling on a single machine to minimize the total flow time. In clairvoyant scheduling, where job processing times are revealed upon arrival, the Shortest Remaining Processing Time (SRPT) algorithm is optimal. In practice, however, exact processing times are often unknown. At the opposite extreme, non-clairvoyant scheduling, in which processing times are revealed only upon completion, suffers from strong lower bounds on the competitive ratio. This motivates the study of intermediate information models. We introduce a new model in which processing times are revealed gradually during execution. Each job consists of a sequence of operations, and the processing time of an operation becomes known only after the preceding one completes. This models many scheduling scenarios that arise in computing systems. Our main result is a deterministic O(m²)-competitive algorithm, where m is the maximum number of operations per job. More specifically, we prove a refined competitive ratio in O(m₁ ⋅ m₂), where m₁ and m₂ are instance-dependent parameters describing the operation size structure. Our algorithm and analysis build on recent advancements in robust flow time minimization (SODA '26), where jobs arrive with estimated sizes. However, in our setting we have no bounded estimate on a job’s processing time. Thus, we design a highly adaptive algorithm that gradually explores a job’s operations while working on them, and groups them into virtual chunks whose size can be well-estimated. This is a crucial ingredient of our result and requires a much more careful analysis compared to the robust setting. We also provide lower bounds showing that our bounds are essentially best possible. For the special case of scheduling with uniform obligatory tests, we show that SRPT at the operation level is 2-competitive, which is best possible.
@InProceedings{lindermayr_et_al:LIPIcs.ESA.2026.128,
author = {Lindermayr, Alexander and Sch\"{a}fer, Guido and Schl\"{o}ter, Jens and Stougie, Leen},
title = {{Online Flow Time Minimization with Gradually Revealed Jobs}},
booktitle = {34th Annual European Symposium on Algorithms (ESA 2026)},
pages = {128:1--128:22},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-445-1},
ISSN = {1868-8969},
year = {2026},
volume = {388},
editor = {Bille, Philip and Pettie, Seth and Storandt, Sabine},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.ESA.2026.128},
URN = {urn:nbn:de:0030-drops-272649},
doi = {10.4230/LIPIcs.ESA.2026.128},
annote = {Keywords: optimization, scheduling, online algorithms, competitive analysis, flow time, non-clairvoyance}
}