Computer Sciences Dept.

Cristian Estan

Thumbnail portrait
The Power of Slicing in Internet Flow Measurement
Ramana Rao Kompella, Cristian Estan
UCSD technical report CS2005-0822, May 2005

Flow measurement evolved into the primary method for measuring the composition of Internet traffic. Large ISPs and small networks use it to track dominant applications, dominant users, and traffic matrices. Cisco's NetFlow is a widely deployed flow measurement solution that uses a configurable static sampling rate to control processor and memory usage on the router and the amount of reporting traffic generated. Proposed enhancements to the basic sampled NetFlow solve various problems. For example, smart sampling reduces the overhead of reporting and storing the flow records generated by NetFlow by sampling them with probability proportional to their byte counts. Adaptive NetFlow limits memory and CPU consumption at the router by dynamically adapting the sampling rate used by NetFlow.

In this paper we propose ``flow slices'', a flow measurement solution that can be deployed through a software update at routers and traffic analysis workstations. Flow slices borrows ideas from smart sampling and adaptive NetFlow, but it introduces significant new ideas too: a flow measurement algorithm related to sample and hold; new estimators for the number of active flows; basing smart sampling decisions on multiple factors; separating sampling rate adaptation from measurement bins; controlling the three resource bottlenecks at the router (CPU, memory, reporting bandwidth) using independent ``tuning knobs''. The resulting solution has smaller resource requirements than current proposals and it enables more accurate traffic analysis results. We provide theoretical analyses of the variances of the estimators based on the flow slices and experimental comparisons with other flow measurement solutions.

Paper in PDF and Postscript. The conference version of this paper has a better experimental evaluation section.

Computer Sciences | UW Home