Affinity-aware parallel zeroing of memory for initialization of large pages in non-uniform memory access (NUMA) servers
AssigneeInternational Business Machines Corporation
InventorsNikhil Hedge, Bruce Mealey, Mark D. Rogers
Life of this patent
Estimating the term…
Abstract
A method for zeroing memory in computing systems where access to memory is non-uniform includes receiving, via a system call, a request for a pool of memory. The method also includes determining a size of the requested pool of memory, and creating a dummy memory segment. The size of the dummy memory segment is larger than the size of the requested pool of memory. The method further includes filling the dummy memory segment with one or more pages, based on the determined size of the requested pool of memory, and deleting the dummy memory segment.
Claims7
A method comprising:
- receiving, via a system call, a request for a pool of memory;
- determining, based on a type of the request, a size of the requested pool of memory;
- creating a dummy memory segment, wherein a size of the dummy memory segment is larger than the size of the requested pool of memory;
- filling the dummy memory segment with one or more pages, based on the determined size of the requested pool of memory;
- and
- deleting the dummy memory segment prior to allocating the one or more pages for the requested pool of memory, wherein deleting the dummy memory segment comprises zeroing the one or more pages in the dummy memory segment.
Dependencies are inferred from the claim text.