Practical Heavy-Hitter Detection Algorithms for Programmable Switches

Rani Abboud, Roy Friedman

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

Programmable switches enable offloading various network functions, such as anomaly detection and traffic engineering, to the same switches that perform packet routing. A fundamental component of many such applications is detecting heavy hitters (largest flows). Realizing such data plane algorithms requires taking into consideration all types of limited hardware resources of the switch, including the recirculation bandwidth, number of stages, and memory. This motivates solutions that avoid recirculation, fit into a minimal number of stages, and are memory-frugal. We introduce a novel sketch for heavy hitter detection, CMSIS, that supports both online detection and offline retrieval of heavy hitters and achieves high accuracy while incurring low resource consumption. We implemented CMSIS in P4 for the Tofino 2 target. This implementation of CMSIS requires no recirculation and consumes 25% less pipeline stages than state-of-the-art alternatives that do not perform recirculation, while its memory consumption is competitive with prior works.

Original languageEnglish
Title of host publication2024 IFIP Networking Conference, IFIP Networking 2024
Pages377-385
Number of pages9
ISBN (Electronic)9783903176638
DOIs
StatePublished - 2024
Event23rd International Federation for Information Processing on Networking Conference, IFIP Networking 2024 - Thessaloniki, Greece
Duration: 3 Jun 20246 Jun 2024

Publication series

Name2024 IFIP Networking Conference, IFIP Networking 2024

Conference

Conference23rd International Federation for Information Processing on Networking Conference, IFIP Networking 2024
Country/TerritoryGreece
CityThessaloniki
Period3/06/246/06/24

Keywords

  • heavy-hitter detection
  • in-network computation
  • programmable switches

All Science Journal Classification (ASJC) codes

  • Safety, Risk, Reliability and Quality
  • Computer Networks and Communications
  • Hardware and Architecture
  • Information Systems and Management

Cite this