Counting networks
James Aspnes, Maurice P. Herlihy, Nir Shavit · Journal of the ACM · 1994
Many fundamental multi-processor coordination problems can be expressed as counting problems : Processes must cooperate to assign successive values from a given range, such as addresses in memory or destinations on an interconnection network. Conventional solutions to these problems perform poorly because of synchronization bottlenecks and high memory contention. Motivated by observations on the behavior of sorting networks, we offer a new approach to solving such problems, by introducing counting networks , a new class of networks that can be used to count. We give two counting network constructions, one of depth log n (1 + log n )/2 using n log (1 + log n )/4 “gates,” and a second of depth log 2 n using n log 2 n /2 gates. These networks avoid the sequential bottlenecks inherent to earlier solutions and substantially lower the memory contention. Finally, to show that counting networks are not merely mathematical creatures, we provide experimental evidence that they outperform conventional synchronization techniques under a variety of circumstances.
Cited by 163 works. doi:10.1145/185675.185815 Open-access PDF
Authors
References
- Introduction to Algorithms
- Sorting networks and their applications
- The NYU Ultracomputer—Designing an MIMD Shared Memory Parallel Computer
- The IBM Research Parallel Processor Prototype (RP3): Introduction and Architecture.
- An 0(n log n) sorting network
- Algorithms for scalable synchronization on shared-memory multiprocessors
- Hierarchical correctness proofs for distributed algorithms
- Dynamic decentralized cache schemes for mimd parallel processors
- Basic Techniques for the Efficient Coordination of Very Large Numbers of Cooperating Sequential Processors
- Proceedings of the 1999 International Conference on Parallel Processing