Invention Grant
- Patent Title: System and method for NUMA-aware locking using lock cohorts
- Patent Title (中): 使用锁定队列进行NUMA感知锁定的系统和方法
-
Application No.: US13458871Application Date: 2012-04-27
-
Publication No.: US08694706B2Publication Date: 2014-04-08
- Inventor: David Dice , Virendra J. Marathe , Nir N. Shavit
- Applicant: David Dice , Virendra J. Marathe , Nir N. Shavit
- Applicant Address: US CA Redwood City
- Assignee: Oracle International Corporation
- Current Assignee: Oracle International Corporation
- Current Assignee Address: US CA Redwood City
- Agency: Meyertons, Hood, Kivlin, Kowert & Goetzel, P.C.
- Agent Robert C. Kowert
- Main IPC: G06F12/00
- IPC: G06F12/00

Abstract:
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.
Public/Granted literature
- US20130290583A1 System and Method for NUMA-Aware Locking Using Lock Cohorts Public/Granted day:2013-10-31
Information query