dc.contributor.author | Alistarh, Dan | |
dc.contributor.author | Censor-Hillel, Keren | |
dc.contributor.author | Shavit, Nir N. | |
dc.date.accessioned | 2014-10-23T17:45:18Z | |
dc.date.available | 2014-10-23T17:45:18Z | |
dc.date.issued | 2014-05 | |
dc.identifier.isbn | 978-1-4503-2710-7 | |
dc.identifier.uri | http://hdl.handle.net/1721.1/91155 | |
dc.description.abstract | Lock-free concurrent algorithms guarantee that some concurrent operation will always make progress in a finite number of steps. Yet programmers prefer to treat concurrent code as if it were wait-free, guaranteeing that all operations always make progress. Unfortunately, designing wait-free algorithms is generally a very complex task, and the resulting algorithms are not always efficient. While obtaining efficient wait-free algorithms has been a long-time goal for the theory community, most non-blocking commercial code is only lock-free.
This paper suggests a simple solution to this problem. We show that, for a large class of lock-free algorithms, under scheduling conditions which approximate those found in commercial hardware architectures, lock-free algorithms behave as if they are wait-free. In other words, programmers can keep on designing simple lock-free algorithms instead of complex wait-free ones, and in practice, they will get wait-free progress.
Our main contribution is a new way of analyzing a general class of lock-free algorithms under a stochastic scheduler. Our analysis relates the individual performance of processes with the global performance of the system using Markov chain lifting between a complex per-process chain and a simpler system progress chain. We show that lock-free algorithms are not only wait-free with probability 1, but that in fact a general subset of lock-free algorithms can be closely bounded in terms of the average number of steps required until an operation completes.
To the best of our knowledge, this is the first attempt to analyze progress conditions, typically stated in relation to a worst case adversary, in a stochastic model capturing their expected asymptotic behavior. | en_US |
dc.language.iso | en_US | |
dc.publisher | Association for Computing Machinery (ACM) | en_US |
dc.relation.isversionof | http://dx.doi.org/10.1145/2591796.2591836 | en_US |
dc.rights | Creative Commons Attribution-Noncommercial-Share Alike | en_US |
dc.rights.uri | http://creativecommons.org/licenses/by-nc-sa/4.0/ | en_US |
dc.source | arXiv | en_US |
dc.title | Are lock-free concurrent algorithms practically wait-free? | en_US |
dc.type | Article | en_US |
dc.identifier.citation | Dan Alistarh, Keren Censor-Hillel, and Nir Shavit. 2014. Are lock-free concurrent algorithms practically wait-free?. In Proceedings of the 46th Annual ACM Symposium on Theory of Computing (STOC '14). ACM, New York, NY, USA, 714-723. | en_US |
dc.contributor.department | Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory | en_US |
dc.contributor.department | Massachusetts Institute of Technology. Department of Electrical Engineering and Computer Science | en_US |
dc.contributor.mitauthor | Alistarh, Dan | en_US |
dc.contributor.mitauthor | Shavit, Nir N. | en_US |
dc.relation.journal | Proceedings of the 46th Annual ACM Symposium on Theory of Computing (STOC '14) | en_US |
dc.eprint.version | Original manuscript | en_US |
dc.type.uri | http://purl.org/eprint/type/ConferencePaper | en_US |
eprint.status | http://purl.org/eprint/status/NonPeerReviewed | en_US |
dspace.orderedauthors | Alistarh, Dan; Censor-Hillel, Keren; Shavit, Nir N. | en_US |
dc.identifier.orcid | https://orcid.org/0000-0002-4552-2414 | |
mit.license | OPEN_ACCESS_POLICY | en_US |
mit.metadata.status | Complete | |