首页> 外文会议>ACM symposium on principles of distributed computing >Constant RMR Solutions to Reader Writer Synchronization
【24h】

Constant RMR Solutions to Reader Writer Synchronization

机译:持续的RMR解决方案到读写器同步

获取原文

摘要

We study Reader-Writer Exclusion [1], a well-known variant of the Mutual Exclusion problem [2] where processes are divided into two classes-readers and writers-and multiple readers can be in the Critical Section (CS) at the same time, although no process may be in the CS at the same time as a writer. Since readers don't conflict with each other, they should not obstruct each other. Specifically, the concurrent entering property must be satisfied: if all writers are in the Remainder section, each reader should be able to enter the CS in a bounded number of its own steps. Three versions of the Reader-Writer Exclusion problem are commonly studied-one where writers have priority over readers, another where readers have priority, and the last where neither class has priority over the other and no process may starve. To ensure high performance on Cache-Coherent (CC) and Distributed Shared Memory (DSM) multiprocessors, algorithms should be designed to generate as few remote memory references (RMRs) as possible. It would be ideal to achieve constant RMR complexity, i.e., the worst case number of RMRs that a process generates in order to enter and exit the CS once is a constant, independent of the number of processes. Constant RMR complexity algorithms have existed for Mutual Exclusion for two decades [3,4], but none exists for Reader-Writer Exclusion. Danek and Hadzilacos' lower bound proof implies that it is impossible to achieve sublinear RMR complexity for DSM machines [5]. For CC machines, the best existing bound, also due to Danek and Hadzilacos [5], is O(log n), where n is the number of processes. In this work, we present the first constant RMR complexity algorithms for all three versions of the Reader-Writer Exclusion problem (for CC machines).
机译:我们研究读写器排除[1],互斥问题的众所周知的变体[2],其中进程分为两个类读者,并且编写者 - 并且多个读者可以在相同的关键部分(CS)中时间,虽然没有过程可以与作者同时在CS中。由于读者彼此不冲突,因此他们不应该互相阻碍。具体来说,必须满足并发进入属性:如果所有作家都处于剩余部分,则每个读者都应该能够以有界数的自身步骤输入CS。读者作家排除问题的三个版本通常是研究 - 作家在读者优先考虑的情况下,另一个读者优先权,并且既没有类都没有优先于另一个,没有过程可以饿死。为确保高速缓存相干(CC)和分布式共享内存(DSM)多处理器的高性能,应设计算法以产生尽可能少的远程内存引用(RMRS)。实现恒定的RMR复杂度是理想的,即进程生成的RMR的最坏案例数量是为了进入和退出CS一次是常数,与进程数无关。恒定的RMR复杂性算法已经存在相互排除二十年[3,4],但读者作家排除不存在。 Danek和Hadzilacos的下限证据意味着对于DSM机器来实现Sublinear RMR复杂性[5]。对于CC机器,也是由于Danek和Hadzilacos [5]的最佳现有限制,是O(log n),其中n是过程的数量。在这项工作中,我们为读写器排除问题的所有三个版本提供了第一个常数RMR复杂性算法(用于CC机器)。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号