Consolidating write request in cache memory
AssigneeMicron Technology, Inc.
InventorsNing Chen, Jiangli Zhu, Yi-Min Lin, Fangfang Zhu
Life of this patent
Estimating the term…
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.
Claims20
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.
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.
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.
Dependencies are inferred from the claim text.