Efficient Measurement on Programmable Switches Using Probabilistic Recirculation

被引:60
作者
Ben-Basat, Ran [1 ]
Chen, Xiaoqi [2 ]
Einziger, Gil [3 ]
Rottenstreich, Ori [1 ]
机构
[1] Technion, Haifa, Israel
[2] Princeton Univ, Princeton, NJ 08544 USA
[3] Nokia Bell Labs, Holmdel, NJ USA
来源
2018 IEEE 26TH INTERNATIONAL CONFERENCE ON NETWORK PROTOCOLS (ICNP) | 2018年
关键词
D O I
10.1109/ICNP.2018.00047
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Programmable network switches promise flexibility and high throughput, enabling applications such as load balancing and traffic engineering. Network measurement is a fundamental building block for such applications, including tasks such as the identification of heavy hitters (largest flows) or the detection of traffic changes. However, high-throughput packet processing architectures place certain limitations on the programming model, such as restricted branching, limited capability for memory access, and a limited number of processing stages. These limitations restrict the types of measurement algorithms that can run on programmable switches. In this paper, we focus on the RMT programmable high-throughput switch architecture, and carefully examine its constraints on designing measurement algorithms. We demonstrate our findings while solving the heavy hitter problem. We introduce PRECISION, an algorithm that uses Probabilistic Recirculation to find top flows on a programmable switch. By recirculating a small fraction of packets, PRECISION simplifies the access to stateful memory to conform with RMT limitations and achieves higher accuracy than previous heavy hitter detection algorithms that avoid recirculation. We also analyze the effect of each architectural constraint on the measurement accuracy and provide insights for measurement algorithm designers.
引用
收藏
页码:313 / 323
页数:11
相关论文
共 30 条
[1]  
ARISTA NETWORKS, AR 7050X SWIT ARCH A
[2]  
Ben Basat R, 2017, IEEE INFOCOM SER
[3]  
Benson A., 2010, P 10 ACM SIGCOMM C I, P267, DOI [DOI 10.1145/1879141.1879175, 10.1145/1879141.1879175, 10.1145/1879141.1879175.5]
[4]  
Benson Theophilus, 2011, P CONEXT
[5]   Programming Protocol-Independent Packet Processors [J].
Bosshart, Pat ;
Daly, Dan ;
Gibb, Glen ;
Izzard, Martin ;
McKeown, Nick ;
Rexford, Jennifer ;
Schlesinger, Cole ;
Talayco, Dan ;
Vahdat, Amin ;
Varghese, George ;
Walker, David .
ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2014, 44 (03) :87-95
[6]   Forwarding Metamorphosis: Fast Programmable Match-Action Processing in Hardware for SDN [J].
Bosshart, Pat ;
Gibb, Glen ;
Kim, Hun-Seok ;
Varghese, George ;
McKeown, Nick ;
Izzard, Martin ;
Mujica, Fernando ;
Horowitz, Mark .
ACM SIGCOMM COMPUTER COMMUNICATION REVIEW, 2013, 43 (04) :99-110
[7]   Finding frequent items in data streams [J].
Charikar, M ;
Chen, K ;
Farach-Colton, M .
THEORETICAL COMPUTER SCIENCE, 2004, 312 (01) :3-15
[8]   Counter Tree: A Scalable Counter Architecture for Per-Flow Traffic Measurement [J].
Chen, Min ;
Chen, Shigang .
2015 IEEE 23RD INTERNATIONAL CONFERENCE ON NETWORK PROTOCOLS (ICNP), 2015, :111-122
[9]   dRMT: Disaggregated Programmable Switching [J].
Chole, Sharad ;
Fingerhut, Andy ;
Ma, Sha ;
Sivaraman, Anirudh ;
Vargaftik, Shay ;
Berger, Alon ;
Mendelson, Gal ;
Alizadeh, Mohammad ;
Chuang, Shang-Tse ;
Keslassy, Isaac ;
Orda, Ariel ;
Edsall, Tom .
SIGCOMM '17: PROCEEDINGS OF THE 2017 CONFERENCE OF THE ACM SPECIAL INTEREST GROUP ON DATA COMMUNICATION, 2017, :1-14
[10]   An improved data stream summary: the count-min sketch and its applications [J].
Cormode, G ;
Muthukrishnan, S .
JOURNAL OF ALGORITHMS-COGNITION INFORMATICS AND LOGIC, 2005, 55 (01) :58-75