BeauCoup: Answering Many Network Traffic Queries, One Memory Update at a Time
BeauCoup: Answering Many Network Traffic Queries, One Memory Update at a Time
复制标题
DOI:
10.1145/3387514.3405865
复制
发表时间:
2020-07
期刊:
影响因子:
--
通讯作者:
Xiaoqi Chen;Shir Landau Feibish;M. Braverman;J. Rexford
中科院分区:
文献类型:
--
作者:
Xiaoqi Chen;Shir Landau Feibish;M. Braverman;J. Rexford
Network administrators constantly monitor network traffic for congestion and attacks. They need to perform a large number of measurements on the traffic simultaneously, to detect different types of anomalies such as heavy hitters or super-spreaders. Existing techniques often focus on a single statistic (e.g., traffic volume) or traffic attribute (e.g., destination IP). However, performing numerous heterogeneous measurements within the constrained memory architecture of modern network devices poses significant challenges, due to the limited number of memory accesses allowed per packet. We propose BeauCoup, a system based on the coupon collector problem, that supports multiple distinct counting queries simultaneously while making only a small constant number of memory accesses per packet. We implement BeauCoup on PISA commodity programmable switches, satisfying the strict memory size and access constraints while using a moderate portion of other data-plane hardware resources. Evaluations show BeauCoup achieves the same accuracy as other sketch-based or sampling-based solutions using 4x fewer memory access.