Migrating pages of different sizes between heterogeneous processors

US9424201B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9424201-B2
Application numberUS-201314134142-A
CountryUS
Kind codeB2
Filing dateDec 19, 2013
Priority dateMar 14, 2013
Publication dateAug 23, 2016
Grant dateAug 23, 2016

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.

One embodiment of the present invention sets forth a computer-implemented method for migrating a memory page from a first memory to a second memory. The method includes determining a first page size supported by the first memory. The method also includes determining a second page size supported by the second memory. The method further includes determining a use history of the memory page based on an entry in a page state directory associated with the memory page. The method also includes migrating the memory page between the first memory and the second memory based on the first page size, the second page size, and the use history.

First claim

Opening claim text (preview).

What is claimed is: 1. A computer-implemented method for migrating a memory page from a first memory to a second memory, the method comprising: determining a first page size supported by the first memory; determining a second page size supported by the second memory; determining a use history of the memory page based on an entry in a page state directory (PSD) associated with the memory page, wherein the use history includes a record of recent accesses of the memory page; and migrating the memory page between the first memory and the second memory based on the first page size, the second page size, and the use history. 2. The method of claim 1 , wherein the first page size is smaller than the second page size, and migrating the memory page comprises transmitting the memory page from a system memory to a memory local to a parallel processing unit (PPU). 3. The method of claim 2 , further comprising transmitting at least one sibling memory page from the system memory to the memory local to the PPU, wherein the at least one sibling memory page is to be combined with the memory page to generate at least a portion of a larger memory page in the memory local to the PPU. 4. The method of claim 3 , further comprising coalescing an entry in a CPU page table corresponding to the memory page and an entry in the CPU page table corresponding to the at least one sibling memory page to generate an entry in a PPU page table corresponding to the larger memory page. 5. The method of claim 4 , wherein coalescing the entry in the CPU page table reduces the amount of space occupied by the memory page in the CPU page table corresponding to the memory page. 6. The method of claim 3 , further comprising combining the at least one sibling memory page with the memory page to generate the at least a portion of the large memory page based on an access frequency indicated by the use history of the at least one sibling memory page or the memory page. 7. The method of claim 1 , wherein the first size is larger than the second page size, and migrating the memory page comprises transmitting a first memory page from a memory local to a parallel processing unit (PPU) to a system memory. 8. The method of claim 7 , wherein migrating the memory page further comprises splitting the memory page in the PPU memory into a plurality of smaller memory pages that includes a second memory page, and transmitting the second memory page from the memory local to the PPU to the system memory. 9. The method of claim 8 , further comprising transmitting all of the other pages in the plurality of smaller memory pages from the memory local to the PPU to the system memory. 10. The method of claim 9 , further comprising removing an entry from a PPU page table corresponding to the memory page. 11. The method of claim 10 , wherein: the use history indicates that both a CPU and a PPU have recently accessed data included in the first memory page, and, further comprising: splitting the first memory page, and transmitting the second memory page from the memory local to the PPU to the system memory. 12. The method of claim 1 , wherein the use history further includes a record of the number of recent accesses of the memory page. 13. A non-transitory computer-readable medium storing instructions that, when executed by a processor, cause a computer system to migrate a memory page from a first memory to a second memory, by performing the steps of: determining a first page size supported by the first memory; determining a second page size supported by the second memory; determining a use history of the memory page based on an entry in a page state directory (PSD) associated with the memory page, wherein the use history includes a record of recent accesses of the memory page; and migrating the memory page between the first memory and the second memory based on the first page size, the second page size, and the use history. 14. The non-transitory computer-readable medium of claim 13 , wherein the first page size is smaller than the second page size, and migrating the memory page comprises transmitting the memory page from a system memory to a memory local to a parallel processing unit (PPU). 15. The non-transitory computer-readable medium of claim 14 , wherein the instructions further cause the computer system to transmit at least one sibling memory page from the system memory to the memory local to the PPU, wherein the at least one sibling memory page is to be combined with the memory page to generate at least a portion of a larger memory page in the memory local to the PPU. 16. The non-transitory computer-readable medium of claim 13 , wherein the first size is larger than the second page size, and migrating the memory page comprises transmitting a first memory page from a memory local to a parallel processing unit (PPU) to a system memory. 17. The non-transitory computer-readable medium of claim 16 , wherein migrating the memory page further comprises splitting the memory page in the PPU memory into a plurality of smaller memory pages that includes a second memory page, and transmitting the second memory page from the memory local to the PPU to the system memory. 18. A computing device for migrating a memory page, the computing device comprising: a first memory; a second memory; a page state directory (PSD); and a unified virtual memory (UVM) driver configured to: determine a first page size supported by the first memory; determine a second page size supported by the second memory; determine a use history of the memory page based on an entry in the PSD associated with the memory page, wherein the use history includes a record of recent accesses of the memory page; and migrate the memory page between the first memory and the second memory based on the first page size, the second page size, and the use history. 19. The computing device of claim 18 , wherein the first page size is smaller than the second page size, and migrating the memory page comprises transmitting the memory page from a system memory to a memory local to a parallel processing unit (PPU). 20. The computing device of claim 19 , wherein the UVM driver is further configured to transmit at least one sibling memory page from the system memory to the memory local to the PPU, wherein the at least one sibling memory page is to be combined with the memory page to generate at least a portion of a larger memory page in the memory local to the PPU. 21. The computing device of claim 18 , wherein the first size is larger than the second page size, and migrating the memory page comprises transmitting a first memory page from a memory local to a parallel processing unit (PPU) to a system memory. 22. The computing device of claim 21 , wherein migrating the memory page further comprises splitting the memory page in the PPU memory into a plurality of smaller memory pages that includes a second memory page, and transmitting the second memory page from the memory local to the PPU to the system memory.

Assignees

Inventors

Classifications

  • of the least frequently used [LFU] type, e.g. with individual count value · CPC title

  • Improving I/O performance · CPC title

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

  • Page size control · CPC title

  • G06F12/08Primary

    in hierarchically structured memory systems, e.g. virtual memory systems · 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 US9424201B2 cover?
One embodiment of the present invention sets forth a computer-implemented method for migrating a memory page from a first memory to a second memory. The method includes determining a first page size supported by the first memory. The method also includes determining a second page size supported by the second memory. The method further includes determining a use history of the memory page based …
Who is the assignee on this patent?
Nvidia Corp
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 Aug 23 2016 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 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).