A Wire-Compatible TCP Implementation for Low-Latency Applications
نویسنده
چکیده
A Wire-Compatible TCP Implementation for Low-Latency Applications Michael F. Nowlan 2014 Despite alternative transport protocols more suitable to latency-sensitive applications, TCP remains the de facto standard for Internet traffic, including many lowlatency, interactive applications. As such, applications often tweak the TCP protocol to better suit their needs but run the risk that any change to TCP’s wire format can cause reachability issues or complete failure. This work presents a modified TCP implementation to reduce end-to-end latency without modifying TCP’s wire format. Bufferbloat Resilient TCP (BBR) is a sender-side modification that detects and mitigates instances of so-called “bufferbloat” in a TCP connection. Large network buffers coupled with TCP’s additive increase often result in standing queues and drastically higher round-trip times. BBR throttles the TCP sender by identifying bufferbloat through the correlation between sending rate and delay. A live production deployment shows BBR improves average end-to-end latency, bandwidth efficiency and retransmissions by orders of magnitude for a video serving platform. Random and congestive packet loss increase the latency of subsequent packets, not just the lost packets, due to TCP’s strict in-order delivery model. Unordered TCP (uTCP) is a receiver-side change that exposes to applications out-of-order data segments that the OS normally delays in socket buffers. This small change enables applications to build generic unordered datagram transports and improves end-to-end latency for interactive applications. Evaluations show that uTCP can approximate the latency performance of UDP for various application workloads. A Wire-Compatible TCP Implementation for Low-Latency Applications A Dissertation Presented to the Faculty of the Graduate School of Yale University in Candidacy for the Degree of Doctor of Philosophy by Michael F. Nowlan Dissertation Director: Bryan A. Ford
منابع مشابه
A TCP/IP Implementation with Endsystem QoS
This paper presents a Real-time Upcall (rtu) 1] based tcp/ip implementation that guarantees through-put for continuous media applications and ensures low latency bounds for interactive applications. rtu is an endsystem rate-based scheduling mechanism that provides quality of service (qos), in terms of cpu cycles, to applications. We restructured the existing netbsd tcp/ip implementation to expl...
متن کاملTCP/IP Implementation with Endsystem QoS
This paper presents a Real-time Upcall (RTU) [1] based TCP/IP implementation that guarantees throughput for continuous media applications and ensures low latency bounds for interactive applications. RTU is an endsystem rate-based scheduling mechanism that provides quality of service (QoS) in terms of CPU cycles, to applications. We restructured the existing NetBSD TCP/IP implementation to explo...
متن کاملFitting Square Pegs Through Round Pipes: Unordered Delivery Wire-Compatible with TCP and TLS
Internet applications increasingly employ TCP not as a stream abstraction, but as a substrate for applicationlevel transports, a use that converts TCP’s in-order semantics from a convenience blessing to a performance curse. As Internet evolution makes TCP’s use as a substrate likely to grow, we offer Minion, an architecture for backward-compatible out-of-order delivery atop TCP and TLS. Small O...
متن کاملStackMap: Low-Latency Networking with the OS Stack and Dedicated NICs
StackMap leverages the best aspects of kernel-bypass networking into a new low-latency Linux network service based on the full-featured TCP kernel implementation, by dedicating network interfaces to applications and offering an extended version of the netmap API as a zero-copy, lowoverhead data path while retaining the socket API for the control path. For small-message, transactional workloads,...
متن کاملLatency Analysis of TCP on an ATM Network
In this paper we characterize the latency of the BSD 4.4 alpha implementation of TCP on an ATM network. Latency reduction is a difficult task, and careful analysis is the first step towards reduction. We investigate the impact of both the network controller and the protocol implementation on latency. We find that a low latency network controller has a significant impact on the overall latency o...
متن کامل