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

被引:13
作者
Scully, Ziv [1 ]
Harchol-Balter, Mor [1 ]
Scheller-Wolf, Alan [2 ]
机构
[1] Carnegie Mellon Univ, Dept Comp Sci, 5000 Forbes Ave, Pittsburgh, PA 15213 USA
[2] Carnegie Mellon Univ, Tepper Sch Business, 5000 Forbes Ave, Pittsburgh, PA 15213 USA
关键词
M/G/1; response time; latency; sojourn time; Gittins policy; shortest expected remaining processing time (SERPT); monotonic SERPT (M-SERPT); approximation ratio; multilevel processor sharing (MLPS); foreground-background (FB); shortest remaining processing time (SRPT);
D O I
10.1145/3379477
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
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 rho <= 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.
引用
收藏
页数:29
相关论文
共 31 条
[1]   On the nonoptimality of the foreground-background discipline for IMRL service times [J].
Aalto, S. ;
Ayesta, U. .
JOURNAL OF APPLIED PROBABILITY, 2006, 43 (02) :523-534
[2]  
Aalto S., 2007, Performance Evaluation Review, V34, P36, DOI 10.1145/1243401.1243409
[3]  
Aalto S., 2004, Performance Evaluation Review, V32, P97, DOI 10.1145/1012888.1005701
[4]  
Aalto S, 2006, P 25 IEEE INT C COMP, P1
[5]   PROPERTIES OF THE GITTINS INDEX WITH APPLICATION TO OPTIMAL SCHEDULING [J].
Aalto, Samuli ;
Ayesta, Urtzi ;
Righter, Rhonda .
PROBABILITY IN THE ENGINEERING AND INFORMATIONAL SCIENCES, 2011, 25 (03) :269-288
[6]   On the Gittins index in the M/G/1 queue [J].
Aalto, Samuli ;
Ayesta, Urtzi ;
Righter, Rhonda .
QUEUEING SYSTEMS, 2009, 63 (1-4) :437-458
[7]  
[Anonymous], 2011, Multi-armed bandit allocation indices
[8]   Achievable Performance of Blind Policies in Heavy Traffic [J].
Bansal, Nikhil ;
Kamphorst, Bart ;
Zwart, Bert .
MATHEMATICS OF OPERATIONS RESEARCH, 2018, 43 (03) :949-964
[9]   Nonclairvoyant scheduling to minimize the total flow time on single and parallel machines [J].
Becchetti, L ;
Leonardi, S .
JOURNAL OF THE ACM, 2004, 51 (04) :517-539
[10]   Insensitivity in processor-sharing networks [J].
Bonald, T ;
Proutière, A .
PERFORMANCE EVALUATION, 2002, 49 (1-4) :193-209