PDL Abstract

Simple Near-Optimal Scheduling for the M/G/1

Proc. ACM Meas. Anal. Comput. Syst., Vol. 4, No. 1, Article 11. Publication date: March 2020.

Ziv Scully, Mor Harchol-Balter, Alan Scheller-Wolf

Carnegie Mellon University


We consider the problem of preemptively scheduling jobs to minimize mean response time of an M/G/1 queue. When we know each job’s size, the shortest remaining processing time (SRPT) policy is optimal. Unfortunately, in many settings we do not have access to each job’s size. Instead, we know only the job size distribution. In this setting the Gittins policy is known to minimize mean response time, but its complex priority structure can be computationally intractable. A much simpler alternative to Gittins is the shortest expected remaining processing time (SERPT) policy. While SERPT is a natural extension of SRPT to unknown job sizes, it is unknown whether or not SERPT is close to optimal for mean response time.

We present a new variant of SERPT called monotonic SERPT (M-SERPT) which is as simple as SERPT but has provably near-optimal mean response time at all loads for any job size distribution. Specifically, we prove the mean response time ratio between M-SERPT and Gittins is at most 3 for load ρ ≤ 8/9 and at most 5 for any load. This makes M-SERPT the only non-Gittins scheduling policy known to have a constant-factor approximation ratio for mean response time.

FULL PAPER: pdf / talk video