首页> 外文学位 >Group mutual exclusion in linear time and space.
【24h】

Group mutual exclusion in linear time and space.

机译:线性时间和空间中的群体互斥。

获取原文
获取原文并翻译 | 示例

摘要

Group Mutual Exclusion (GME) problem, introduced by Joung, is a natural generalization of the classical mutual exclusion problem. In GME, when a process leaves the REMAINDER SECTION, it request a "session". Processes can enter the CRITICAL SECTION simultaneously if they have requested the same session. In this thesis, we present algorithms for the GME problem that satisfies the properties of Mutual Exclusion, Starvation Freedom, Bounded Exit, Concur- rent Entry and First-Come-First-Served. Our algorithms have O(N) Shared Space Complexity and O( N) RMR (Remote Memory Reference) Complexity. Our first algorithm is developed by generalizing the well-known Lamport's Bakery Algorithm for the classical mutual exclusion problem, while preserving its simplicity and elegance.;When all shared variables are required to be of bounded size, Hadzilacos presented an algorithm, whose shared space is theta(N 2) and whose RMR complexity was claimed to be O( N). Jayanti et al. presented a space efficient adaptation of the above algorithm that uses only theta(N) space and inherited the claim that the RMR complexity is of O(N). We show that both of these algorithms are of RMR complexity of O( N2) and thus demonstrate that the claim of Hadzilacos is erroneous. We then present our second algorithm for the GME problem satisfying all five properties while using only bounded shared variables and only simple read and write instructions. The algorithm is inspired by Taubenfeld's Black-White Bakery Algorithm, which is an elegant algorithm that bounds Lamport's Bakery Algorithm for the classical mutual exclusion problem. To the best of our knowledge, our algorithm is the first such algorithm.
机译:Joung提出的组互斥(GME)问题是经典互斥问题的自然概括。在GME中,当进程离开“剩余部分”时,它会请求“会话”。如果进程请求了相同的会话,则它们可以同时进入CRITICAL SECTION。在本文中,我们提出了GME问题的算法,该算法满足互斥,饥饿自由,有界出口,并购进入和先来先服务的特性。我们的算法具有O(N)共享空间复杂度和O(N)RMR(远程存储参考)复杂度。我们的第一个算法是通过将著名的Lamport's Bakery算法推广到经典互斥问题而开发的,同时又保持了其简单性和优雅性。当所有共享变量都必须有界时,Hadzilacos提出了一种算法,其共享空间为theta(N 2),其RMR复杂度据称是O(N)。 Jayanti等。提出了一种仅使用theta(N)空间的上述算法的空间高效改编,并继承了RMR复杂度为O(N)的主张。我们证明这两种算法都具有O(N2)的RMR复杂度,因此证明了Hadzilacos的主张是错误的。然后,我们提出了满足所有五个属性的GME问题的第二种算法,同时仅使用有界共享变量和仅简单的读写指令。该算法的灵感来自Taubenfeld的Black-White Bakery Algorithm,这是一种优雅的算法,将Lamport's Bakery算法界定为经典互斥问题。据我们所知,我们的算法是第一个这样的算法。

著录项

  • 作者

    He, Yuan.;

  • 作者单位

    East Carolina University.;

  • 授予单位 East Carolina University.;
  • 学科 Computer Science.
  • 学位 M.S.
  • 年度 2014
  • 页码 81 p.
  • 总页数 81
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号