Page ranking in operating system virtual pages in hybrid memory systems
Abstract
Implementations of the present disclosure include methods, systems, and computer-readable storage mediums for determining that an object implicated in an executing application is to be allocated to memory in an in-memory system, determining a type of the object, and allocating the object to one of a first size of virtual memory page and a second size of virtual memory page of an operating system based on the type of the object.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 150 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A computer-implemented method executed by one or more processors, the method comprising: determining, by the one or more processors, that an object implicated in an executing application is to be allocated to memory in an in-memory system; determining, by the one or more processors, an average memory access time (AMAT) of the object based on a relationship defined as: AMAT τ ( o )=μ r ( o ) L τ,r +(1−μ r ( o )) L LLC where μ r (o) is a number of read memory accesses made to the object (o) per load operation, L τ,r is a latency to read a cache block in memory, and L LLC is a latency to access the cache; identifying a type of the object based on the AMAT, the type of the object comprising one of a hot object and a cold object; and allocating, by the one or more processors, the object to one of a first size of virtual memory page and a second size of virtual memory page of an operating system based on the type of the object to separate a hot object storage from a cold object storage to reduce a demand on the cache associated with the object.
- Claim 2Depends on #1
The method of claim 1 , wherein the type of the object comprises a hot object, and is allocated to the first size of virtual memory page, the first size of virtual memory page comprises a large virtual memory page that has a size of at least 1 MB.
- Claim 3Depends on #2
The method of claim 2 , further comprising allocating hot objects to the large virtual memory page until the large virtual memory page is full, then allocating hot objects to another large virtual memory page.
- Claim 4Depends on #1
The method of claim 1 , wherein the type of the object comprises a cold object, and is allocated to the second size type of virtual memory page, the second size of virtual memory page comprises a small virtual memory page that has a size smaller than 1 MB.
- Claim 5Depends on #1
The method of claim 1 , wherein determining the type of the object comprises comparing the AMAT to a threshold.
- Claim 6Depends on #1
The method of claim 1 , wherein the application comprises a first allocator function and a second allocator function to respectively allocate the object to one of the first size of virtual memory page and the second size of virtual memory page of the operating system based on the type of the object.
- Claim 7Depends on #1
The method of claim 1 , further comprising: receiving source code of the application; providing an instrumented application that includes the source code and instrumentation code, the instrumented application comprising at least one instruction for profiling a plurality of objects; executing the instrumented application to process a set of benchmark queries to provide a statistics file, the statistics file indicating, for each object in the plurality of object, respective memory allocations; and for each object in the plurality of objects, determining a respective type based on the respective memory allocations.
- Claim 8Independent Claim
A non-transitory computer-readable storage medium coupled to one or more processors and having instructions stored thereon which, when executed by the one or more processors, cause the one or more processors to perform operations comprising: determining that an object implicated in an executing application is to be allocated to memory in an in-memory system; determining an average memory access time (AMAT) of the object based on a relationship defined as: AMAT τ ( o )=μ r ( o ) L τ,r +(1−μ r ( o )) L LLC where μ r (o) is a number of read memory accesses made to the object (o) per load operation, L τ,r is a latency to read a cache block in memory, and L LLC is a latency to access the cache; identifying a type of the object based on the AMAT, the type of the object comprising one of a hot object and a cold object; and allocating the object to one of a first size of virtual memory page and a second size of virtu
Technical Overview & Description
BACKGROUND Enterprises, such as business enterprises, operate enterprise systems to provide software functionality to customers and employees. In some examples, an enterprise system can include back-end enterprise servers that host enterprise applications. Example enterprise applications include enterprise resource planning (ERP) systems, client-relationship management (CRM) systems, product lifecycle management (PLM) systems, supply chain management (SCM) systems, and supplier relationship management (SRM) systems. During operation of an enterprise application, application data is accessed, which is stored in main memory of the enterprise server. In this manner, the application data is immediately accessible by processors of the enterprise server. Increasingly large amounts of application data are stored in the main memory of enterprise servers. Main memory can include dynamic random access memory (DRAM), which consumes a relatively high amount of static energy (both in active and idle states) due to continuous leakage and refresh power. Storage class memory (SCM) (e.g., phase change memory (PCM)) can address fundamental limitations of DRAM. Characteristics that differentiate SCM from DRAM include data persistence, high latency, high write energy, low static energy and low write endurance (e.g., wear-out of cells). Physically, SCM is inserted into a memory bus along with DRAM. SUMMARY Implementations of the present disclosure include computer-implemented methods for object-level data management in hybrid memory systems. In some implementations, methods include actions of determining that an object implicated in an executing application is to be allocated to memory in an in-memory system, determining a type of the object, and allocating the object to one of a first size of virtual memory page and a second size of virtual memory page of an operating system based on the type of the object. These and other implementations can each optional
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.