Lune

Abstract

We revisit the classical problem of minimizing the total flow time of jobs on a single machine in the online setting where jobs arrive over time. It has long been known that the Shortest Remaining Processing Time (SRPT) algorithm is optimal (i.e., 1-competitive) when the job sizes are known upfront [Schrage, 1968]. But in the non-clairvoyant setting where job sizes are revealed only when the job finishes, no algorithm can be constant-competitive [Motwani, Phillips, and Torng, 1994]. We consider the ε\varepsilon-clairvoyant setting, where ε∈[0,1]\varepsilon \in[0,1], and each job’s processing time becomes known once its remaining processing time equals an ε\varepsilon fraction of its processing time. This captures settings where the system user uses the initial (1−ε)(1-\varepsilon) fraction of a job’s processing time to learn its true length, which it can then reveal to the algorithm. The model was proposed by Yingchareonthawornchai and Torng (2017), and it smoothly interpolates between the clairvoyant setting (when ε=1\varepsilon=1) and the non-clairvoyant setting (when ε=0\varepsilon=0). In a concrete sense, we are asking: how much knowledge is required to circumvent the hardness of this problem? We show that a little knowledge is enough, and that a constant competitive algorithm exists for every constant ε>0\varepsilon\gt 0. More precisely, for all ε∈(0,1)\varepsilon \in(0,1), we present a deterministic ⌈1ε⌉\left\lceil\frac{1}{\varepsilon}\right\rceil-competitive algorithm, which is optimal for deterministic algorithms. We also present a matching lower bound (up to a constant factor) for randomized algorithms. Our algorithm to achieve this bound is remarkably simple and applies the “optimism in the face of uncertainty” principle. For each job, we form an optimistic estimate of its length, based on the information revealed thus far and run SRPT on these optimistic estimates. The proof relies on maintaining a matching between the jobs in OPT’s queue and the algorithm’s queue, with small prefix expansion. We achieve this by carefully choosing a set of jobs to arrive earlier than their release times without changing the algorithm, and possibly helping the adversary. These early arrivals allow us to maintain structural properties inductively, giving us the tight guarantee.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

1 top-tier paper has cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Online Scheduling via Gradient Descent for Weighted Flow Time Minimization cites Distortion-Oblivious Algorithms for Minimizing Flow Time
  • Online Scheduling via Gradient Descent for Weighted Flow Time Minimization cites Flow time scheduling with uncertain processing time
  • Non-Clairvoyant Scheduling with Progress Bars cites Distortion-Oblivious Algorithms for Minimizing Flow Time
  • Non-Clairvoyant Scheduling with Progress Bars cites Flow time scheduling with uncertain processing time
  • Distortion-Oblivious Algorithms for Minimizing Flow Time cites Flow time scheduling with uncertain processing time
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Non-Clairvoyant Scheduling with Progress BarsZiyad Benomar, Romain Cosson, Alexander Lindermayr, Jens SchlöterNeurIPS 2025 · 8 citations

Builds on4

  1. Distortion-Oblivious Algorithms for Minimizing Flow TimeYossi Azar, Stefano Leonardi, Noam TouitouSODA 2022 · 13 citations
  2. Real-Time Scheduling with PredictionsTianming Zhao, Wei Li, Albert Y. ZomayaRTSS 2022 · 7 citations
  3. Online Scheduling via Gradient Descent for Weighted Flow Time MinimizationQingyun Chen, Sungjin Im, Aditya PetetySODA 2025 · 1 citation
  4. Flow time scheduling with uncertain processing timeYossi Azar, Stefano Leonardi, Noam TouitouSTOC 2021

Related papers

  1. An Optimal Online Algorithm for Robust Flow Time SchedulingAnupam Gupta, Amit Kumar, Debmalya Panigrahi, Zhaozi WangSODA 2026 · 5 citations
  2. Minimalistic Predictions to Schedule Jobs with Online Precedence ConstraintsAlexandra Anna Lassota, Alexander Lindermayr, Nicole Megow, Jens SchlöterICML 2023 · 17 citations
  3. Competitive Analysis with a Sample and the Secretary ProblemHaim Kaplan, David Naori, Danny RazSODA 2020 · 26 citations
  4. Speed-Oblivious Online Scheduling: Knowing (Precise) Speeds is not NecessaryAlexander Lindermayr, Nicole Megow, Martin RappICML 2023 · 9 citations
  5. The Power of Clairvoyance for Multi-Level Aggregation and Set Cover with DelayNgoc Mai Le, Seeun William Umboh, Ningyuan XieSODA 2023 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines