{"title":"基于草图熵估计的可编程数据平面asic网络流量分析","authors":"Yu-Kuen Lai, Ku-Yeh Shih, Po-Yu Huang, Ho-Ping Lee, Yu-Jau Lin, Te-Lung Liu, J. Chen","doi":"10.1109/ANCS.2019.8901888","DOIUrl":null,"url":null,"abstract":"Entropy can be used as a measure of concentration and dispersion on a particular header space for network traffic analysis. This work presents the implementation of a sketch-based entropy estimation on programmable data plane ASICs using P4. The estimation scheme, proposed by Clifford and Cosma, leverages the random projection of a maximally skewed stable distribution. On top of a Barefoot Tofino switch, this work transforms the complex computations of the random projection into fast lookup over pre-computed tables in the match-action pipeline. Performance is evaluated based on real-world network traffic traces. Minimum-sized Ethernet frames are generated by hardware traffic generator with pre-defined distributions. The system can estimate the entropy of network traffic accurately at full wire-speed of 100 Gbps throughput.","PeriodicalId":405320,"journal":{"name":"2019 ACM/IEEE Symposium on Architectures for Networking and Communications Systems (ANCS)","volume":"12 3 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2019-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"6","resultStr":"{\"title\":\"Sketch-based Entropy Estimation for Network Traffic Analysis using Programmable Data Plane ASICs\",\"authors\":\"Yu-Kuen Lai, Ku-Yeh Shih, Po-Yu Huang, Ho-Ping Lee, Yu-Jau Lin, Te-Lung Liu, J. Chen\",\"doi\":\"10.1109/ANCS.2019.8901888\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"Entropy can be used as a measure of concentration and dispersion on a particular header space for network traffic analysis. This work presents the implementation of a sketch-based entropy estimation on programmable data plane ASICs using P4. The estimation scheme, proposed by Clifford and Cosma, leverages the random projection of a maximally skewed stable distribution. On top of a Barefoot Tofino switch, this work transforms the complex computations of the random projection into fast lookup over pre-computed tables in the match-action pipeline. Performance is evaluated based on real-world network traffic traces. Minimum-sized Ethernet frames are generated by hardware traffic generator with pre-defined distributions. The system can estimate the entropy of network traffic accurately at full wire-speed of 100 Gbps throughput.\",\"PeriodicalId\":405320,\"journal\":{\"name\":\"2019 ACM/IEEE Symposium on Architectures for Networking and Communications Systems (ANCS)\",\"volume\":\"12 3 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2019-09-01\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"6\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2019 ACM/IEEE Symposium on Architectures for Networking and Communications Systems (ANCS)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/ANCS.2019.8901888\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2019 ACM/IEEE Symposium on Architectures for Networking and Communications Systems (ANCS)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/ANCS.2019.8901888","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
Sketch-based Entropy Estimation for Network Traffic Analysis using Programmable Data Plane ASICs
Entropy can be used as a measure of concentration and dispersion on a particular header space for network traffic analysis. This work presents the implementation of a sketch-based entropy estimation on programmable data plane ASICs using P4. The estimation scheme, proposed by Clifford and Cosma, leverages the random projection of a maximally skewed stable distribution. On top of a Barefoot Tofino switch, this work transforms the complex computations of the random projection into fast lookup over pre-computed tables in the match-action pipeline. Performance is evaluated based on real-world network traffic traces. Minimum-sized Ethernet frames are generated by hardware traffic generator with pre-defined distributions. The system can estimate the entropy of network traffic accurately at full wire-speed of 100 Gbps throughput.