首页>
外国专利>
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.
展开▼