pHeavy: Predicting Heavy Flows in the Programmable Data Plane
- 5 July 2021
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Network and Service Management
- Vol. 18 (4) , 4353-4364
Abstract
Since heavy flows account for a significant fraction of network traffic, being able to predict heavy flows has benefited many network management applications for mitigating link congestion, scheduling of network capacity, exposing network attacks and so on. Existing machine learning based predictors are largely implemented on the control plane of Software Defined Networking (SDN) paradigm. As a result, frequent communication between the control and data planes can cause unnecessary overhead and additional delay in decision making. In this paper, we present pHeavy , a machine learning based scheme for predicting heavy flows directly on the programmable data plane, thus eliminating network overhead and latency to SDN controller. Considering the scarce memory and limited computation capability in the programmable data plane, pHeavy includes a packet processing pipeline which deploys pre-trained decision tree models for in-network prediction. We have implemented pHeavy in both bmv2 software switch and P4 hardware switch (i.e., Barefoot Tofino). Evaluation results demonstrate that pHeavy has achieved 85% and 98% accuracy after receiving the first 5 and 20 packets of a flow respectively, while being able to reduce the size of decision tree by 5.4x on average. More importantly, pHeavy can predict heavy flows at line rate on the P4 hardware switch.Keywords
Funding Information
- Chinese National Research Fund (61772235, 61872239)
- Natural Science Foundation of Guangdong (2020A1515010771)
- Science and Technology Program of Guangzhou (202002030372)
- the UK Engineering and Physical Sciences Research Council (EP/P004407/2, EP/P004024/1)
- InnovateUK (106199-47198)
- Guangdong Key Lab of AI and Multi-modal Data Processing; BNU-UIC Institute of Artificial Intelligence and Future Networks funded by Beijing Normal University (Zhuhai) and AIDS Research Hub
This publication has 24 references indexed in Scilit:
- An Efficient Elephant Flow Detection with Cost-Sensitive in SDN2015
- On the importance of the validation technique for classification with imbalanced datasets: Addressing covariate shift when data is skewedInformation Sciences, 2014
- Assessment Metrics for Imbalanced Learning2013
- Application traffic classification at the early stage by characterizing application roundsInformation Sciences, 2013
- DevoFlow2011
- Quantifying the accuracy of the ground truth associated with Internet traffic tracesComputer Networks, 2011
- GTACM SIGCOMM Computer Communication Review, 2009
- Characterization of network-wide anomalies in traffic flows2004
- Building a better NetFlowACM SIGCOMM Computer Communication Review, 2004
- Deriving traffic demands for operational IP networks: methodology and experienceIEEE/ACM Transactions on Networking, 2001