Invention Grant
- Patent Title: Scalable spinlocks for non-uniform memory access
-
Application No.: US15704799Application Date: 2017-09-14
-
Publication No.: US10310916B2Publication Date: 2019-06-04
- Inventor: Steven Mark Shaw , Hubert Nueckel
- Applicant: INTEL CORPORATION
- Applicant Address: US CA Santa Clara
- Assignee: Intel Corporation
- Current Assignee: Intel Corporation
- Current Assignee Address: US CA Santa Clara
- Agency: Finch & Maloney PLLC
- Main IPC: G06F12/00
- IPC: G06F12/00 ; G06F9/52 ; G06F9/50 ; G06F12/14 ; G06F13/00 ; G06F13/28

Abstract:
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.
Public/Granted literature
- US20190079807A1 SCALABLE SPINLOCKS FOR NON-UNIFORM MEMORY ACCESS Public/Granted day:2019-03-14
Information query