首页> 外文学位 >Abortable and query-abortable types and their efficient implementation.
【24h】

Abortable and query-abortable types and their efficient implementation.

机译:可终止和可查询终止的类型及其有效实现。

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

摘要

We introduce abortable and query-abortable object types intended for implementation in asynchronous shared-memory systems with low contention. Implementations of such types behave like ordinary objects when accessed sequentially, but may abort operations when accessed concurrently. An aborted operation may or may not take effect, i.e., cause a state transition, and it returns no indication of which possibility occurred. Since this uncertainty can be problematic, a query-abortable type supports a QUERY operation that each process can use to determine its last non-QUERY operation on the object that caused a state transition, and the response associated with this state transition.We present universal constructions for abortable and query-abortable types that are novel and efficient in the number of registers used. Specifically, they are based on a simple timestamping mechanism for detecting concurrent executions, and, in systems with n processes, they use only n abortable registers or only O(n 2) single-reader, single-writer abortable registers. The timestamping mechanism we introduce is based on the inc&read counter type and appears to be interesting in its own right. As a generalization, we study the k-inc&read counter types, for k > 0.We also identify a potential problem with correctness properties based on step contention: with such properties, the composition of correct object implementations may result in an implementation that is not correct. In other words, implementations defined in terms of step contention are not always composable. To avoid this problem, we introduce a property based on interval contention, namely non-triviality, to define the correct behaviour of abortable and query-abortable object implementations.Our research is closely related to obstruction-free implementations (introduced by Herlihy, Luchangco and Moir) and responsive obstruction-free implementations (introduced by Attiya, Guerraoui and Kouznetsov). Like abortable and query-abortable types, these implementations may exhibit degraded behaviour in the face of contention. We show that abortable registers---registers strictly weaker than safe registers---can be used to obtain obstruction-free and responsive obstruction-free implementations for any type.
机译:我们介绍了旨在在争用低的异步共享内存系统中实现的可中止和可查询查询的对象类型。依次访问时,此类类型的实现与普通对象的行为类似,但在并发访问时可能中止操作。中止的操作可能会或可能不会生效,即引起状态转换,并且不会返回表示发生了哪种可能性的指示。由于这种不确定性可能会带来问题,因此可查询查询类型支持QUERY操作,每个进程可以使用该操作来确定对导致状态转换的对象的最后一个非QUERY操作以及与此状态转换相关的响应。可中止和查询可中止类型的构造新颖且在使用的寄存器数方面非常有效。具体而言,它们基于用于检测并发执行的简单时间戳机制,并且在具有n个进程的系统中,它们仅使用n个可中止寄存器或仅使用O(n 2)个单读取器,单写入器可中止寄存器。我们引入的时间戳机制是基于inc&read计数器类型的,它本身似乎很有趣。概括地说,我们研究k> 0的k-inc&read计数器类型。我们还基于步骤争用来确定具有正确性属性的潜在问题:使用这种属性,正确的对象实现的组合可能导致实现正确。换句话说,根据步骤竞争定义的实现并非总是可组合的。为避免此问题,我们引入了基于间隔争用的属性,即非平凡性,以定义可中止和查询可中断对象实现的正确行为。我们的研究与无障碍实现密切相关(由Herlihy,Luchangco和云纹)和响应式无障碍实现(由Attiya,Guerraoui和Kouznetsov引入)。像可中止和查询中止类型一样,这些实现面对竞争可能表现出降级的行为。我们证明,可中止的寄存器(严格比安全寄存器弱的寄存器)可用于获取任何类型的无障碍和响应式无障碍实现。

著录项

  • 作者

    Horn, Stephanie Lorraine.;

  • 作者单位

    University of Toronto (Canada).;

  • 授予单位 University of Toronto (Canada).;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2009
  • 页码 268 p.
  • 总页数 268
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类
  • 关键词

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号