Skip to main content
QUICK REVIEW

[论文解读] Insights from Curvy RED (Random Early Detection)

Bob Briscoe, Koen De Schepper|arXiv (Cornell University)|Apr 15, 2019
Network Traffic and Congestion ControlComputer Science参考文献 3被引用 3
一句话总结

本文分析了 Curvy RED 这一主动队列管理(AQM)算法,该算法基于排队延迟采用非线性丢弃概率,以在丢包与延迟之间实现平衡。研究发现,在高负载下严格维持延迟目标会导致过度丢包,从而恶化性能;相反,将延迟目标软化为曲线形式可减少丢包并提升混合流量性能,尤其在使用 ECN 避免丢包的情况下效果更佳。

ABSTRACT

Active queue management (AQM) drops packets early in the growth of a queue, to prevent a capacity-seeking sender (e.g. TCP) from keeping the buffer full. An AQM can mark instead of dropping packets if they indicate support for explicit congestion notification (ECN). Two modern AQMs (PIE and CoDel) are designed to keep queuing delay to a target by dropping packets as load varies. This memo uses Curvy RED and an idealised but sufficient model of TCP traffic to explain why attempting to keep delay constant is a bad idea, because it requires excessively high drop at high loads. This high drop itself takes over from queuing delay as the dominant cause of delay, particularly for short flows. At high load, a link is better able to preserve reasonable performance if the delay target is softened into a curve rather than a hard cap. The analysis proves that the same AQM can be deployed in different parts of a network whatever the capacity with the same optimal configuration. A surprising corollary of this analysis concerns cases with a highly aggregated number of flows through a bottleneck. Although aggregation reduces queue variation, if the target queuing delay of the AQM at that bottleneck is reduced to take advantage of this aggregation, TCP will still increase the loss level because of the reduction in round trip time. The way to resolve this dilemma is to overprovision (a formula is provided). Nonetheless, for traffic with ECN enabled, there is no harm in an AQM holding queuing delay constant or configuring an AQM to take advantage of any reduced delay due to aggregation without over-provisioning. Recently, the requirement of the ECN standard that ECN must be treated the same as drop has been questioned. The insight that the goals of an AQM for drop and for ECN should be different proves that this doubt is justified.

研究动机与目标

  • 理解主动队列管理中排队延迟与分组丢弃之间的性能权衡。
  • 分析为何 PIE 和 CoDel 等 AQM 算法在高负载下采用严格的延迟目标会导致过度丢包。
  • 证明采用曲线丢弃概率函数(Curvy RED)的性能优于硬编码的延迟目标。
  • 表明具备 ECN 功能的流量可安全地维持恒定排队延迟而不会导致性能下降。
  • 为不同网络容量和聚合层级的 AQM 部署提供配置指导。

提出的方法

  • 使用简化的 TCP Reno 流量模型,推导出流速率、往返时间(RTT)与分组丢弃概率之间的关系。
  • 将 Curvy RED 的丢弃概率建模为 $ p = (d_q / D_q)^u $,其中 $ d_q $ 为平均排队延迟,$ D_q $ 为缩放参数,$ u $ 为曲率指数。
  • 利用 TCP Reno 速率公式 $ x = Ks / (d_R \sqrt{p}) $(其中 $ d_R = D_R + d_q $)推导排队延迟与丢弃概率对并发流数量的依赖关系。
  • 分析流量聚合对排队延迟与丢包的影响,表明由于聚合导致 RTT 降低,若不进行容量过量配置,则丢包会增加。
  • 推导出过量配置公式:$ X'/X = (D_R + d_q^*) / (D_R + d_q^*/\sqrt{n}) $,以在高聚合情况下维持恒定丢包率。
  • 评估将 ECN 视同丢包的后果,主张应将 ECN 视为不同机制以避免不必要的标记并提升性能。

实验结果

研究问题

  • RQ1为何在高负载下维持严格的排队延迟目标会导致过度丢包,其性能后果是什么?
  • RQ2流量聚合如何影响 AQM 的最优配置?过量配置在缓解丢包增加方面起到什么作用?
  • RQ3是否可以不重新配置而在不同链路容量和 RTT 环境下使用相同的 AQM 配置?
  • RQ4与线性或硬编码延迟目标相比,采用非线性(曲线)丢弃概率函数的性能影响如何?
  • RQ5为何将 ECN 视同丢包是次优的?如何利用 ECN 来摆脱延迟-丢包权衡困境?

主要发现

  • 在高负载下维持硬性延迟目标会导致过度丢包,而这些丢包本身会成为延迟的主要来源,尤其对短流影响显著。
  • 采用曲线丢弃概率函数(Curvy RED)通过软化延迟目标,降低了高负载下的性能惩罚,从而实现更低丢包率与更优整体性能。
  • 若曲率参数固定且 RTT 环境相似,则相同的 AQM 配置可适用于不同链路容量。
  • 对于聚合流量,若不进行过量配置而降低目标排队延迟,将导致丢包增加;为维持恒定丢包率,需按 $ (D_R + d_q^*) / (D_R + d_q^*/\sqrt{n}) $ 的比例进行过量配置。
  • 具备 ECN 功能的流量可安全地维持恒定排队延迟而不会导致性能下降,证明 ECN 不应与丢包同等对待。
  • 该分析提供了在流量聚合导致 RTT 降低时,为维持恒定丢包率而进行容量过量配置的公式,示例表明当流量增加 100 倍时,需 180 倍的过量配置。

阅读本论文

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

在 Nubint 中阅读本论文

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