Title :
Low contention linearizable counting
Author :
Herlihy, Maurice ; Shavit, Nir ; Waarts, Orli
Author_Institution :
Digital Equipment Corp., Cambridge, MA, USA
Abstract :
The linearizable counting problem requires asynchronous concurrent processes to assign themselves successive values so that the order of the values assigned reflects the real-time order in which they were requested. It is shown that the problem can be solved without funneling all processes through a common memory location. Two new constructions for linearizable counting networks, data structures that solve the linearizable counting problem, are given. The first construction is nonblocking: some process takes a value after O(n) network gates have been traversed. The second construction is wait-free: it guarantees that each process takes a value after it traverses O (wn) gates, where w is a parameter affecting contention. It is shown that in any nonblocking or wait-free linearizable counting network, processes must traverse an average of Ω(n) gates, and so the constructions are close to optimal. A simpler and more efficient network is constructed by giving up the robustness requirements and allowing processes to wait for one another
Keywords :
computational complexity; data structures; parallel algorithms; parallel programming; asynchronous concurrent processes; data structures; linearizable counting networks; network gates; nonblocking construction; real-time order; wait free construction; Computer science; Concurrent computing; Contracts; Counting circuits; Data structures; Hardware; Heart; Robustness; Sorting; Wires;
Conference_Titel :
Foundations of Computer Science, 1991. Proceedings., 32nd Annual Symposium on
Conference_Location :
San Juan
Print_ISBN :
0-8186-2445-0
DOI :
10.1109/SFCS.1991.185415