首页> 外国专利> Method and system for reducing abort rates in speculative lock elision using contention management mechanisms

Method and system for reducing abort rates in speculative lock elision using contention management mechanisms

机译:使用竞争管理机制降低推测锁省略中的中止率的方法和系统

摘要

Hardware-based transactional memory mechanisms, such as Speculative Lock Elision (SLE), may allow multiple threads to concurrently execute critical sections protected by the same lock as speculative transactions. Such transactions may abort due to contention or due to misidentification of code as a critical section. In various embodiments, speculative execution mechanisms may be augmented with software and/or hardware contention management mechanisms to reduce abort rates. Speculative execution hardware may send a hardware interrupt signal to notify software components of a speculative execution event (e.g., abort). Software components may respond by implementing concurrency-throttling mechanisms and/or by determining a mode of execution (e.g., speculative, non-speculative) for a given section and communicating that determination to the hardware speculative execution mechanisms, e.g., by writing it into a lock predictor cache. Subsequently, hardware speculative execution mechanisms may determine a preferred mode of execution for the section by reading the corresponding entry from the lock predictor cache.
机译:基于硬件的事务性存储内存机制,例如推测性锁省略(SLE),可能允许多个线程同时执行由与推测性事务相同的锁保护的关键部分。此类事务可能会由于争用或由于将代码误认为关键部分而中止。在各种实施例中,可以通过软件和/或硬件竞争管理机制来增强推测执行机制,以降低中止率。推测执行硬件可以发送硬件中断信号以向软件组件通知推测执行事件(例如中止)。软件组件可以通过实现并发限制机制和/或通过确定给定部分的执行模式(例如,推测性,非推测性)并将该确定结果传达给硬件推测性执行机制(例如,通过将其写入硬件)来做出响应。锁定预测变量缓存。随后,硬件推测执行机制可以通过从锁预测器高速缓存中读取相应的条目来确定该部分的优选执行模式。

著录项

  • 公开/公告号US8914620B2

    专利类型

  • 公开/公告日2014-12-16

    原文格式PDF

  • 申请/专利权人 DAVID DICE;

    申请/专利号US20080345162

  • 发明设计人 DAVID DICE;

    申请日2008-12-29

  • 分类号G06F9/38;G06F9/52;

  • 国家 US

  • 入库时间 2022-08-21 15:18:17

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号