首页> 外文期刊>Journal of Parallel and Distributed Computing >Enhancing scalability in best-effort hardware transactional memory systems
【24h】

Enhancing scalability in best-effort hardware transactional memory systems

机译:在尽力而为的硬件事务存储系统中增强可伸缩性

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

摘要

Current industry proposals for hardware transactional memory focus on best-effort solutions where hardware limits are imposed on transactions. These designs can efficiently execute transactions but they may abort due to different hardware and operating system limitations, with a significant impact on performance. For instance, transactions cannot survive capacity overflows, exceptions, interrupts, operating system events like page faults, migrations, context switches, and so on. To deal with these events, best-effort hardware transactional memory systems usually provide a software fallback path to execute a non-transactional version of the code. In this paper we propose hardware implementation solutions to make transactions survive some of such limitations, in order to improve the performance and scalability of transactional applications in best-effort systems. First, we propose a hardware irrevocability mechanism that works either when hardware capacity overflows occur or in high contention scenarios. It anticipates capacity overflows and reduces the abort count. This mechanism avoids writing a fallback code, simplifying the programming of the transactional application. Second, we propose a two-phase abort mechanism to support both the execution of privileged mode code inside transactions and the interaction of this code with the irrevocability mechanism. Third, we propose a privileged-aware cache replacement policy to reduce capacity overflows in the presence of privileged code. We evaluate our proposals with all the benchmarks of the STAMP transactional suite and carry out a performance comparison with a fallback-based hardware transactional memory system, after considering different fallback codes, showing significant performance benefits for requester-wins and requester-stalls conflict resolution policies.
机译:当前有关硬件事务存储的行业建议集中于尽力而为解决方案,其中对事务施加了硬件限制。这些设计可以有效地执行事务,但是由于不同的硬件和操作系统限制,它们可能会中止,从而对性能产生重大影响。例如,事务无法幸免于容量溢出,异常,中断,诸如页面错误,迁移,上下文切换等操作系统事件。为了处理这些事件,尽力而为的硬件事务存储系统通常提供软件后备路径以执行代码的非事务版本。在本文中,我们提出了硬件实现解决方案,以使事务能够克服某些此类限制,从而提高尽力而为系统中事务应用程序的性能和可伸缩性。首先,我们提出了一种硬件不可撤销机制,该机制可以在发生硬件容量溢出或在竞争激烈的情况下工作。它可以预测容量溢出并减少中止次数。这种机制避免了编写后备代码,从而简化了事务性应用程序的编程。其次,我们提出了一种两阶段中止机制,以支持事务内部特权模式代码的执行以及该代码与不可撤销机制的交互。第三,我们提出了一种特权感知缓存替换策略,以减少特权代码存在时的容量溢出。在考虑了不同的后备代码之后,我们使用STAMP事务套件的所有基准评估了我们的建议,并与基于后备的硬件事务存储系统进行了性能比较,从而显示出对请求者胜诉和请求者争端解决策略的显着性能优势。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号