Optimizing UDP for content delivery: GSO, pacing and zerocopy

Optimizing UDP for content delivery: GSO, pacing and zerocopy
复制标题

优化 UDP 以进行内容交付:GSO、节奏和零复制

DOI:
--
复制
发表时间:
2020
期刊:
影响因子:
--
通讯作者:
A. Zink
A. Zink
中科院分区:
--
文献类型:
--
作者:
K. Albrecht;J. Callhoff;Matthias Schneider;A. Zink

文献摘要

被引文献

相似文献

UDP 是试验和快速部署新协议的流行基础。经验表明,与内核内 TCP 相比,循环效率存在很大差距。本演讲介绍了 UDP 堆栈的最新优化,以缩小这一差距。其核心是 TCP 长期可用的优化:分段卸载、调步和零复制。我们介绍最近合并的 UDP GSO 和 SO_TXTIME 接口并讨论选择的实现细节。我们还回顾了适合此上下文的部分 GSO,并讨论了提交中的优化:使用 MSG_ZEROCOPY 和 UDP GRO 进行 UDP 零拷贝传输。
UDP is a popular basis for the experimentation with and rapid deployment of new protocols. Experience shows a large gap in cycle efficiency compared to in-kernel TCP. This talk presents recent optimizations to the UDP stack that narrow this gap. At the core are optimizations long available to TCP: segmentation offload, pacing and zerocopy. We present the recently merged UDP GSO and SO_TXTIME interfaces and discuss select implementation details. We also review partial GSO as it fits in this context and discuss optimizations that are in submission: UDP zerocopy transmit with MSG_ZEROCOPY and UDP GRO.