Fair and efficient mutual exclusion algorithms

被引:0
|
作者
Alagarsamy, K [1 ]
Vidyasankar, K [1 ]
机构
[1] Mem Univ Newfoundland, Dept Comp Sci, St Johns, NF A1B 3X5, Canada
来源
DISTRIBUTED COMPUTING | 1999年 / 1693卷
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Peterson's n-process mutual exclusion algorithm [P81] has been widely touted for elegance and simplicity. It has been analyzed extensively, and yet certain properties have eluded the researchers. This paper illustrates, and expands on, several properties of Peterson's algorithm: (1) We reiterate that the number of processes that can overtake a process, called unfairness index, is unbounded in Peterson's algorithm; (2) With a slight modification of the algorithm, we obtain the unfairness index of n(n - 1)/2; (3) We identify an inherent characteristic of that algorithm that sets the lower bound of n(n - 1)/2 for the unfairness index; (4) By modifying the characteristic, we obtain algorithms with unfairness index (n - 1); (5) We show that the new algorithms are amenable to reducing shared space requirement, and to improving time efficiency (where the number of steps executed is proportional to the current contention); and (6) We also extend the algorithms to solve I-exclusion problem in a simple and straightforward way.
引用
收藏
页码:166 / 179
页数:14
相关论文
共 50 条