# US 2018/0024755 A1 · Simulator for enterprise-scale simulations on hybrid main memory systems

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2018/0024755 A1
- Document ID: US20180024755A1
- Status: Published application
- Kind: A1
- Application number: 15/213,930
- Filed: 2016-07-19
- Published: 2018-01-25
- Earliest claimed: 2016-07-19
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Ahmad Hassan
- Web page: https://patentgrep.com/patent/US20180024755A1

## CPC

- G06F 12/0623: {for memory modules}
- G06F 11/3034: {where the computing system component is a storage system, e.g. DASD based or network based (digital input from or digital output to record carriers G06F3/06; digital recording or reproducing G11B20/18; for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS], H04L67/1097)}
- G06F 11/3037: {where the computing system component is a memory, e.g. virtual memory, cache (accessing, addressing or allocating within memory systems or architectures G06F12/00; checking stores for correct operation G11C29/00)}
- G06F 11/3409: {for performance assessment}
- G06F 11/3457: {Performance evaluation by simulation}
- G06F 11/36: Prevention of errors by analysis, debugging or testing of software
- G06F 2212/217: Hybrid disk, e.g. using both magnetic and solid state storage devices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Implementations of the present disclosure include methods, systems, and computer-readable storage mediums for performing actions during simulation of an application interacting with a hybrid memory system, actions including providing a first range of virtual addresses corresponding to a first type of memory in the hybrid memory system, and a second range of virtual addresses corresponding to a second type of memory in the hybrid memory system, receiving a data packet that is to be stored in the hybrid memory system, determining a virtual address assigned to the data packet, the virtual address being provided in cache block metadata associated with the data packet, and storing the data packet in one of the first type of memory and the second type of memory in the hybrid memory system based on the virtual address, the first range of virtual addresses, and the second range of virtual addresses.

## Claims

### Claim 1

A computer-implemented method executed by one or more processors, the method being executed during simulation of an application interacting with a hybrid memory system, and comprising:
providing, by the one or more processors, a first range of virtual addresses corresponding to a first type of memory in the hybrid memory system, and a second range of virtual addresses corresponding to a second type of memory in the hybrid memory system;
receiving, by the one or more processors, a data packet that is to be stored in the hybrid memory system;
determining, by the one or more processors, a virtual address assigned to the data packet, the virtual address being provided in cache block metadata associated with the data packet; and
storing, by the one or more processors, the data packet in one of the first type of memory and the second type of memory in the hybrid memory system based on the virtual address, the first range of virtual addresses, and the second range of virtual addresses.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first range of virtual addresses and the second range of virtual addresses are provided through invocation of a system call that informs memory controllers of the starting virtual address ending virtual address for the first type of memory, and the starting virtual address and ending virtual address for the second type of memory.

### Claim 3 (depends on 2)

The method of claim 2, wherein the system call is invoked at execution of the application.

### Claim 4 (depends on 1)

The method of claim 1, wherein the virtual address is recorded in the cache block metadata when the data packet is stored in a cache.

### Claim 5 (depends on 4)

The method of claim 4, wherein the cache comprises a multi-level cache and the virtual address is recorded in the cache block metadata when the data packet is stored in a first cache level of the cache.

### Claim 6 (depends on 4)

The method of claim 4, wherein the virtual address is added to the data packet in response to the data packet exiting the cache.

### Claim 7 (depends on 1)

The method of claim 1, wherein the first type of memory comprises dynamic random access memory (DRAM), and the second type of memory comprises non-volatile memory (NVM).

### Claim 8

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 during simulation of an application interacting with a hybrid memory system, the operations comprising:
providing a first range of virtual addresses corresponding to a first type of memory in the hybrid memory system, and a second range of virtual addresses corresponding to a second type of memory in the hybrid memory system;
receiving a data packet that is to be stored in the hybrid memory system;
determining a virtual address assigned to the data packet, the virtual address being provided in cache block metadata associated with the data packet; and
storing the data packet in one of the first type of memory and the second type of memory in the hybrid memory system based on the virtual address, the first range of virtual addresses, and the second range of virtual addresses.

### Claim 9 (depends on 8)

The computer-readable storage medium of claim 8, wherein the first range of virtual addresses and the second range of virtual addresses are provided through invocation of a system call that informs memory controllers of the starting virtual address ending virtual address for the first type of memory, and the starting virtual address and ending virtual address for the second type of memory.

### Claim 10 (depends on 9)

The computer-readable storage medium of claim 9, wherein the system call is invoked at execution of the application.

### Claim 11 (depends on 8)

The computer-readable storage medium of claim 8, wherein the virtual address is recorded in the cache block metadata when the data packet is stored in a cache.

### Claim 12 (depends on 11)

The computer-readable storage medium of claim 11, wherein the cache comprises a multi-level cache and the virtual address is recorded in the cache block metadata when the data packet is stored in a first cache level of the cache.

### Claim 13 (depends on 11)

The computer-readable storage medium of claim 11, wherein the virtual address is added to the data packet in response to the data packet exiting the cache.

### Claim 14 (depends on 8)

The computer-readable storage medium of claim 8, wherein the first type of memory comprises dynamic random access memory (DRAM), and the second type of memory comprises non-volatile memory (NVM).

### Claim 15

A system, comprising:
a computing device; and
a computer-readable storage device coupled to the computing device and having instructions stored thereon which, when executed by the computing device, cause the computing device to perform operations during simulation of an application interacting with a hybrid memory system, the operations comprising:
providing a first range of virtual addresses corresponding to a first type of memory in the hybrid memory system, and a second range of virtual addresses corresponding to a second type of memory in the hybrid memory system;
receiving a data packet that is to be stored in the hybrid memory system;
determining a virtual address assigned to the data packet, the virtual address being provided in cache block metadata associated with the data packet; and
storing the data packet in one of the first type of memory and the second type of memory in the hybrid memory system based on the virtual address, the first range of virtual addresses, and the second range of virtual addresses.

### Claim 16 (depends on 15)

The system of claim 15, wherein the first range of virtual addresses and the second range of virtual addresses are provided through invocation of a system call that informs memory controllers of the starting virtual address ending virtual address for the first type of memory, and the starting virtual address and ending virtual address for the second type of memory.

### Claim 17 (depends on 16)

The system of claim 16, wherein the system call is invoked at execution of the application.

### Claim 18 (depends on 15)

The system of claim 15, wherein the virtual address is recorded in the cache block metadata when the data packet is stored in a cache.

### Claim 19 (depends on 18)

The system of claim 18, wherein the cache comprises a multi-level cache and the virtual address is recorded in the cache block metadata when the data packet is stored in a first cache level of the cache.

### Claim 20 (depends on 18)

The system of claim 18, wherein the virtual address is added to the data packet in response to the data packet exiting the cache.
