...
首页> 外文期刊>Acta Informatica >Efficient algorithms for checking the atomicity of a run of read and write operations
【24h】

Efficient algorithms for checking the atomicity of a run of read and write operations

机译:高效的算法,用于检查读写操作的原子性

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

摘要

Let X_1,..., X_c be variables shared by a number of processors P_1,..., P_q that operate in a totally asynchronous and wait-free manner. An operation by a processor is either a write to one of the variables or a read of the values of all variables. Operations are not assumed to be instantaneous and may arbitrarily overlap in time. A succession of possibly overlapping operations a_1,..., a_n (i.e., a run) is said to be atomic, if these operations can be serialized in a way compatible with any existing precedences among them and so that any read operation returns for each variable the value of the most recent —with respect to the serialization— write operation on this variable. This paper examines the complexity of the combinatorial problem of testing a run for atomicity. First, it is pointed out that when there is only one shared variable or when only one processor is allowed to write to each variable, known theorems lead to polynomial-time algorithms for checking the atomicity of a run (the variable of the time-complexity function is the number of operations in the run). It is then proved that checking atomicity has polynomial-time complexity in the general case of more than one variables and with all processors allowed to read and write each variable. For the proof, the atomicity problem is reduced to the problem of consecutive 1s in matrices. The reduction entails showing a combinatorial result that might be interesting on its own.
机译:令X_1,...,X_c是由以完全异步且无等待的方式运行的多个处理器P_1,...,P_q共享的变量。处理器的操作是对变量之一的写入或对所有变量值的读取。假定操作不是瞬时的,并且可能在时间上任意重叠。如果可以以与操作中任何现有优先级兼容的方式序列化这些操作,则可能重叠的一系列操作a_1,...,a_n(即运行)被认为是原子的。变量关于该序列的最新值(关于序列化)。本文研究了测试原子性运行组合问题的复杂性。首先,要指出的是,当只有一个共享变量或仅允许一个处理器写入每个变量时,已知定理导致多项式时间算法检查运行的原子性(时间复杂性的变量)函数是运行中的操作数)。事实证明,在多个变量的情况下,检查原子性具有多项式时间复杂性,并且允许所有处理器读取和写入每个变量。为了证明,将原子性问题简化为矩阵中连续1s的问题。减少需要显示一个组合结果,而这个组合结果可能本身很有趣。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号