Patent ID: 9715452
Date: 2017-07-25
CPC Classifications: G06F

Claim:
1. A method for making global variables non-uniform memory access (NUMA)-aware, the method comprising: identifying a first global variable and a second global variable; determining a quantity of a plurality of NUMA groups of a computing device; partitioning, based on the quantity of the plurality of NUMA groups, the first global variable into a first global variable array comprising a plurality of first global variable array elements; storing each first global variable array element of the first global variable array in a different cache line of a first plurality of cache lines of a first cache associated with a first NUMA group of the plurality of NUMA groups; partitioning, based on the quantity of the plurality of NUMA groups, the second global variable into a second global variable array comprising a plurality of second global variable array elements; and storing each second global variable array element of the second global variable array in a different cache line of a second plurality of cache lines of a second cache associated with a second NUMA group of the plurality of NUMA groups.