Skip to main content
QUICK REVIEW

[论文解读] Uniform Bounds for Scheduling with Job Size Estimates

Ziv Scully, Isaac Grosof|arXiv (Cornell University)|Oct 1, 2021
Optimization and Search ProblemsComputer Science参考文献 20被引用 5
一句话总结

本文提出 SRPT-B,一种针对具有作业大小估计值的 M/G/1 队列的新型调度策略,该策略在估计值准确时实现一致性(近似比接近 1),在估计误差较大时实现平稳退化(近似比有界),且无需事先知晓误差界限 α 和 β。该文证明 SRPT-B 的近似比至多为 3.5α/β,并在 α, β → 1 时一致趋近于 1,从而解决了调度中使用不完美预测时一个关键的开放问题。

ABSTRACT

We consider the problem of scheduling to minimize mean response time in M/G/1 queues where only estimated job sizes (processing times) are known to the scheduler, where a job of true size $s$ has estimated size in the interval $[βs, αs]$ for some $α\geq β> 0$. We evaluate each scheduling policy by its approximation ratio, which we define to be the ratio between its mean response time and that of Shortest Remaining Processing Time (SRPT), the optimal policy when true sizes are known. Our question: is there a scheduling policy that (a) has approximation ratio near 1 when $α$ and $β$ are near 1, (b) has approximation ratio bounded by some function of $α$ and $β$ even when they are far from 1, and (c) can be implemented without knowledge of $α$ and $β$? We first show that naively running SRPT using estimated sizes in place of true sizes is not such a policy: its approximation ratio can be arbitrarily large for any fixed $β< 1$. We then provide a simple variant of SRPT for estimated sizes that satisfies criteria (a), (b), and (c). In particular, we prove its approximation ratio approaches 1 uniformly as $α$ and $β$ approach 1. This is the first result showing this type of convergence for M/G/1 scheduling. We also study the Preemptive Shortest Job First (PSJF) policy, a cousin of SRPT. We show that, unlike SRPT, naively running PSJF using estimated sizes in place of true sizes satisfies criteria (b) and (c), as well as a weaker version of (a).

研究动机与目标

  • 解决仅在可用作业大小估计值时,调度策略缺乏理论保证的问题,尤其是在存在乘法估计误差的情况下。
  • 设计一种策略,即使作业大小估计不准确,也能保持优异性能(低平均响应时间),且无需知晓误差界限 α 和 β。
  • 建立一个正式框架,通过相对于已知真实大小下最优策略 SRPT 的近似比,评估在估计不确定性下的调度策略表现。
  • 提供首个在 (β, α)-有界估计下,针对 M/G/1 队列的可证明鲁棒且一致的调度策略,同时满足一致性和平稳退化特性。
  • 比较并对比在估计误差下,使用估计值的 SRPT(SRPT-E)、使用估计值的 PSJF(PSJF-E)以及所提出的 SRPT-B 策略的性能。

提出的方法

  • 定义 (β, α)-有界估计模型,其中作业的真实大小 s 的估计值位于 [βs, αs] 区间内,其中 α ≥ β > 0。
  • 提出 SRPT-B,一种引入‘反弹’机制的 SRPT 变体,以防止因低估而导致长作业被不公平地优先处理。
  • 通过等待时间的积分界分析 SRPT-B 的平均响应时间,利用 M/G/1 队列理论和忙期分析结果。
  • 利用基于排名的调度概念和尾部概率界,比较 SRPT-B 和 PSJF-E 相对于最优 SRPT 策略的性能。
  • 通过比较 SRPT-B 和 PSJF-E 的期望等待时间分量与 SRPT 和 PSJF 的对应分量,推导出近似比的上界。
  • 应用积分变换和条件期望技术,对估计误差下的响应时间比值进行有界处理,特别利用了忙期理论中的因子 1/(1−ρ)。

实验结果

研究问题

  • RQ1能否设计一种调度策略,在作业大小以乘法方式估计时,同时实现一致性(当 α, β → 1 时近似比 →1)和平稳退化(对所有 α≥β>0 近似比有界)?
  • RQ2为何直接使用估计值应用 SRPT(即 SRPT-E)无法提供有界的近似比,即使误差很小?
  • RQ3能否设计一种策略,实现有界的近似比,而无需知晓 α 和 β?
  • RQ4在估计误差下,使用估计值的 PSJF(PSJF-E)与使用估计值的 SRPT(SRPT-E)性能如何比较?
  • RQ5仅使用估计作业大小的策略,在 M/G/1 队列中可实现的最紧近似比是多少?

主要发现

  • SRPT-E(即直接使用估计值应用 SRPT)对任意 β < 1 的情况,其近似比无界,即使 α 接近 1,因此在实际中不适用。
  • SRPT-B 的近似比至多为 3.5α/β,且当 α 和 β 趋近于 1 时一致趋近于 1,满足一致性和平稳退化特性。
  • PSJF-E 相对于最优 PSJF 策略的近似比至多为 1.5α/β,且其性能随估计误差增加而平稳下降。
  • 分析表明,PSJF-E 的平均响应时间受 α/β 倍于 PSJF 平均响应时间的约束,该界通过等待时间分量的积分比较推导得出。
  • 本文为一个经验观察提供了理论解释:当长作业被低估时,SRPT-E 表现极差,通过证明其近似比存在下界。
  • 结果表明,PSJF-E 是 SRPT-B 的有力实际替代方案,具有更简单的实现方式,并在许多情况下提供更紧的理论界。

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。