Affinity-aware parallel zeroing of memory for initialization of large pages in non-uniform memory access (NUMA) servers

US9870036B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9870036-B2
Application numberUS-201614986930-A
CountryUS
Kind codeB2
Filing dateJan 4, 2016
Priority dateJun 25, 2015
Publication dateJan 16, 2018
Grant dateJan 16, 2018

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

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.

First claim

Opening claim text (preview).

What is claimed is: 1. 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. 2. The method of claim 1 , wherein zeroing the one or more pages in the dummy memory segment comprises: sorting the one or more pages of the dummy memory segment according to each associated affinity domain of each page, wherein each affinity domain comprises a cluster of processors and memory local to the cluster of processors; thank you; sending requests to zero the sorted one or more pages to one or more software threads that are attached to the respective affinity domain; and waiting, after sending the requests, to return to a system caller until a message is received, from the software threads in each affinity domain, indicating that all requests to zero have been processed. 3. The method of claim 1 , wherein zeroing the one or more pages in the dummy memory segment comprises: transmitting a request to zero the one or more pages in the dummy memory segment to an intermediate software thread; using the intermediate software thread to perform the request as a background process; and upon receiving a message from the intermediate software thread, returning to a system caller, while performing the request, via the intermediate software thread, continues in the background. 4. The method of claim 1 , wherein the type of request is a request to grow the pool of memory. 5. The method of claim 4 , wherein the size of the requested pool of memory is determined based on a size that the pool of memory is requested to grow by. 6. The method of claim 1 , wherein the type of request is a request to create the pool of memory. 7. The method of claim 6 , wherein the size of the requested pool of memory is determined based on a size of the pool of memory that needs to be created.

Assignees

Inventors

Classifications

  • Free address space management · CPC title

  • using page tables, e.g. page table structures · CPC title

  • Memory management, e.g. access or allocation · CPC title

  • User address space allocation, e.g. contiguous or non contiguous base addressing · CPC title

  • the resource being the memory · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9870036B2 cover?
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 fil…
Who is the assignee on this patent?
IBM
What technology area does this patent fall under?
Primary CPC classification G06F12/1009. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jan 16 2018 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 2 related publications on this page (citations in our corpus or others sharing the same primary CPC).