# US 2023/0067281 A1 · Consolidating write request in cache memory

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

- Number: US 2023/0067281 A1
- Document ID: US20230067281A1
- Status: Published application
- Kind: A1
- Application number: 17/446,746
- Filed: 2021-09-02
- Published: 2023-03-02
- Earliest claimed: 2021-09-02
- Assignees: Micron Technology, Inc.
- Applicants: Micron Technology, Inc.
- Inventors: Ning Chen; Jiangli Zhu; Yi-Min Lin; Fangfang Zhu
- Web page: https://patentgrep.com/patent/US20230067281A1

## CPC

- G06F 3/0659: {Command handling arrangements, e.g. command buffers, queues, command scheduling}
- G06F 3/0688: {Non-volatile semiconductor memory arrays}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0665: {at area level, e.g. provisioning of virtual or logical volumes}
- G06F 3/0679: {Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A write request directed to the non-volatile memory device is received. A stripe associated with an address specified by the write request is present in the volatile memory device is determined. The volatile memory device includes a plurality of stripes, each stripe of the plurality of stripes having a plurality of managed units. The write request on a managed unit of the stripe in the volatile memory device is performed. The stripe in the volatile memory device is evicted to a stripe in the non-volatile memory device.

## Claims

### Claim 1

A system comprising:
a non-volatile memory device;
a volatile memory device; and
a processing device, operatively coupled with the non-volatile memory device and the volatile memory device, to perform operations comprising:
receiving a write request directed to the non-volatile memory device;
determining whether a stripe associated with an address specified by the write request is present in the volatile memory device, wherein the volatile memory device includes a plurality of stripes, each stripe of the plurality of stripes comprising a plurality of managed units;
responsive to determining that the stripe associated with the write request is present in the volatile memory device, performing the write request on a managed unit of the stripe in the volatile memory device; and
responsive to determining that the stripe in the volatile memory device is full, evicting the stripe in the volatile memory device to a stripe in the non-volatile memory device.

### Claim 2 (depends on 1)

The system of claim 1, wherein the operations further comprise:
copying the stripe from the volatile memory device into a buffer queue; and
copying the stripe from the buffer queue into the non-volatile memory device after a previous stripe in the buffer queue has been copied to the non-volatile memory device.

### Claim 3 (depends on 2)

The system of claim 2, wherein the operation further comprise:
responsive to copying the stripe from the buffer queue into the non-volatile memory device, determining a redundancy metadata associated with the stripe of the non-volatile memory device; and
storing, on the non-volatile memory device, the redundancy metadata associated with the stripe of the non-volatile memory device.

### Claim 4 (depends on 3)

The system of claim 3, wherein the redundancy metadata reflects an XOR parity of the stripe of the non-volatile memory device.

### Claim 5 (depends on 1)

The system of claim 1, wherein the plurality of stripes are stored in a content addressable memory of the volatile memory device.

### Claim 6 (depends on 5)

The system of claim 5, wherein determining whether the stripe associated with the write request is present in the volatile memory device further comprises:
obtaining, based on the address, a stripe information and a managed unit index; and
comparing the stripe information with a plurality of stripes stored in volatile memory device.

### Claim 7 (depends on 6)

The system of claim 6, wherein performing the write request on the managed unit of the stripe in the volatile memory device includes determining, based on the managed unit index, the managed unit of the stripe in the volatile memory device to perform the write request.

### Claim 8 (depends on 1)

The system of claim 1, wherein a size of the stripe in the volatile memory device and a size of the stripe in the non-volatile memory device corresponding to the volatile memory device are equivalent in size.

### Claim 9

A method, comprising:
receiving a write request directed to a non-volatile memory device;
determining whether a stripe associated with an address specified by the write request is present in the volatile memory device, wherein the volatile memory device includes a plurality of stripes, each stripe of the plurality of stripes comprising a plurality of managed units;
responsive to determining that the stripe associated with the write request is present in the volatile memory device, performing the write request on a managed unit of the stripe in the volatile memory device; and
responsive to determining that the stripe in the volatile memory device is full, evicting the stripe in the volatile memory device to a stripe in the non-volatile memory device.

### Claim 10 (depends on 9)

The method of claim 9, further comprising:
copying the stripe from the volatile memory device into a buffer queue; and
copying the stripe from the buffer queue into the non-volatile memory device after an operation corresponding to a preceding stripe is performed on the non-volatile memory device.

### Claim 11 (depends on 10)

The method of claim 10, further comprising:
responsive to evicting the stripe from the buffer queue into the non-volatile memory device;
determining a redundancy metadata associated with the stripe of the non-volatile memory device; and
storing, on the non-volatile memory device, the redundancy metadata associated with the stripe of the non-volatile memory device.

### Claim 12 (depends on 11)

The method of claim 11, wherein the redundancy metadata reflects an XOR parity of the stripe of the non-volatile memory device.

### Claim 13 (depends on 9)

The method of claim 9, wherein the plurality of stripes are stored in a content addressable memory of the volatile memory device.

### Claim 14 (depends on 13)

The method of claim 13, wherein determining whether the stripe associated with the write request is present in the volatile memory device further comprises:
obtaining, based on the address, a stripe information and a managed unit index; and
comparing the stripe information with a plurality of stripes stored in volatile memory device.

### Claim 15 (depends on 14)

The method of claim 14, wherein performing the write request on the managed unit of the stripe in the volatile memory device includes determining, based on the managed unit index, the managed unit of the stripe in the volatile memory device to perform the write request.

### Claim 16 (depends on 9)

The method of claim 9, wherein a size of the stripe in the volatile memory device and a size of the stripe in the non-volatile memory device corresponding to the volatile memory device are equivalent in size.

### Claim 17

A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to perform operations comprising:
receiving, by a controller managing a volatile memory device and a non-volatile memory device, a write request directed to the non-volatile memory device, wherein the write request comprises an address for data to be written;
determining whether a stripe information associated with the address corresponds to a stripe stored in the volatile memory device, wherein the volatile memory device comprises a plurality of stripes;
responsive to determining that the stripe information associated with the address of the write request corresponds to the stripe, performing, based on a managed unit index of the write request, a write operation in a managed unit of the stripe; and
delaying eviction of the stripe in the volatile memory device until the stripe is full.

### Claim 18 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, wherein a size of the stripe in the volatile memory device corresponding to the stripe in the non-volatile memory device are equivalent in size.

### Claim 19 (depends on 17)

The non-transitory computer-readable storage medium of claim 17, further comprising:
evicting the stripe from the volatile memory device into a buffer queue; and
evicting the stripe from the buffer queue into the non-volatile memory device after a previous stripe is copied into the non-volatile memory device.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium of claim 19, further comprising:
responsive to evicting the stripe from the buffer queue into the non-volatile memory device, determining a redundancy metadata associated with the stripe of the non-volatile memory device, wherein the redundancy metadata reflects an XOR parity of the stripe of the non-volatile memory device; and
storing, on the non-volatile memory device, the redundancy metadata associated with the stripe of the non-volatile memory device.
