Skip to main content
QUICK REVIEW

[论文解读] The MDS Queue: Analysing Latency Performance of Codes and Redundant Requests

Nihar B. Shah, Kangwook Lee|arXiv (Cornell University)|Nov 23, 2012
Advanced Data Storage TechnologiesComputer Science参考文献 22被引用 23
一句话总结

本文引入MDS队列模型,利用最大距离可分(MDS)码分析数据中心中的延迟性能,表明MDS编码系统相比复制机制可将平均延迟降低高达70%。此外,理论分析进一步表明,冗余请求——即发送多于所需数量的请求——可进一步降低延迟,当所有服务器均被请求时性能达到最优,前提是服务时间为指数分布且取消成本可忽略。

ABSTRACT

In order to scale economically, data centers are increasingly evolving their data storage methods from the use of simple data replication to the use of more powerful erasure codes, which provide the same level of reliability as replication-based methods at a significantly lower storage cost. In particular, it is well known that MaximumDistance-Separable (MDS) codes, such as Reed-Solomon codes, provide the maximum storage efficiency. While the use of codes for providing improved reliability in archival storage systems, where the data is less frequently accessed (or so-called “cold data”), is well understood, the role of codes in the storage of more frequently accessed and active “hot data”, where latency is the key metric, is less clear. In this paper, we study data storage systems based on MDS codes through the lens of queueing theory, and term this the “MDS queue.” We analytically characterize the latency performance of MDS queues, for which we present insightful scheduling policies that form upper and lower bounds to performance, and show that they are quite tight. Extensive simulations using Monte Carlo methods are also provided and used to validate our theoretical analysis. As a side note, our lower-bound analytical method based on the so-called MDS-Reservation(t) queue, represents an elegant practical scheme that requires the maintenance of considerably smaller state, depending on the parameter t, than that of the full-fledged MDS queue (which corresponds to t =∞), and may be of independent interest in practical systems. Comparisons with replication-based systems reveal that codes provide a superior latency-performance (by up to 70%) than replication. The second part of the paper considers an alternative method of (potentially) reducing latency in data centers, that of sending redundant requests. Here, a request is sent to more servers than required, and is deemed served when any requisite number of servers complete service. Several recent works provide empirical evidence of the benefits of redundant requests in various settings, and in this paper, we aim to analytically characterize the situations when can redundant requests actually help. We show that under the MDS queue model (with exponential service times and negligible costs of cancelling jobs), in a replication-based system, the average latency strictly reduces with more redundancy in the requests, and that under a general MDS code, the average latency is minimized when requests are sent to all servers. To the best of our knowledge, these are the first analytical results that prove the benefits of sending redundant requests.

研究动机与目标

  • 理解在数据中心中使用MDS编码存储系统时的延迟性能,特别是对于频繁访问的“热数据”,此时低延迟至关重要。
  • 利用排队论对MDS队列进行建模与分析,提供延迟性能的理论边界。
  • 评估冗余请求对复制系统与MDS编码系统中延迟降低的影响。
  • 在现实假设下,确定最小化平均延迟的最优调度策略与冗余策略。

提出的方法

  • 将数据中心存储系统建模为M/D/1型排队系统,称为“MDS队列”,以分析在指数服务时间下的延迟性能。
  • 通过调度策略推导延迟性能的理论上下界,其中下界基于MDS-Reservation(t)队列模型。
  • 使用蒙特卡洛模拟验证理论结果,并评估不同系统参数下的性能表现。
  • 通过将请求转发至多于所需数量的服务器来建模冗余请求,完成条件为任意达到所需数量的响应即可。
  • 应用排队论证明:在复制系统与MDS编码系统中,增加冗余均可降低平均延迟。
  • 提出MDS-Reservation(t)队列作为完整MDS队列的轻量级近似,通过可调参数t减少状态维护开销。

实验结果

研究问题

  • RQ1MDS码的使用如何影响数据中心存储系统中热数据的平均延迟?
  • RQ2MDS编码系统中延迟性能的理论上下界是什么?它们的紧致程度如何?
  • RQ3在何种场景下冗余请求可降低延迟?冗余程度如何随系统参数变化?
  • RQ4与基于复制的系统相比,冗余请求在MDS编码系统中的性能表现如何?
  • RQ5能否通过理论模型证明在指数服务时间下,冗余请求可显著降低延迟?

主要发现

  • 在相同工作负载条件下,MDS编码存储系统相比基于复制的系统,可将平均延迟降低高达70%。
  • MDS-Reservation(t)队列为延迟性能提供了紧致的下界,且相比完整MDS队列显著减少了状态存储需求,尤其在t值较小时更为明显。
  • 在基于复制的系统中,增加冗余请求数量可严格降低平均延迟,但随着冗余度提高,收益递减。
  • 对于MDS编码系统,当请求发送至所有服务器时,平均延迟最小化,表明完全冗余为最优策略。
  • 理论分析证实,冗余请求在复制系统与MDS编码系统中均可带来可测量的延迟收益,且首次在指数服务时间假设下提供了该效应的理论证明。
  • 基于蒙特卡洛方法的模拟验证了理论边界的准确性,确认了在多种系统配置下,理论模型具有良好的紧致性。

阅读本论文

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

在 Nubint 中阅读本论文

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