推测排队网络的稳定性与优化
Stability and Optimization of Speculative Queueing Networks
AI总结:
针对现有推测式作业执行机制性能与优化研究不足的问题,提出带超时机制的排队网络模型,推导了稳定性充要条件、最优推测时间公式,发现中重负载下推测机制优于复制方案。
摘要:
我们基于“系统一旦检测到某个作业是掉队者(straggler)就立即对其进行复制”这一原理,为作业复制方案提供了一个排队论框架,这种机制被称为作业推测(speculation)。近期已有研究分析了到达即复制的策略,我们将其称为复制(replication),该策略的灵感来源于谷歌BigTable中的实现。然而,Apache Spark和Hadoop MapReduce这类系统采用的是推测式作业执行机制,目前人们对其性能与优化的理解仍不够充分。\n为此,我们提出了一种用于负载均衡的排队网络模型,其中每个服务器都可以推测作业的执行时间。具体而言,每个作业最初由前端调度器分配给单个服务器;当作业开始执行时,服务器会设置一个超时时间。如果作业在超时前完成,就会离开网络;否则作业会被终止,并在另一台服务器上重新启动或恢复执行,直至完成。\n我们给出了异构服务器、通用作业规模和调度规则下推测排队网络稳定性的充要条件。研究发现,与标准负载均衡模型和复制方案相比,推测机制能够扩大网络的稳定区域。我们给出了超时时间可增大稳定区域的通用条件,并推导了最优推测时间(即能最小化推测带来的额外负载的超时时间)的计算公式。\n我们在S&X模型下将推测机制与redundant-d和redundant-to-idle-queue-d规则进行了对比。对于轻负载系统,复制方案的响应时间更优;但对于中等至重负载场景,复制方案会损失容量,且与推测方案相比,其响应时间要差得多。
英文摘要:
We provide a queueing-theoretic framework for job replication schemes based on the principle "\emph{replicate a job as soon as the system detects it as a \emph{straggler}}". This is called job \emph{speculation}. Recent works have analyzed {replication} on arrival, which we refer to as \emph{replication}. Replication is motivated by its implementation in Google's BigTable. However, systems such as Apache Spark and Hadoop MapReduce implement speculative job execution. The performance and optimization of speculative job execution is not well understood. To this end, we propose a queueing network model for load balancing where each server can speculate on the execution time of a job. Specifically, each job is initially assigned to a single server by a frontend dispatcher. Then, when its execution begins, the server sets a timeout. If the job completes before the timeout, it leaves the network, otherwise the job is terminated and relaunched or resumed at another server where it will complete. We provide a necessary and sufficient condition for the stability of speculative queueing networks with heterogeneous servers, general job sizes and scheduling disciplines. We find that speculation can increase the stability region of the network when compared with standard load balancing models and replication schemes. We provide general conditions under which timeouts increase the size of the stability region and derive a formula for the optimal speculation time, i.e., the timeout that minimizes the load induced through speculation. We compare speculation with redundant-$d$ and redundant-to-idle-queue-$d$ rules under an $S\& X$ model. For light loaded systems, redundancy schemes provide better response times. However, for moderate to heavy loadings, redundancy schemes can lose capacity and have markedly worse response times when compared with a speculative scheme.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。