Scalable statistics counters
Dave Dice, Yossi Lev, Mark Moir · ACM Symposium on Parallelism in Algorithms and Architectures (SPAA) · 2013
Statistics counters are important for purposes such as detecting excessively high rates of various system events, or for mechanisms that adapt based on event frequency. As systems grow and become increasingly NUMA, commonly used naive counters impose scalability bottlenecks and/or such inaccuracy that they are not useful. We present both precise and statistical (probabilistic) counters that are nonblocking and provide dramatically better scalability and accuracy properties. Crucially, these counters are competitive with the naive ones even when contention is low.
Cited by 17 works. doi:10.1145/2486159.2486182
Authors
References
- Counting large numbers of events in small registers
- Approximate counting: A detailed analysis
- Xorshift RNGs
- Adaptive backoff synchronization techniques
- Hierarchical backoff locks for nonuniform communication architectures
- Mostly lock-free malloc
- Lock cohorting
- CBTree: A Practical Concurrent Self-Adjusting Search Tree
- Approximate Counting with a Floating-Point Counter
- Lightweight parallel accumulators using C++ templates