Continuous in-network round-trip time monitoring
Authors:
Open Access
- 22 August 2022
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 473-485
Abstract
Round-trip time (RTT) is a central metric that influences end-user QoE and can expose traffic-interception attacks. Many popular RTT monitoring techniques either send active probes (that do not capture application-level RTTs) or passively monitor only the TCP handshake (which can be inaccurate, especially for long-lived flows). High-speed programmable switches present a unique opportunity to monitor the RTTs continuously and react in real time to improve performance and security. In this paper, we present Dart, an inline, real-time, and continuous RTT measurement system that can enable automated detection of network events and adapt (e.g., routing, scheduling, marking, or dropping traffic) inside the network. However, designing Dart is fraught with challenges, due to the idiosyncrasies of the TCP protocol and the resource constraints in high-speed switches. Dart overcomes these challenges by strategically limiting the tracking of packets to only those that can generate useful RTT samples, and by identifying the synergy between per-flow state and per-packet state for efficient memory use. We present a P4 prototype of Dart for the Tofino switch, as well our experiments on a campus testbed and simulations using anonymized campus traces. Dart, running in real time and with limited data-plane memory, is able to collect 99% of the RTT samples of an offline, software baseline---a variant of the popular tcptrace tool that has access to unlimited memory.Keywords
Funding Information
- DARPA (HR001120C0107)
- NSF (National Science Foundation) (CNS-1704077)
This publication has 19 references indexed in Scilit:
- The QUIC Transport Protocol2017
- Dapper2017
- Server Allocation for Multiplayer Cloud Gaming2016
- TCP Stretch Acknowledgements and TimestampsACM SIGCOMM Computer Communication Review, 2015
- Measuring the latency of cloud gaming systems2011
- How much anonymity does network latency leak?ACM Transactions on Information and System Security, 2010
- Exploiting as hierarchy for scalable route selection in multi-homed stub networks2004
- A comparison of overlay routing and multihoming route controlACM SIGCOMM Computer Communication Review, 2004
- Passive estimation of TCP round-trip timesACM SIGCOMM Computer Communication Review, 2002
- TCP congestion control with a misbehaving receiverACM SIGCOMM Computer Communication Review, 1999