Bounds for mutual exclusion with only processor consistency

7Citations
Citations of this article
2Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Most weak memory consistency models are incapable of supporting a solution to mutual exclusion using only read and write operations to shared variables. Processor Consistency–Goodman’s version (PC-G) is an exception. Ahamad et al.[1] showed that Peterson’s mutual exclusion algorithm is correct for PC-G, but Lamport’s bakery algorithm is not. In this paper, we derive a lower bound on the number and type (single- or multi-writer) of variables that a mutual exclusion algorithm must use in order to be correct for PC-G. We show that any such solution for n processes must use at least one multi-writer and n singlewriters. This lower bound is tight when n _ 2, and is tight when n _ 2 for solutions that do not provide fairness. We show that Burns’ algorithm is an unfair solution for mutual exclusion in PC-G that achieves our bound. However, five other known algorithms that use the same number and type of variables do not guarantee mutual exclusion when the memory consistency model is only PC-G, as opposed to the Sequential Consistency model for which they were designed. A corollary of this investigation is that, in contrast to Sequential Consistency, multi-writers cannot be implemented from single-writers in PC-G.

Cite

CITATION STYLE

APA

Higham, L., & Kawash, J. (2000). Bounds for mutual exclusion with only processor consistency. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 1914, pp. 44–58). Springer Verlag. https://doi.org/10.1007/3-540-40026-5_3

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free