The evaluation of network traffic entropy is very useful for management purposes, since it helps to keep track of changes in network flow distribution. Nowadays, network traffic entropy is usually estimated in centralized monitoring collectors, which require a significant amount of information to be retrieved from switches. The advent of programmable data planes in Software-Defined Networks helps mitigate this issue, opening the door to the possibility of estimating entropy directly in the switches’ data plane. Unfortunately, the most widelyadopted programming language used to program the data plane, called P4, lacks supporting many arithmetic operations such as logarithm and exponential function computation, which are necessary for entropy estimation. In this paper we propose two new algorithms, called P4Log and P4Exp, to fill this gap: these algorithms can estimate logarithms and exponential functions with a given precision by only using P4-supported arithmetic operations. Additionally, we leverage them to propose a novel strategy, called P4Entropy, to estimate traffic entropy entirely in the switch data plane. Results show that P4Entropy has comparable accuracy as an existing solution but without (i) constraining the number of packets in an observation interval and (ii) requiring the usage of TCAM, which is a scarce resource.

Ding, D., Savi, M., Siracusa, D. (2020). Estimating Logarithmic and Exponential Functions to Track Network Traffic Entropy in P4. In IEEE/IFIP Network Operations and Management Symposium (NOMS) (pp.1-9). Institute of Electrical and Electronics Engineers Inc. [10.1109/NOMS47738.2020.9110257].

Estimating Logarithmic and Exponential Functions to Track Network Traffic Entropy in P4

Savi, Marco;
2020

Abstract

The evaluation of network traffic entropy is very useful for management purposes, since it helps to keep track of changes in network flow distribution. Nowadays, network traffic entropy is usually estimated in centralized monitoring collectors, which require a significant amount of information to be retrieved from switches. The advent of programmable data planes in Software-Defined Networks helps mitigate this issue, opening the door to the possibility of estimating entropy directly in the switches’ data plane. Unfortunately, the most widelyadopted programming language used to program the data plane, called P4, lacks supporting many arithmetic operations such as logarithm and exponential function computation, which are necessary for entropy estimation. In this paper we propose two new algorithms, called P4Log and P4Exp, to fill this gap: these algorithms can estimate logarithms and exponential functions with a given precision by only using P4-supported arithmetic operations. Additionally, we leverage them to propose a novel strategy, called P4Entropy, to estimate traffic entropy entirely in the switch data plane. Results show that P4Entropy has comparable accuracy as an existing solution but without (i) constraining the number of packets in an observation interval and (ii) requiring the usage of TCAM, which is a scarce resource.
paper
Network traffic entropy; Programmable dataplanes; P4; Network monitoring
English
IEEE/IFIP Network Operations and Management Symposium (NOMS)
2020
IEEE/IFIP Network Operations and Management Symposium (NOMS)
9781728149738
2020
1
9
9110257
https://ieeexplore.ieee.org/document/9110257
open
Ding, D., Savi, M., Siracusa, D. (2020). Estimating Logarithmic and Exponential Functions to Track Network Traffic Entropy in P4. In IEEE/IFIP Network Operations and Management Symposium (NOMS) (pp.1-9). Institute of Electrical and Electronics Engineers Inc. [10.1109/NOMS47738.2020.9110257].
File in questo prodotto:
File Dimensione Formato  
2020_NOMS_Log_Exp_Entropy_P4.pdf

accesso aperto

Tipologia di allegato: Author’s Accepted Manuscript, AAM (Post-print)
Dimensione 392.16 kB
Formato Adobe PDF
392.16 kB Adobe PDF Visualizza/Apri

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/10281/273149
Citazioni
  • Scopus 29
  • ???jsp.display-item.citation.isi??? 19
Social impact