Lock-Free algorithms under stochastic schedulers

Alistarh D-A, Sauerwald T, Vojnović M. 2015. Lock-Free algorithms under stochastic schedulers. Proceedings of the 2015 ACM Symposium on Principles of Distributed Computing. PODC: Principles of Distributed Computing vol. 2015–July, 251–260.

Download (ext.)

Conference Paper | Published | English

Scopus indexed
Author
Alistarh, Dan-AdrianISTA ; Sauerwald, Thomas; Vojnović, Milan
Abstract
In this work, we consider the following random process, mo- Tivated by the analysis of lock-free concurrent algorithms under high memory contention. In each round, a new scheduling step is allocated to one of n threads, according to a distribution p = (p1; p2; : : : ; pn), where thread i is scheduled with probability pi. When some thread first reaches a set threshold of executed steps, it registers a win, completing its current operation, and resets its step count to 1. At the same time, threads whose step count was close to the threshold also get reset because of the win, but to 0 steps, being penalized for almost winning. We are interested in two questions: how often does some thread complete an operation (system latency), and how often does a specific thread complete an operation (individual latency)? We provide asymptotically tight bounds for the system and individual latency of this general concurrency pattern, for arbitrary scheduling distributions p. Surprisingly, a sim- ple characterization exists: in expectation, the system will complete a new operation every Θ(1/p 2) steps, while thread i will complete a new operation every Θ(1/2=p i ) steps. The proof is interesting in its own right, as it requires a careful analysis of how the higher norms of the vector p inuence the thread step counts and latencies in this random process. Our result offers a simple connection between the scheduling distribution and the average performance of concurrent algorithms, which has several applications.
Publishing Year
Date Published
2015-07-21
Proceedings Title
Proceedings of the 2015 ACM Symposium on Principles of Distributed Computing
Publisher
Association for Computing Machinery
Volume
2015-July
Page
251 - 260
Conference
PODC: Principles of Distributed Computing
Conference Location
New York, NY, United States
Conference Date
2015-07-21 – 2015-7-23
IST-REx-ID
782

Cite this

Alistarh D-A, Sauerwald T, Vojnović M. Lock-Free algorithms under stochastic schedulers. In: Proceedings of the 2015 ACM Symposium on Principles of Distributed Computing. Vol 2015-July. Association for Computing Machinery; 2015:251-260. doi:10.1145/2767386.2767430
Alistarh, D.-A., Sauerwald, T., & Vojnović, M. (2015). Lock-Free algorithms under stochastic schedulers. In Proceedings of the 2015 ACM Symposium on Principles of Distributed Computing (Vol. 2015–July, pp. 251–260). New York, NY, United States: Association for Computing Machinery. https://doi.org/10.1145/2767386.2767430
Alistarh, Dan-Adrian, Thomas Sauerwald, and Milan Vojnović. “Lock-Free Algorithms under Stochastic Schedulers.” In Proceedings of the 2015 ACM Symposium on Principles of Distributed Computing, 2015–July:251–60. Association for Computing Machinery, 2015. https://doi.org/10.1145/2767386.2767430.
D.-A. Alistarh, T. Sauerwald, and M. Vojnović, “Lock-Free algorithms under stochastic schedulers,” in Proceedings of the 2015 ACM Symposium on Principles of Distributed Computing, New York, NY, United States, 2015, vol. 2015–July, pp. 251–260.
Alistarh D-A, Sauerwald T, Vojnović M. 2015. Lock-Free algorithms under stochastic schedulers. Proceedings of the 2015 ACM Symposium on Principles of Distributed Computing. PODC: Principles of Distributed Computing vol. 2015–July, 251–260.
Alistarh, Dan-Adrian, et al. “Lock-Free Algorithms under Stochastic Schedulers.” Proceedings of the 2015 ACM Symposium on Principles of Distributed Computing, vol. 2015–July, Association for Computing Machinery, 2015, pp. 251–60, doi:10.1145/2767386.2767430.
All files available under the following license(s):
Copyright Statement:
This Item is protected by copyright and/or related rights. [...]

Link(s) to Main File(s)
Access Level
OA Open Access

Export

Marked Publications

Open Data ISTA Research Explorer

Search this title in

Google Scholar