An adaptive collect algorithm with applications

Distributed Computing - Tập 15 - Trang 87-96 - 2002
Hagit Attiya1, Arie Fouren1, Eli Gafni2
1Department of Computer Science, The Technion, Haifa 32000, Israel (e-mail: {hagit,leonf}@cs.technion.ac.il) , , IL
2Computer Science Department, UCLA (e-mail: [email protected]) , , US

Tóm tắt

In a shared-memory distributed system, n independent asynchronous processes communicate by reading and writing to shared variables. An algorithm is adaptive (to total contention) if its step complexity depends only on the actual number, k, of active processes in the execution; this number is unknown in advance and may change in different executions of the algorithm. Adaptive algorithms are inherently wait-free, providing fault-tolerance in the presence of an arbitrary number of crash failures and different processes' speed. A wait-free adaptive collect algorithm with O(k) step complexity is presented, together with its applications in wait-free adaptive alg orithms for atomic snapshots, immediate snapshots and renaming.