Page pool descriptor cache
Abstract
Techniques are disclosed relating to managing page pools for sets of processing work. In some embodiments, page manager circuitry maintains, in memory circuitry, page pool descriptor information that indicates memory pages allocated to multiple different page pools. It may cache page pool descriptor information from the memory circuitry in a page pool descriptor cache, where the page pool descriptor cache includes multiple entries and a given entry is configured to store the following information for a cached page pool descriptor: a location of a corresponding page pool and page pool size information. The page manager circuitry may provide pages to requesting client circuitry from the page pool based on the cached page pool descriptor information.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 21 · Forward citations: 0.
Claims (20 — 3 Independent, 17 Dependent)
- Claim 1Independent Claim
A method, comprising: maintaining, in memory of a computing system, first and second page pool descriptors that indicate, respectively, a first set of one or more memory pages allocated to a first page pool and a second set of one or more memory pages allocated to a second page pool, wherein a given page pool descriptor specifies: a location of the corresponding page pool; and page pool size information; storing, by the computing system in first and second entries of a page pool descriptor cache, the first and second page pool descriptors from the memory; and providing, by the computing system, a page to requesting client circuitry from the corresponding page pool based on the first stored page pool descriptor.
- Claim 2Depends on #1
The method of claim 1, further comprising: mapping a set of processing work to a first page in the page pool.
- Claim 3Depends on #2
The method of claim 2, wherein the mapping includes assigning the set of processing work to a logical slot of a distributed graphics processor and mapping the logical slot to the first page.
- Claim 4Depends on #1
The method of claim 1, further comprising: prefetching, by the computing system, a page from a page pool and storing the prefetched page in a prefetch queue; and storing, by the computing system, a page pool descriptor for the prefetched page in the page pool descriptor cache.
- Claim 5Depends on #1
The method of claim 1, wherein the page pools provide pages for a page table hierarchy controlled by a memory management unit (MMU), wherein the MMU uses the page table hierarchy to translate graphics space addresses to virtual addresses.
- Claim 6Depends on #1
The method of claim 1, further comprising: receiving, by the computing system, a page reservation request for a set of processing work; and reserving, by the computing system, a requested number of pages in response to determining that a corresponding page pool includes a sufficient number of pages for the request; wherein the computing system launches the set of processing work only after reservation of the requested number of pages.
- Claim 7Depends on #1
The method of claim 1, further comprising: prefetching, by the computing system, a page from a page pool and storing the prefetched page in a prefetch queue; and distributing, by the computing system in response to given set of processing work starting execution, prefetched pages for the given set of processing work to one or more distributed prefetch queues.
- Claim 8Depends on #7
The method of claim 7, further comprising: distributing, by the computing system, prefetched pages to distributed prefetch queues according to a credit mechanism and distributing pages from the distributed prefetch queues to memory management units according to a credit mechanism.
- Claim 9Independent Claim
An apparatus, comprising: a page pool descriptor cache; and page manager circuitry configured to: maintain, in memory circuitry, first and second page pool descriptors to indicate, respectively, a first set of one or more memory pages allocated to a first page pool and a second set of one or more memory pages allocated to a second page pool, wherein a given page pool descriptor specifies: a location of the corresponding page pool; and page pool size information; store the first and second page pool descriptors from the memory circuitry in first and second entries of the page pool descriptor cache; and provide a page to requesting client circuitry from the corresponding page pool based on the first stored page pool descriptor.
- Claim 10Depends on #9
The apparatus of claim 9, further comprising: control circuitry configured to map a set of processing work to a first page in the page pool.
- Claim 11Depends on #10
The apparatus of claim 10, wherein: the apparatus includes a graphics processor that includes the page pool descriptor cache and the page manager circuitry; and to map the set of processing work to the first page, the page manager circuitry is configured to assign the set of processing work to a slot of the graphics processor and map the slot to the first page.
- Claim 12Depends on #9
The apparatus of claim 9, wherein the page manager circuitry is further configured to: prefetch a page from a page pool and store the prefetched page in a prefetch queue; and cache a page pool descriptor for the prefetched page in the page pool descriptor cache.
- Claim 13Depends on #9
The apparatus of claim 9, wherein the page pools provide pages for a page table hierarchy controlled by a memory management unit (MMU), wherein the MMU uses the page table hierarchy to translate graphics space addresses to virtual addresses.
- Claim 14Depends on #9
The apparatus of claim 9, wherein the page manager circuitry is further configured to: receive a page reservation request for a set of processing work; and reserve a requested number of pages in response to determining that a corresponding page pool includes a sufficient number of pages for the request; wherein the apparatus is configured to launch the set of processing work only after reservation of the requested number of pages by the page manager circuitry.
- Claim 15Depends on #9
The apparatus of claim 9, wherein the page manager circuitry includes: primary page manager circuitry; and multiple distributed page manager circuits configured to interface with memory management units for different processor sub-units; wherein: the primary page manager circuitry includes storage for prefetched pages from respective page pools; the distributed page manager circuits include storage for prefetched pages from respective page pools; and the primary page manager circuitry is configured to begin distributing prefetched pages to the distributed page manager circuits in response to a given set of processing work starting execution.
- Claim 16Depends on #15
The apparatus of claim 15, wherein the primary page manager circuitry is configured to distribute prefetched pages to distributed page manager circuits according to a credit mechanism and the distributed page manager circuits are configured to distribute pages to memory management units according to a credit mechanism.
- Claim 17Depends on #9
The apparatus of claim 9, wherein the apparatus is a computing device that includes: a central processing unit; a graphic processing unit; a display; and network interface circuitry.
- Claim 18Independent Claim
A non-transitory computer readable storage medium having stored thereon design information that specifies a design of at least a portion of a hardware integrated circuit in a format recognized by a semiconductor fabrication system that is configured to use the design information to produce the circuit according to the design, wherein the design information specifies that the circuit includes: a page pool descriptor cache; and page manager circuitry configured to: maintain, in memory circuitry, first and second page pool descriptors to indicate, respectively, a first set of one or more memory pages allocated to a first page pool and a second set of one or more memory pages allocated to a second page pool, wherein a given page pool descriptor specifies: a location of the corresponding page pool; and page pool size information; store the first and second page pool descriptors from the memory circuitry in first and second entries of the page pool descriptor cache; and provide a page to requesting client circuitry from the corresponding page pool based on the first stored page pool descriptor.
- Claim 19Depends on #18
The non-transitory computer readable storage medium of claim 18, wherein the page manager circuitry is further configured to: prefetch a page from a page pool and store the prefetched page in a prefetch queue; and cache a page pool descriptor for the prefetched page in the page pool descriptor cache.
- Claim 20Depends on #18
The non-transitory computer readable storage medium of claim 18 wherein the page manager circuitry is further configured to: receive a page reservation request for a set of processing work; and reserve a requested number of pages in response to determining that a corresponding page pool includes a sufficient number of pages for the request; wherein the circuit is configured to launch the set of processing work only after reservation of the requested number of pages by the page manager circuitry.
Technical Overview & Description
CROSS-REFERENCE TO RELATED APPLICATIONS The present application is a continuation of U.S. application Ser. No. 17/660,094, entitled “ Memory Page Manager, ” filed Apr. 21, 2022, which claims priority to U.S. Provisional Appl. No. 63/267,829, entitled “ Hardware-assisted Page Pool Grow Operation, ” filed Feb. 10, 2022. This application is related to the following U.S. application filed on Apr. 21, 2022: U.S. application Ser. No. 17/660,148 (2888-38101/P55266US1, entitled “ Hardware-assisted Page Pool Grow Operation ” ), now issued as U.S. Pat. No. 12,026,098. Each of the above-referenced applications is hereby incorporated by reference as if entirely set forth herein. BACKGROUND Technical Field This disclosure relates generally to memory management in computing systems and more particularly to techniques for managing a page pool. Description of the Related Art Memory paging is a well-known management scheme used to access a secondary storage element (e.g., a disc drive or solid-state drive) for main memory (e.g., a random-access memory (RAM)). Paging in conjunction with virtual memory allows programs to exceed the size of available physical memory. Hardware, software, or both may allocate memory for tasks or memory spaces and assign pages to those tasks or memory spaces. A page pool is a data structure that may be used to track assigned pages. Managing page pools in the context of multiple workloads may be challenging. Also, in some situations, the size of the page pool may need to change, e.g., when a program needs more space than currently provided by its page pool. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 A is a diagram illustrating an overview of example graphics processing operations, according to some embodiments. FIG. 1 B is a block diagram illustrating an example graphics unit, according to some embodiments. FIG. 2 is a block diagram illustrating example page manager circuitry with a page pool descriptor cache, according to some embodiments. FIG. 3 is a block
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (21)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- W. Powley, P. Martin, N. Ogeer and Wenhu Tian,
- “
- Autonomic buffer pool configuration in PostgreSQL,
- ”
- 2005 IEEE International Conference on Systems, Man and Cybernetics, Waikoloa, HI, USA, 2005, pp. 53-58.
- H. Kim and R. Rajkumar,
- “
- Shared-Page Management for Improving the Temporal Isolation of Memory Reservations in Resource Kernels,
- ”
- 2012 IEEE International Conference on Embedded and Real-Time Computing Systems and Applications, Seoul, Korea (South), 2012, pp. 310-319.