Hyper-Compact Virtual Estimators for Big Network Data Based on Register Sharing
Qingjun Xiao, Shigang Chen, Min Chen et al. · ACM SIGMETRICS International Conference on Measurement and Modeling of Computer Systems (SIGMETRICS) · 2015
Cardinality estimation over big network data consisting of numerous flows is a fundamental problem with many practical applications. Traditionally the research on this problem focused on using a small amount of memory to estimate each flow's cardinality from a large range (up to $10^9$). However, although the memory needed for each flow has been greatly compressed, when there is an extremely large number of flows, the overall memory demand can still be very high, exceeding the availability under some important scenarios, such as implementing online measurement modules in network processors using only on-chip cache memory. In this paper, instead of allocating a separated data structure (called estimator) for each flow, we take a different path by viewing all the flows together as a whole: Each flow is allocated with a virtual estimator, and these virtual estimators share a common memory space. We discover that sharing at the register (multi-bit) level is superior than sharing at the bit level. We propose a framework of virtual estimators that allows us to apply the idea of sharing to an array of cardinality estimation solutions, achieving far better memory efficiency than the best existing work. Our experiment shows that the new solution can work in a tight memory space of less than 1 bit per flow or even one tenth of a bit per flow --- a quest that has never been realized before.
Cited by 57 works. doi:10.1145/2745844.2745870
Authors
References
- Probabilistic counting algorithms for data base applications
- New directions in traffic measurement and accounting
- Vigilante
- A linear-time probabilistic counting algorithm for database applications
- New directions in traffic measurement and accounting
- Monitoring and early warning for internet worms
- Counting Distinct Elements in a Data Stream
- HyperLogLog: the analysis of a near-optimal cardinality estimation algorithm
- An Improved Data Stream Summary: The Count-Min Sketch and Its Applications
- Loglog Counting of Large Cardinalities