# US 2021/0173586 A1 · Method and system for providing processor-addressable persistent memory to guest operating systems in a storage system

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

- Number: US 2021/0173586 A1
- Document ID: US20210173586A1
- Status: Published application
- Kind: A1
- Application number: 16/705,307
- Filed: 2019-12-06
- Published: 2021-06-10
- Earliest claimed: 2019-12-06
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Matthew H. Fredette; Jonathan I. Krasner; Jean-Pierre Bono; Chakib Ouarraoui; Adnan Sahin
- Web page: https://patentgrep.com/patent/US20210173586A1

## CPC

- G06F 12/10: Address translation
- G06F 12/109: for multiple virtual address spaces, e.g. segmentation (G06F12/1036 takes precedence)
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F 12/1072: Decentralised address translation, e.g. in distributed shared memory systems
- G06F 2009/45583: {Memory management, e.g. access or allocation}
- G06F 2212/1048: Scalability
- G06F 2212/1056: Simplification
- G06F 2212/151: Emulated environment, e.g. virtual machine
- G06F 2212/651: Multi-level translation tables
- G06F 2212/657: Virtual address space management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for managing data includes obtaining, by a hypervisor on a host computing device, a write request for storing first data, and in response to the write request: identifying a first set of memory segments associated with the first data using a memory mapper, wherein the first set of memory segments is associated with a memory device, making a first determination that the memory device is local to the host computing device, and in response to the first determination: storing the first data in the first set of memory segments.

## Claims

### Claim 1

A method for managing data, the method comprising:
sending, by a hypervisor, memory mapping information to a client virtual machine (VM), wherein the hypervisor and the client VM are executing on a host computing device and wherein the memory mapping information specifies that a first memory device segment of a first memory device is mapped to a first guest OS virtual memory segment;
after the sending, receiving, by the hypervisor, a write request for storing first data, wherein the write request specifies the first guest OS virtual memory segment; and
in response to the write request:
making, using the memory mapper, a first determination that the first guest OS virtual memory segment is mapped to the first memory device segment; and
in response to the first determination, storing the first data in the first memory device segment.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
after the sending, receiving, by the hypervisor, a second write request for storing second data, wherein the second write request specifies a second guest OS virtual memory segment; and
in response to the write request:
making, using the memory mapper, a first determination that the second guest OS virtual memory segment is mapped to a second memory device segment of a second memory device; and
in response to the second determination, storing the second data in the second memory device segment.

### Claim 3 (depends on 2)

The method of claim 2, wherein the first memory device and the second memory device are located on the host computing device.

### Claim 4 (depends on 2)

The method of claim 2, wherein the first memory device is located on the host computing device and the second memory device is located on a second computing device.

### Claim 5 (depends on 1)

The method of claim 1, wherein the first memory device is located on a second host computing device that is external to the host computing device.

### Claim 6 (depends on 1)

The method of claim 1, wherein the first memory device is a persistent memory (PMem) device.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
sending, by the hypervisor, second memory mapping information to a second client VM, wherein the second client VM is executing on the host computing device and wherein the second memory mapping information specifies that a second memory device segment of the first memory device is mapped to a second guest OS virtual memory segment.

### Claim 8

A non-transitory computer readable medium comprising computer readable program code, which when executed by a computer processor enables the computer processor to perform a method for managing data, the method comprising:
obtaining, by a hypervisor on a host computing device, a write request for storing first data; and
in response to the write request:
identifying a first set of memory segments associated with the first data using a memory mapper, wherein the first set of memory segments is associated with a memory device;
making a first determination that the memory device is local to the host computing device; and
in response to the first determination:
storing the first data in the first set of memory segments.

### Claim 9 (depends on 8)

The non-transitory computer readable medium of claim 8, the method further comprising:
obtaining, by the hypervisor, a second write request for storing second data; and
in response to the second write request:
identifying a second set of memory segments associated with the second data using the memory mapper, wherein the second set of memory segments is associated with a second memory device;
making a second determination that the memory device is not local to the host computing device; and
in response to the second determination:
sending a second request to a second host computing device, wherein the second memory device is associated with the second host computing device.

### Claim 10

The non-transitory computer readable medium of 9, further comprising:
prior to obtaining the second write request, sending memory mapping information to a client virtual machine (VM),
wherein the memory mapping information specifies that the second set of memory segments are associated with the second memory device, and
wherein the memory mapping information further specifies that the second memory device is not local.

### Claim 11

The non-transitory computer readable medium of 8, further comprising:
prior to obtaining the write request, sending the memory mapping information to the client VM,
wherein the memory mapping information specifies that the first set of memory segments are associated with the memory device, and
wherein the memory mapping information further specifies that the memory device is local.

### Claim 12

The non-transitory computer readable medium of 8, wherein the write request specifies a set of virtual memory segments, and wherein the memory mapper stores a virtual memory space mapping that specifies a mapping between the set of virtual memory segments and the first set of memory segments.

### Claim 13

The non-transitory computer readable medium of 12, wherein identifying the first set of memory segments comprises:
analyzing the virtual space memory mapping to identify the set of virtual memory segments; and
identifying the first set of memory segments based on the mapping between the set of virtual memory segments and the first set of memory segments.

### Claim 14

The non-transitory computer readable medium of 12, wherein updating the memory mapper comprises specifying that the first set of virtual memory segments in the virtual memory space mapping are used to store the first data.

### Claim 15

A system, comprising:
a processor;
a hypervisor executing on the processor;
a memory device; and
wherein the hypervisor is programmed to:
obtain a write request for storing first data; and
in response to the write request:
identify a first set of memory segments associated with the first data using a memory mapper, wherein the first set of memory segments is associated with the memory device;
make a first determination that the memory device is local to the host computing device; and
in response to the first determination:
store the first data in the first set of memory segments.

### Claim 16 (depends on 15)

The system of claim 15, the hypervisor further programmed to:
obtain a second write request for storing second data; and
in response to the second write request:
identify a second set of memory segments associated with the second data using the memory mapper, wherein the second set of memory segments is associated with a second memory device;
make a second determination that the memory device is not local to the host computing device; and
in response to the second determination:
send a second request to a second host computing device, wherein the second memory device is associated with the second host computing device.

### Claim 17 (depends on 16)

The system of claim 16, wherein the hypervisor is further programmed to:
prior to obtaining the second write request, send memory mapping information to a client virtual machine (VM),
wherein the memory mapping information specifies that the second set of memory segments are associated with the second memory device, and
wherein the memory mapping information further specifies that the second memory device is not local.

### Claim 18 (depends on 15)

The system of claim 15, wherein the hypervisor is further programmed to:
prior to obtaining the write request, send the memory mapping information to the client VM,
wherein the memory mapping information specifies that the first set of memory segments are associated with the memory device, and
wherein the memory mapping information further specifies that the memory device is local.

### Claim 19 (depends on 15)

The system of claim 15, wherein the write request specifies a set of virtual memory segments, and wherein the memory mapper stores a virtual memory space mapping that specifies a mapping between the set of virtual memory segments and the first set of memory segments.

### Claim 20 (depends on 19)

The system of claim 19, wherein identify the first set of memory segments comprises:
analyzing the virtual space memory mapping to identify the set of virtual memory segments; and
identifying the first set of memory segments based on the mapping between the set of virtual memory segments and the first set of memory segments.
