WO2015114642A1

Synchronizing per-cpu data access using per socket rw-spinlocks

Abstract

Techniques for synchronizing per-central processing unit (per-CPU) data access using per socket reader-writer spinlocks (RW-spinlocks) are disclosed. In an example implementation, a RW-spinlock is allocated for each socket in a corresponding socket local memory (SLM) in a non-uniform memory access (NUMA) system. In this example implementation, each socket includes one or multiple CPUs and the CPUs in each socket are communicatively coupled to the corresponding SLM. Further, per-CPU data access between the CPUs in the NUMA system is synchronized using the per socket RW-spinlocks.

WO2015114642A1, drawing sheet 1
Sheet 1 of 4

Term

No projected expiry on record.

  1. Priority and filed
  2. Published
  3. Today

15 claims: 3 independent, 12 dependent

  1. 1
    CLAIMS What is claimed is:1. A method comprising: allocating a reader-writer spinlock (RW-spinlock) for each socket in a corresponding socket local memory (SLM) in a non-uniform memory access (NUMA) system, wherein each socket comprises at least one central processing unit (CPU) and wherein the at least one CPU in each socket is communicatively coupled to the corresponding SLM;and synchronizing per-CPU data access between the CPUs in the NUMA system using the per socket RW-spinlocks.
  2. 7
    A non-uniform memory access (NUMA) system comprising:a plurality of sockets, wherein each socket comprises at least one central processing unit (CPU), wherein the at least one CPU in each socket is communicatively coupled to an associated socket local memory (SLM), wherein each SLM includes a portion of an interleaved memory and wherein the interleaved memory comprises a synchronization module to: allocate a reader-writer (RW) spinlock for each of the plurality of sockets in the associated SLM;and synchronize per-CPU data access between the CPUs in the NUMA system using the per socket RW-spinlocks.
  3. 13
    A non-transitory computer readable storage medium comprising a set of instructions executable by a processor resource to:allocate a reader-writer spinlock (RW-spinlock) for each socket in a corresponding socket local memory (SLM) in a non-uniform memory access (NUMA) system, wherein each socket comprises at least one central processing unit (CPU) and wherein the at least one CPU in each socket is communicatively coupled to the corresponding SLM;and synchronize per-CPU data access between the CPUs in the NUMA system using the per socket RW-spinlocks.