【24h】

An Efficient Lock-Aware Transactional Memory Implementation

机译:高效的锁感知事务存储实现

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

摘要

Transactional memory (TM) is an emerging concurrency control mechanism that provides a simple and composable programming model. Unfortunately, transactions violate the semantics of mutual exclusion locks when they execute concurrently. Due to the prevalence of locks, transactions must be made lock-aware enabling them to correctly interoperate with locks.rnWe present a lock-aware transactional memory (LATM) system that employs a unique communication method using local knowledge of locks coupled with granularity-based policies. Our system allows higher concurrent throughput than prior systems because it only prevents truly conflicting critical sections from executing concurrently. Furthermore, our system relaxes the prior requirement of transaction isolation when executing conflicting transactional critical sections and instead runs these transactions as irrevocable, improving transaction concurrency. We demonstrate our performance improvements mathematically and empirically.rnOur system also advances LATM research in terms of program consistency. This is achieved by detecting potential deadlocks at run-time and aborting the programs that contain them. Prior systems break deadlocks, which reveal partially executed critical sections to other threads, thereby violating mutual exclusion. Because our system disallows deadlocks, it does not suffer from mutual exclusion violations, improving program consistency.
机译:事务性内存(TM)是一种新兴的并发控制机制,可提供简单且可组合的编程模型。不幸的是,事务在并发执行时违反了互斥锁的语义。由于锁的普遍性,必须使事务具有锁意识,以使它们能够正确地与锁进行互操作。我们提出了一种锁意识事务存储(LATM)系统,该系统采用独特的通信方法,结合了本地使用的锁知识和基于粒度的信息政策。我们的系统比以前的系统允许更高的并发吞吐量,因为它只能防止真正冲突的关键部分同时执行。此外,当执行冲突的交易关键部分时,我们的系统放宽了对交易隔离的先前要求,而是将这些交易作为不可撤消的方式运行,从而提高了交易并发性。我们通过数学和经验证明了我们的性能改进。rn我们的系统还在程序一致性方面推进了LATM研究。这是通过在运行时检测潜在的死锁并中止包含它们的程序来实现的。先前的系统打破了死锁,从而使部分执行的关键部分暴露给其他线程,从而违反了互斥性。因为我们的系统禁止死锁,所以它不会遭受互斥冲突,从而提高了程序的一致性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号