Sector-based tracking for a page cache
AssigneeMicron Technology, Inc.
InventorsRobert M. Walker, Ashay Narsale
Life of this patent
Estimating the term…
Abstract
Exemplary methods, apparatuses, and systems include identifying that a first cache line from a first cache is subject to an operation that copies data from the first cache to a non-volatile memory. A first portion of the first cache line stores clean data and a second portion of the first cache line stores dirty data. A redundant copy of the dirty data is stored in a second cache line of the first cache. In response to identifying that the first cache line is subject to the operation, metadata associated with the redundant copy of the dirty data is used to copy the dirty data to a non-volatile memory while omitting the clean data.
Claims20
A method comprising:
- identifying a cache line to be evicted from a sectored cache to a page cache;
- copying the cache line from the sectored cache to a first portion of the page cache, wherein the cache line includes one or more clean sectors of data and one or more dirty sectors of data;
- writing redundant copies of sectors of the cache line to a second portion of the page cache, wherein the writing of the redundant copies includes writing copies of the one or more dirty sectors of data and omits the one or more clean sectors of data;
- and
- updating redundant write buffer metadata to map each redundant copy of the dirty sectors of data to original copies of the dirty sectors of data in the first portion of the page cache.
A non-transitory computer-readable storage medium comprising instructions that, when executed by a processing device, cause the processing device to:
- identify a cache line to be evicted from a sectored cache to a page cache;
- copy the cache line from the sectored cache to a first portion of the page cache, wherein the cache line includes one or more clean sectors of data and one or more dirty sectors of data;
- write redundant copies of sectors of the cache line to a second portion of the page cache, wherein the writing of the redundant copies includes writing copies of the one or more dirty sectors of data and omits the one or more clean sectors of data;
- and
- update redundant write buffer metadata to map each redundant copy of the dirty sectors of data to original copies of the dirty sectors of data in the first portion of the page cache.
A system comprising:
- a plurality of memory components;
- and
- a processing device, operatively coupled with the plurality of memory components, to:
- identify a cache line to be evicted from a sectored cache to a page cache;
- copy the cache line from the sectored cache to a first portion of the page cache, wherein the cache line includes one or more clean sectors of data and one or more dirty sectors of data;
- write redundant copies of sectors of the cache line to a second portion of the page cache, wherein the writing of the redundant copies includes writing copies of the one or more dirty sectors of data and omits the one or more clean sectors of data, and wherein the first portion of the page cache is on different channel than the second portion of the page cache;
- and
- update redundant write buffer metadata to map each redundant copy of the dirty sectors of data to original copies of the dirty sectors of data in the first portion of the page cache.
Dependencies are inferred from the claim text.