Machine Learning based Flow Classification in DCNs using P4 Switches

This paper deals with classifying flows in data center networks, primarily based on the flows' volume of traffic and duration. Flows are typically classified as long-lived flow or short-lived flow. Long-lived flows throttle the short-lived flows and should be classified at the earliest to selec...

Full description

Saved in:
Bibliographic Details
Published inProceedings - International Conference on Computer Communications and Networks pp. 1 - 10
Main Authors Kamath, Radhakrishna, Sivalingam, Krishna M
Format Conference Proceeding
LanguageEnglish
Published IEEE 01.07.2021
Subjects
Online AccessGet full text
ISSN2637-9430
DOI10.1109/ICCCN52240.2021.9522272

Cover

Abstract This paper deals with classifying flows in data center networks, primarily based on the flows' volume of traffic and duration. Flows are typically classified as long-lived flow or short-lived flow. Long-lived flows throttle the short-lived flows and should be classified at the earliest to select a different path in the network for them. The objectives of the proposed classification scheme are: (i) to support more than two flow classes (three in this paper), (ii) to achieve early classification by observing the first few packets in the flow, (iii) to achieve classification using ML techniques implemented in a programmable data plane switch using the Programming Protocol-independent Packet Processors (P4) language. Our contribution includes an improved hash-and-store algorithm for flow classification. The ML technique considered is Decision Tree, since it can be efficiently implemented in a P4 environment. The techniques have been evaluated using simulation-generated data implemented in a mininet emulator environment and classification accuracy results obtained. Two existing schemes, HashPipe and IdeaFix have also been implemented for comparison. The results show that the proposed scheme can classify a flow within 3 MB of the flow size when we consider more than one feature to classify the flows. This outperforms the existing threshold-based schemes by classifying flows, 3 times faster.
AbstractList This paper deals with classifying flows in data center networks, primarily based on the flows' volume of traffic and duration. Flows are typically classified as long-lived flow or short-lived flow. Long-lived flows throttle the short-lived flows and should be classified at the earliest to select a different path in the network for them. The objectives of the proposed classification scheme are: (i) to support more than two flow classes (three in this paper), (ii) to achieve early classification by observing the first few packets in the flow, (iii) to achieve classification using ML techniques implemented in a programmable data plane switch using the Programming Protocol-independent Packet Processors (P4) language. Our contribution includes an improved hash-and-store algorithm for flow classification. The ML technique considered is Decision Tree, since it can be efficiently implemented in a P4 environment. The techniques have been evaluated using simulation-generated data implemented in a mininet emulator environment and classification accuracy results obtained. Two existing schemes, HashPipe and IdeaFix have also been implemented for comparison. The results show that the proposed scheme can classify a flow within 3 MB of the flow size when we consider more than one feature to classify the flows. This outperforms the existing threshold-based schemes by classifying flows, 3 times faster.
Author Sivalingam, Krishna M
Kamath, Radhakrishna
Author_xml – sequence: 1
  givenname: Radhakrishna
  surname: Kamath
  fullname: Kamath, Radhakrishna
  email: cs18s030@smail.iitm.ac.in
  organization: Indian Institute of Technology Madras,Dept. of Computer Science and Engineering,Chennai,India
– sequence: 2
  givenname: Krishna M
  surname: Sivalingam
  fullname: Sivalingam, Krishna M
  email: skrishnam@cse.iitm.ac.in
  organization: Indian Institute of Technology Madras,Dept. of Computer Science and Engineering,Chennai,India
BookMark eNotj81KAzEURqMo2NY-gQvzAjMmNz-TLCW1WhiroK5LmrljI2NGJiOlb69iV99ZHA58U3KW-oSEXHNWcs7szco5t1YAkpXAgJf2l6GCEzK3leFaK8mhMuyUTECLqrBSsAsyzfmDMWY0kxOyePRhFxPSGv2QYnqnW5-xocuu31PX-ZxjG4MfY59oTHTh1pl-5z_vWdKXfRzDDvMlOW99l3F-3Bl5W969uoeifrpfudu6iFyIsRAKQfnQWia4Ad0qsBo1bwJqK7xRQXGJXAkZGmtha1AIwxtmW1TSowIxI1f_3YiIm68hfvrhsDmeFj-ZDUw-
ContentType Conference Proceeding
DBID 6IE
6IL
CBEJK
RIE
RIL
DOI 10.1109/ICCCN52240.2021.9522272
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Xplore POP ALL
IEEE Xplore All Conference Proceedings
IEEE Electronic Library (IEL)
IEEE Proceedings Order Plans (POP All) 1998-Present
DatabaseTitleList
Database_xml – sequence: 1
  dbid: RIE
  name: IEEE Electronic Library (IEL)
  url: https://proxy.k.utb.cz/login?url=https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
Discipline Engineering
EISBN 9781665412780
166541278X
EISSN 2637-9430
EndPage 10
ExternalDocumentID 9522272
Genre orig-research
GrantInformation_xml – fundername: Research and Development
  funderid: 10.13039/100006190
GroupedDBID 29O
6IE
6IF
6IH
6IK
6IL
6IN
AAJGR
AAWTH
ADZIZ
ALMA_UNASSIGNED_HOLDINGS
BEFXN
BFFAM
BGNUA
BKEBE
BPEOZ
CBEJK
CHZPO
IPLJI
M43
OCL
RIE
RIL
RNS
ID FETCH-LOGICAL-i133t-35e25acf9031826f5296e61dce693a85c514e1534cd992b8e3381d09fe54ae523
IEDL.DBID RIE
IngestDate Wed Aug 27 02:27:37 EDT 2025
IsPeerReviewed false
IsScholarly true
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-i133t-35e25acf9031826f5296e61dce693a85c514e1534cd992b8e3381d09fe54ae523
PageCount 10
ParticipantIDs ieee_primary_9522272
PublicationCentury 2000
PublicationDate 2021-July
PublicationDateYYYYMMDD 2021-07-01
PublicationDate_xml – month: 07
  year: 2021
  text: 2021-July
PublicationDecade 2020
PublicationTitle Proceedings - International Conference on Computer Communications and Networks
PublicationTitleAbbrev ICCCN52240
PublicationYear 2021
Publisher IEEE
Publisher_xml – name: IEEE
SSID ssj0008604
Score 2.2544234
Snippet This paper deals with classifying flows in data center networks, primarily based on the flows' volume of traffic and duration. Flows are typically classified...
SourceID ieee
SourceType Publisher
StartPage 1
SubjectTerms Computational modeling
Datacenter networks
Flow Classification
Hardware
Machine Learning
P4 language
Process control
Program processors
Programmable data plane
Programming
Switches
Training
Title Machine Learning based Flow Classification in DCNs using P4 Switches
URI https://ieeexplore.ieee.org/document/9522272
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV1La8JAEB6sp_bSh5a-2UOPTcxjd82eY8UWFKEVvEmymYi0RKkRob--O5vUPuiht7AkJOyw8-2X_eYbgFuR-KjI-TElhathDCYPyq5yvAAFT9LIZEArkB3JwYQ_TsW0AXe7WhhEtOIzdOnSnuVnS72hX2UdJahy0yTcvW4kq1qtXdaNpMdr_Zbvqc5DHMcjQXhlOGDgu_WjP3qoWAjpH8Lw8-WVcuTF3ZSpq99_-TL-9-uOoP1VrMfGOxg6hgYWJ3DwzWewBb2hlUwiq91U54zAK2P91-WW2baYJBiyMWKLgvXi0ZqRIH7Oxpw9bRcU2XUbJv3753jg1O0TnIUhnqUTCgxEonNF6zaQOZ2wovQzjVKFSSS02SuhSXhcZ0oFaYSGrfqZp3KKEhqCegrNYlngGTBMQh1mKtfd0NxOFnFezoXmSaQMXwn5ObRoPmaryiFjVk_Fxd_Dl7BPMalEr1fQLN82eG2gvUxvbEw_AAPToIk
linkProvider IEEE
linkToHtml http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV1LT8JAEJ4QPKgXH2B8uwePtvSxW7rnIgGFhkRIuJF2OyVEU4yUkPjr3WkrPuLBW7Np02YnO99-3W--AbgVkY2SnB9jUrhqxqDzoNeWhuWg4FHs6wxYCGRDrzfhD1MxrcHdthYGEQvxGZp0WZzlJ0u1pl9lLSmoclMn3B3BORdltdY27_qexSsFl23JVj8IglAQYmkW6Nhm9fCPLioFiHQPYPj5-lI78myu89hU77-cGf_7fYfQ_CrXY6MtEB1BDbNj2P_mNNiAzrAQTSKr_FTnjOArYd2X5YYVjTFJMlREiS0y1gnCFSNJ_JyNOHvaLCi2qyZMuvfjoGdUDRSMhaaeueEKdESkUkkr1_FSOmNFz04UetKNfKH0bgl1yuMqkdKJfdR81U4smVKcUFPUE6hnywxPgWHkKjeRqWq7-nYyibNSLhSPfKkZi8vPoEHzMXstPTJm1VSc_z18A7u98XAwG_TDxwvYo_iUEthLqOdva7zSQJ_H10V8PwCfbKPW
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=Proceedings+-+International+Conference+on+Computer+Communications+and+Networks&rft.atitle=Machine+Learning+based+Flow+Classification+in+DCNs+using+P4+Switches&rft.au=Kamath%2C+Radhakrishna&rft.au=Sivalingam%2C+Krishna+M&rft.date=2021-07-01&rft.pub=IEEE&rft.eissn=2637-9430&rft.spage=1&rft.epage=10&rft_id=info:doi/10.1109%2FICCCN52240.2021.9522272&rft.externalDocID=9522272