English

Efficient Measurement on Programmable Switches Using Probabilistic Recirculation

Networking and Internet Architecture 2018-09-28 v2 Data Structures and Algorithms

Abstract

Programmable network switches promise flexibility and high throughput, enabling applications such as load balancing and traffic engineering. Network measurement is a fundamental building block for such applications, including tasks such as the identification of heavy hitters (largest flows) or the detection of traffic changes. However, high-throughput packet processing architectures place certain limitations on the programming model, such as restricted branching, limited capability for memory access, and a limited number of processing stages. These limitations restrict the types of measurement algorithms that can run on programmable switches. In this paper, we focus on the RMT programmable high-throughput switch architecture, and carefully examine its constraints on designing measurement algorithms. We demonstrate our findings while solving the heavy hitter problem. We introduce PRECISION, an algorithm that uses \emph{Probabilistic Recirculation} to find top flows on a programmable switch. By recirculating a small fraction of packets, PRECISION simplifies the access to stateful memory to conform with RMT limitations and achieves higher accuracy than previous heavy hitter detection algorithms that avoid recirculation. We also analyze the effect of each architectural constraint on the measurement accuracy and provide insights for measurement algorithm designers.

Keywords

Cite

@article{arxiv.1808.03412,
  title  = {Efficient Measurement on Programmable Switches Using Probabilistic Recirculation},
  author = {Ran Ben Basat and Xiaoqi Chen and Gil Einziger and Ori Rottenstreich},
  journal= {arXiv preprint arXiv:1808.03412},
  year   = {2018}
}

Comments

To appear in IEEE ICNP 2018

R2 v1 2026-06-23T03:29:37.100Z