发明申请
US20130290583A1 System and Method for NUMA-Aware Locking Using Lock Cohorts
有权
使用锁定队列进行NUMA感知锁定的系统和方法
- 专利标题: System and Method for NUMA-Aware Locking Using Lock Cohorts
- 专利标题(中): 使用锁定队列进行NUMA感知锁定的系统和方法
-
申请号: US13458871申请日: 2012-04-27
-
公开(公告)号: US20130290583A1公开(公告)日: 2013-10-31
- 发明人: David Dice , Virendra J. Marathe , Nir N. Shavit
- 申请人: David Dice , Virendra J. Marathe , Nir N. Shavit
- 主分类号: G06F13/14
- IPC分类号: G06F13/14
摘要:
The system and methods described herein may be used to implement NUMA-aware locks that employ lock cohorting. These lock cohorting techniques may reduce the rate of lock migration by relaxing the order in which the lock schedules the execution of critical code sections by various threads, allowing lock ownership to remain resident on a single NUMA node longer than under strict FIFO ordering, thus reducing coherence traffic and improving aggregate performance. A NUMA-aware cohort lock may include a global shared lock that is thread-oblivious, and multiple node-level locks that provide cohort detection. The lock may be constructed from non-NUMA-aware components (e.g., spin-locks or queue locks) that are modified to provide thread-obliviousness and/or cohort detection. Lock ownership may be passed from one thread that holds the lock to another thread executing on the same NUMA node without releasing the global shared lock.
公开/授权文献
- US08694706B2 System and method for NUMA-aware locking using lock cohorts 公开/授权日:2014-04-08
信息查询