Line-Rate Network Applications in P4 Switches

碩士 === 國立交通大學 === 網路工程研究所 === 107 === This thesis designs and develops two P4 (Programming Protocol-Independent Packet Processor) applications in commercial P4 switches. The first P4 application is packet aggregation and disaggregation. We propose a novel approach that utilizes the header manipulati...

Full description

Bibliographic Details
Main Authors: Huang, Ching-Chun, 黃靜君
Other Authors: Lin, Yi-Bing
Format: Others
Language:en_US
Published: 2019
Online Access:http://ndltd.ncl.edu.tw/handle/62rgew
id ndltd-TW-107NCTU5726030
record_format oai_dc
spelling ndltd-TW-107NCTU57260302019-11-26T05:16:45Z http://ndltd.ncl.edu.tw/handle/62rgew Line-Rate Network Applications in P4 Switches 在P4交換機實作Line-Rate網路應用 Huang, Ching-Chun 黃靜君 碩士 國立交通大學 網路工程研究所 107 This thesis designs and develops two P4 (Programming Protocol-Independent Packet Processor) applications in commercial P4 switches. The first P4 application is packet aggregation and disaggregation. We propose a novel approach that utilizes the header manipulation of the P4 switch to aggregate small packets into large packets and disaggregate large packets back into small packets. Our study indicates that packet aggregation can be achieved in a P4 switch with its line rate. On the other hand, to disaggregate a packet that combines N IoT messages, the processing time is about the same as processing N individual IoT messages. We further propose to provide a small buffer in the P4 switch to significantly reduce the processing power for disaggregating a packet. Another P4 application is heavy hitter detection, which is considered as an important mechanism to identify outliers in network traffic. This thesis develops HashPipe as a soft computing application in a real P4 switch and shows that this implementation is not trivial. We describe how to smartly utilize the atoms of the Banzai machine to implement HashPipe in the P4 switch. Then we propose an enhanced HashPipe algorithm that improves the accuracy of the original HashPipe by up to 80%. Lin, Yi-Bing Tsai, Shi-Chun 林一平 蔡錫鈞 2019 學位論文 ; thesis 64 en_US
collection NDLTD
language en_US
format Others
sources NDLTD
description 碩士 === 國立交通大學 === 網路工程研究所 === 107 === This thesis designs and develops two P4 (Programming Protocol-Independent Packet Processor) applications in commercial P4 switches. The first P4 application is packet aggregation and disaggregation. We propose a novel approach that utilizes the header manipulation of the P4 switch to aggregate small packets into large packets and disaggregate large packets back into small packets. Our study indicates that packet aggregation can be achieved in a P4 switch with its line rate. On the other hand, to disaggregate a packet that combines N IoT messages, the processing time is about the same as processing N individual IoT messages. We further propose to provide a small buffer in the P4 switch to significantly reduce the processing power for disaggregating a packet. Another P4 application is heavy hitter detection, which is considered as an important mechanism to identify outliers in network traffic. This thesis develops HashPipe as a soft computing application in a real P4 switch and shows that this implementation is not trivial. We describe how to smartly utilize the atoms of the Banzai machine to implement HashPipe in the P4 switch. Then we propose an enhanced HashPipe algorithm that improves the accuracy of the original HashPipe by up to 80%.
author2 Lin, Yi-Bing
author_facet Lin, Yi-Bing
Huang, Ching-Chun
黃靜君
author Huang, Ching-Chun
黃靜君
spellingShingle Huang, Ching-Chun
黃靜君
Line-Rate Network Applications in P4 Switches
author_sort Huang, Ching-Chun
title Line-Rate Network Applications in P4 Switches
title_short Line-Rate Network Applications in P4 Switches
title_full Line-Rate Network Applications in P4 Switches
title_fullStr Line-Rate Network Applications in P4 Switches
title_full_unstemmed Line-Rate Network Applications in P4 Switches
title_sort line-rate network applications in p4 switches
publishDate 2019
url http://ndltd.ncl.edu.tw/handle/62rgew
work_keys_str_mv AT huangchingchun lineratenetworkapplicationsinp4switches
AT huángjìngjūn lineratenetworkapplicationsinp4switches
AT huangchingchun zàip4jiāohuànjīshízuòlineratewǎnglùyīngyòng
AT huángjìngjūn zàip4jiāohuànjīshízuòlineratewǎnglùyīngyòng
_version_ 1719296128261816320