Cache migration
AssigneeVMware, Inc.
InventorsWenjin Hu, Erik Cota-Robles
Life of this patent
Estimating the term…
Abstract
Exemplary methods, apparatuses, and systems determine that a cache is to be migrated from a first storage device to a second storage device. Each cache entry within the cache includes a first indicator to indicate whether or not the cache entry has long-term utility. Only a portion of all cache entries are selected to be migrated and the portion is selected from cache entries with the first indicator set to indicate long-term utility. The selected cache entries and metadata for cache entries that were not selected are migrated from the first storage device to the second storage device.
Claims20
A computer-implemented method, comprising:
- determining that a cache is to be migrated from a first storage device to a second storage device, wherein each cache entry within the cache includes an indicator to indicate whether or not the cache entry has long-term utility;
- selecting cache entries from the cache to be migrated to the second storage device, wherein only a portion of all cache entries are selected to be migrated, the portion is selected from cache entries with the indicator set to indicate long-term utility, and unselected cache entries are not migrated to the second storage device;
- and
- migrating, from the first storage device to the second storage device, the selected cache entries and metadata for the unselected cache entries that are not migrated to the second storage device.
A non-transitory computer-readable medium storing instructions, which when executed by a processing device, cause the processing device to perform a method comprising:
- determining that a cache is to be migrated from a first storage device to a second storage device, wherein each cache entry within the cache includes an indicator to indicate whether or not the cache entry has long-term utility;
- selecting cache entries from the cache to be migrated to the second storage device, wherein only a portion of all cache entries are selected to be migrated, the portion is selected from cache entries with the indicator set to indicate long-term utility, and unselected cache entries are not migrated to the second storage device;
- and
- migrating, from the first storage device to the second storage device, the selected cache entries and metadata for the unselected cache entries that are not migrated to the second storage device.
An apparatus comprising:
- a processing device, wherein the processing device executes instructions that cause the apparatus to perform a method comprising:
- determining that a cache is to be migrated from a first storage device to a second storage device, wherein each cache entry within the cache includes an indicator to indicate whether or not the cache entry has long-term utility;
- selecting cache entries from the cache to be migrated to the second storage device, wherein only a portion of all cache entries are selected to be migrated, the portion is selected from cache entries with the indicator set to indicate long-term utility, and unselected cache entries are not migrated to the second storage device;
- and
- migrating, from the first storage device to the second storage device, the selected cache entries and metadata for the unselected cache entries that are not migrated to the second storage device.
Dependencies are inferred from the claim text.