Accurate per-flow monitoring is critical for precise network diagnosis, performance analysis, and network operation and management in general. However, the limited amount of memory available on modern programmable devices and the large number of active flows force practitioners to monitor only the most relevant flows with approximate data structures, limiting their view of network traffic. We argue that, due to the skewed nature of network traffic, such data structures are, in practice, heavily underutilized, i.e. sparse, thus wasting a significant amount of memory. This paper proposes a Sparse Approximate Data Structure (SPADA) representation that leverages sparsity to reduce the memory footprint of per-flow monitoring systems in the data plane while preserving their original accuracy. SPADA representation can be integrated into a generic per-flow monitoring system and is suitable for several measurement use cases. We prototype SPADA in P4 for a commercial FPGA target and test our approach with a custom simulator that we make publicly available, on four real network traces over three different monitoring tasks. Our results show that SPADA achieves 2× to 11× memory footprint reduction with respect to the state-of-the-art while maintaining the same accuracy, or even improving it.

SPADA: A Sparse Approximate Data Structure Representation for Data Plane Per-flow Monitoring / Monterubbiano, Andrea; Azorin, Raphael; Castellano, Gabriele; Gallo, Massimo; Pontarelli, Salvatore; Rossi, Dario. - In: THE PROCEEDINGS OF THE ACM ON NETWORKING. - ISSN 2834-5509. - (2023). [10.1145/3629149]

SPADA: A Sparse Approximate Data Structure Representation for Data Plane Per-flow Monitoring

Andrea Monterubbiano;Massimo Gallo;Salvatore Pontarelli;
2023

Abstract

Accurate per-flow monitoring is critical for precise network diagnosis, performance analysis, and network operation and management in general. However, the limited amount of memory available on modern programmable devices and the large number of active flows force practitioners to monitor only the most relevant flows with approximate data structures, limiting their view of network traffic. We argue that, due to the skewed nature of network traffic, such data structures are, in practice, heavily underutilized, i.e. sparse, thus wasting a significant amount of memory. This paper proposes a Sparse Approximate Data Structure (SPADA) representation that leverages sparsity to reduce the memory footprint of per-flow monitoring systems in the data plane while preserving their original accuracy. SPADA representation can be integrated into a generic per-flow monitoring system and is suitable for several measurement use cases. We prototype SPADA in P4 for a commercial FPGA target and test our approach with a custom simulator that we make publicly available, on four real network traces over three different monitoring tasks. Our results show that SPADA achieves 2× to 11× memory footprint reduction with respect to the state-of-the-art while maintaining the same accuracy, or even improving it.
2023
approximate data structures, network monitoring
01 Pubblicazione su rivista::01a Articolo in rivista
SPADA: A Sparse Approximate Data Structure Representation for Data Plane Per-flow Monitoring / Monterubbiano, Andrea; Azorin, Raphael; Castellano, Gabriele; Gallo, Massimo; Pontarelli, Salvatore; Rossi, Dario. - In: THE PROCEEDINGS OF THE ACM ON NETWORKING. - ISSN 2834-5509. - (2023). [10.1145/3629149]
File allegati a questo prodotto
Non ci sono file associati a questo prodotto.

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11573/1694203
 Attenzione

Attenzione! I dati visualizzati non sono stati sottoposti a validazione da parte dell'ateneo

Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus ND
  • ???jsp.display-item.citation.isi??? ND
social impact