# US 2022/0283949 A1 · MEMORY TIERING USING PCIe CONNECTED FAR MEMORY

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

- Number: US 2022/0283949 A1
- Document ID: US20220283949A1
- Status: Published application
- Kind: A1
- Application number: 17/824,685
- Filed: 2022-05-25
- Published: 2022-09-08
- Earliest claimed: 2019-08-13
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Anirban Ray; Paul Stonelake; Samir Mittal; Gurpreet Anand
- Web page: https://patentgrep.com/patent/US20220283949A1

## CPC

- G06F 12/0868: Data transfer between cache memory and other subsystems, e.g. storage devices or host systems
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0616: {in relation to life time, e.g. increasing Mean Time Between Failures [MTBF]}
- G06F 3/0653: {Monitoring storage devices or systems}
- G06F 3/0656: {Data buffering arrangements}
- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F 3/068: {Hybrid storage device}
- G06F 12/1491: {in a hierarchical protection system, e.g. privilege levels, memory rings}
- G06F 13/1668: {Details of memory controller}
- G06F 13/28: using burst mode transfer, e.g. direct memory access {DMA}, cycle steal (G06F13/32 takes precedence)
- G06F 13/4282: {on a serial bus, e.g. I2C bus, SPI bus (on daisy chain buses G06F13/4247)}
- G06F 2212/152: Virtualized environment, e.g. logically partitioned system
- G06F 2212/206: Memory mapped I/O
- G06F 2212/214: Solid state disk
- G06F 2212/261: Storage comprising a plurality of storage devices
- G06F 2213/0026: PCI express
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A processing device in a host system monitors a data temperature of a plurality of memory pages stored in a host-addressable region of a cache memory component operatively coupled with the host system. The processing device determines that a first memory page of the plurality of memory pages satisfies a first threshold criterion pertaining to the data temperature of the first memory page and sends a first migration command indicating the first memory page to a direct memory access (DMA) engine executing on a memory-mapped storage component operatively coupled with the cache memory component and with the memory-mapped storage component via a peripheral component interconnect express (PCIe) bus. The first migration command causes the DMA engine to initiate a first DMA transfer of the first memory page from the cache memory component to a host-addressable region of the memory-mapped storage component.

## Claims

### Claim 1

A system comprising:
a first memory device;
a cache memory device; and
a processing device, operatively coupled with the first memory device and with the cache memory device, to perform operations comprising:
determining that a value representing an access pattern of a first segment of the first memory device is greater than or equal to a first threshold value;
sending an indication of the first segment having the value representing the access pattern being greater than or equal to the first threshold value to a migration agent executing on a host system coupled to the first memory device via-a peripheral component interconnect express (PCIe) bus;
receiving, via the PCIe bus, a first migration command from the migration agent executing on the host system, the first migration command indicating the first segment; and
responsive to receiving the first migration command, initiating a first direct memory access (DMA) transfer, via a channel separate from the PCIe bus, of the first segment from the first memory device to the cache memory device.

### Claim 2 (depends on 1)

The system of claim 1, wherein determining that the value representing the access pattern of the first segment of the first memory device is greater than or equal to the first threshold value comprises determining that at least one of a number of data accesses, a frequency of data accesses, or a recency of data accesses directed to the first segment exceeds the first threshold value.

### Claim 3 (depends on 1)

The system of claim 1, wherein the processing device is to perform operations further comprising:
receiving a second migration command from the migration agent executing on the host system, the second migration command indicating a second segment stored in a host-addressable region of the cache memory device.

### Claim 4 (depends on 3)

The system of claim 3, wherein the processing device is to perform operations further comprising:
responsive to receiving the second migration command, initiating a second DMA transfer of the second segment from the cache memory device to a host-addressable region of the first memory device.

### Claim 5 (depends on 4)

The system of claim 4, wherein the second segment satisfies a second threshold criterion pertaining to the access pattern of the second segment.

### Claim 6 (depends on 5)

The system of claim 5, wherein the second segment satisfies the second threshold criterion when at least one a number of data accesses, a frequency of data accesses, or a recency of data accesses directed to the second segment is below a second threshold.

### Claim 7 (depends on 1)

The system of claim 1, wherein the processing device is to perform operations further comprising:
advertising an address range representing a host-addressable region of the first memory device to the host system, wherein the host system is to maintain an indication of the host-addressable region of the first memory device in a page table stored in the cache memory device.

### Claim 8

A method of operation of a memory sub-system comprising:
determining that a value representing an access pattern of a first segment of a first memory device is greater than or equal to a first threshold value;
sending an indication of the first segment having the value representing the access pattern being greater than or equal to the first threshold value to a migration agent executing on a host system coupled to the first memory device via a peripheral component interconnect express (PCIe) bus;
receiving, via the PCIe bus, a first migration command from the migration agent executing on the host system, the first migration command indicating the first segment; and
responsive to receiving the first migration command, initiating a first direct memory access (DMA) transfer, via a channel separate from the PCIe bus, of the first segment from the first memory device to a cache memory device operatively coupled with the host system.

### Claim 9 (depends on 8)

The method of claim 8, wherein determining that the value representing the access pattern of the first segment of the first memory device is greater than or equal to the first threshold value comprises determining that at least one of a number of data accesses, a frequency of data accesses, or a recency of data accesses directed to the first segment exceeds the first threshold value.

### Claim 10 (depends on 8)

The method of claim 8, further comprising:
receiving a second migration command from the migration agent executing on the host system, the second migration command indicating a second segment stored in a host-addressable region of the cache memory device.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
responsive to receiving the second migration command, initiating a second DMA transfer of the second segment from the cache memory device to a host-addressable region of the first memory device.

### Claim 12 (depends on 11)

The method of claim 11, wherein the second segment satisfies a second threshold criterion pertaining to the access pattern of the second segment.

### Claim 13 (depends on 12)

The method of claim 12, wherein the second segment satisfies the second threshold criterion when at least one a number of data accesses, a frequency of data accesses, or a recency of data accesses directed to the second segment is below a second threshold.

### Claim 14 (depends on 8)

The method of claim 8, further comprising:
advertising an address range representing a host-addressable region of the first memory device to the host system, wherein the host system is to maintain an indication of the host-addressable region of the first memory device in a page table stored in the cache memory device.

### Claim 15

A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to:
determining that a value representing an access pattern of a first segment of a first memory device is greater than or equal to a first threshold value;
sending an indication of the first segment having the value representing the access pattern being greater than or equal to the first threshold value to a migration agent executing on a host system coupled to the first memory device via a peripheral component interconnect express (PCIe) bus;
receiving, via the PCIe bus, a first migration command from the migration agent executing on the host system, the first migration command indicating the first segment; and
responsive to receiving the first migration command, initiating a first direct memory access (DMA) transfer, via a channel separate from the PCIe bus, of the first segment from the first memory device to a cache memory device operatively coupled with the host system.

### Claim 16 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein determining that the value representing the access pattern of the first segment of the first memory device is greater than or equal to the first threshold value comprises determining that at least one of a number of data accesses, a frequency of data accesses, or a recency of data accesses directed to the first segment exceeds the first threshold value.

### Claim 17 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions cause the processing device to perform operations further comprising:
receiving a second migration command from the migration agent executing on the host system, the second migration command indicating a second segment stored in a host-addressable region of the cache memory device; and
responsive to receiving the second migration command, initiating a second DMA transfer of the second segment from the cache memory device to a host-addressable region of the first memory device.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage of claim 17, wherein the second segment satisfies a second threshold criterion pertaining to the access pattern of the second segment.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage of claim 18, wherein the second segment satisfies the second threshold criterion when at least one a number of data accesses, a frequency of data accesses, or a recency of data accesses directed to the second segment is below a second threshold.

### Claim 20 (depends on 15)

The non-transitory computer-readable storage medium of claim 15, wherein the instructions cause the processing device to perform operations further comprising:
advertising an address range representing a host-addressable region of the first memory device to the host system, wherein the host system is to maintain an indication of the host-addressable region of the first memory device in a page table stored in the cache memory device.
