首页> 外文OA文献 >Reduced hardware transactions: a new approach to hybrid transactional memory
【2h】

Reduced hardware transactions: a new approach to hybrid transactional memory

机译:减少硬件事务:混合事务内存的新方法

摘要

For many years, the accepted wisdom has been that the key to adoption of best-effort hardware transactions is to guarantee progress by combining them with an all software slow-path, to be taken if the hardware transactions fail repeatedly. However, all known generally applicable hybrid transactional memory solutions suffer from a major drawback: the coordination with the software slow-path introduces an unacceptably high instrumentation overhead into the hardware transactions.This paper overcomes the problem using a new approach which we call reduced hardware (RH) transactions. Instead of an all-software slow path, in RH transactions part of the slow-path is executed using a smaller hardware transaction. The purpose of this hardware component is not to speed up the slow-path (though this is a side effect). Rather, using it we are able to eliminate almost all of the instrumentation from the common hardware fast-path, making it virtually as fast as a pure hardware transaction. Moreover, the "mostly software" slow-path is obstruction-free (no locks), allows execution of long transactions and protected instructions that may typically cause hardware transactions to fail, allows complete concurrency between hardware and software transactions, and uses the shorter hardware transactions only to commit.Finally, we show how to easily default to a mode allowing an all-software slow-slow mode in case the "mostly software" slow-path fails to commit.
机译:多年来,人们普遍认为,采用尽力而为的硬件事务的关键是通过将它们与所有软件慢路径相结合来保证进度,如果硬件事务反复失败,则应采取这种措施。但是,所有已知的普遍适用的混合事务存储解决方案都有一个主要缺点:与软件慢路径的协调会在硬件事务中引入不可接受的高工具开销。本文通过一种称为减少硬件的新方法克服了这一问题( RH)交易。相对于所有软件慢速路径,在RH事务中,慢速路径的一部分是使用较小的硬件事务执行的。该硬件组件的目的不是加快慢路径(尽管这是副作用)。相反,使用它,我们能够从通用的硬件快速通道中消除几乎所有的仪器,使其速度几乎与纯硬件事务一​​样快。此外,“主要是软件”慢速路径没有障碍(无锁),允许执行长事务和受保护的指令,这些事务通常可能导致硬件事务失败,允许硬件和软件事务之间完全并发,并使用较短的硬件最后,我们展示了如何轻松地默认为允许“全软件慢速”模式的模式,以防万一“主要是软件”慢速路径无法提交。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号