New directions in traffic measurement and accounting

被引:253
作者
Estan, C [1 ]
Varghese, G [1 ]
机构
[1] Univ Calif San Diego, Dept Comp Sci & Engn, La Jolla, CA 92093 USA
关键词
network traffic measurement; usage based accounting; scalability; on-line algorithms; identifying large flows;
D O I
10.1145/964725.633056
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Accurate network traffic measurement is required for accounting, bandwidth provisioning and detecting DoS attacks. These applications see the traffic as a collection of flows they need to measure. As link speeds and the number of flows increase, keeping a counter for each flow is too expensive (using SRAM) or slow (using DRAM). The current state-of-the-art methods (Cisco's sampled NetFlow) which log periodically sampled packets are slow, inaccurate and resource-intensive. Previous work showed that at different granularities a small number of "heavy hitters" accounts for a large share of traffic. Our paper introduces a paradigm shift for measurement by concentrating only on large flows - those above some threshold such as 0.1% of the link capacity. We propose two novel and scalable algorithms for identifying the large flows: sample and hold and multistage filters, which take a constant number of memory references per packet and use a small amount of memory. If M is the available memory, we show analytically that the errors of our new algorithms are proportional to 1/M, by contrast, the error of an algorithm based on classical sampling is proportional to 1/rootM, thus providing much less accuracy for the same amount of memory. We also describe further optimizations such as early removal and conservative update that further improve the accuracy of our algorithms, as measured on real traffic traces, by an order of magnitude. Our schemes allow a new form of accounting called threshold accounting in which only flows above a threshold are charged by usage while the rest are charged a fixed fee. Threshold accounting generalizes usage-based and duration based pricing.
引用
收藏
页码:323 / 336
页数:14
相关论文
共 20 条
[1]  
ALTMAN J, 2001, IEEE INFOCOM APR
[2]  
BLOOM B, 1970, COMM ACM JUL, V13
[3]  
Brownlee N., 1999, TRAFFIC FLOW MEASURE
[4]  
DUFFIELD N, 2000, ACM SIGCOMM AUG
[5]  
DUFFIELD N, 2001, SIGCOMM INT MEAS WOR
[6]  
ESTAN C, 2002, 699 UCSD CSE
[7]  
FANG M, 1998, VLDB AUG
[8]  
FANG W, 1999, IEEE GLOBECOM DEC
[9]  
FELDMANN A, 2000, ACM SIGCOMM AUG
[10]  
FENG W, 2001, IEEE INFOCOM APR