Scalable spinlocks for non-uniform memory access
AssigneeIntel Corporation
InventorsSteven Mark Shaw, Hubert Nueckel
Life of this patent
Estimating the term…
Loading patent…
AssigneeIntel Corporation
InventorsSteven Mark Shaw, Hubert Nueckel
Estimating the term…
Techniques are disclosed to provide scalable spinlocks for non-uniform memory access (NUMA). In some examples, a global spinlock configured to protect access to a shareable resource is protected by multiple local spinlocks, which are each configured to control access to the global spinlock. In a multi-socket NUMA system, the global spinlock is allocated on one of the sockets, and the local spinlocks are distributed over the multiple sockets. In some embodiments, one local spinlock is allocated on each of the multiple sockets. In other embodiments, the multiple local spinlocks may be equally distributed over the NUMA sockets. When contention for the global spinlock is low, processes can attempt to directly acquire the global spinlock. In contrast, when contention for the global spinlock is high, processes need to first acquire one of the local spinlocks associated with the global spinlock before attempting to acquire the global spinlock.
A computer system comprising:
A computer-implemented method to control access to a shareable resource, the method comprising:
A computer program product including one or more non-transitory machine readable mediums encoded with instructions that when executed by one or more processors cause a process to be carried out to control access to a shareable resource, the process comprising:
Dependencies are inferred from the claim text.