Methods and systems for erasing a segment from a flash cache

US9697133B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-9697133-B2
Application numberUS-201615218299-A
CountryUS
Kind codeB2
Filing dateJul 25, 2016
Priority dateDec 11, 2009
Publication dateJul 4, 2017
Grant dateJul 4, 2017

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A storage device made up of multiple storage media is configured such that one such media serves as a cache for data stored on another of such media. The device includes a controller configured to manage the cache by consolidating information concerning obsolete data stored in the cache with information concerning data no longer desired to be stored in the cache, and erase segments of the cache containing one or more of the blocks of obsolete data and the blocks of data that are no longer desired to be stored in the cache to produce reclaimed segments of the cache.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for performing garbage collection on a collection of segments stored on a flash cache, each of the segments including a plurality of blocks, the method comprising: determining a temperature of each of the blocks within each of the segments; determining whether each of the blocks within each of the segments is obsolete; selecting a segment from the collection of segments based on a first and second characteristic of each of the blocks within each of the segments, wherein the first characteristic is the determined temperature of the block, and the second characteristic is whether the block was determined to be obsolete; and erasing the selected segment from the flash cache to produce a reclaimed segment of the flash cache. 2. The method of claim 1 , wherein a cache management process determines the temperature of each of the blocks within each of the segments. 3. The method of claim 2 , wherein a garbage collection process determines whether each of the blocks within each of the segments is obsolete. 4. The method of claim 3 , wherein the temperature of each of the blocks within each of the segments is provided by the cache management process to the garbage collection process. 5. The method of claim 1 , further comprising, for each of the blocks within each of the segments, determining whether the block is cold based on the temperature of the block. 6. The method of claim 1 , further comprising, prior to erasing the selected segment from the flash cache, copying at least one non-obsolete and non-cold block from the selected segment to a segment not belonging to the collection of segments. 7. The method of claim 1 , wherein for each of the blocks within each of the segments, the temperature of the block indicates a likelihood that the block will be accessed. 8. The method of claim 1 , wherein for each of the blocks within each of the segments, the block is determined to be obsolete if a more recent version of the block is present on the flash cache. 9. The method of claim 1 , wherein for each of the blocks within each of the segments, the block is determined to be obsolete if the block will no longer be accessed. 10. The method of claim 1 , wherein the collection of segments is further stored on one or more hard disks. 11. A storage system, comprising (i) a flash cache that stores a collection of segments, each of the segments storing a plurality of blocks, and (ii) a controller communicatively coupled to the flash cache, wherein the controller is configured to: determine a temperature of each of the blocks within each of the segments; determine whether each of the blocks within each of the segments is obsolete; select a segment from the collection of segments based on a first and second characteristic of each of the blocks within each of the segments, wherein the first characteristic is the determined temperature of the block, and the second characteristic is whether the block was determined to be obsolete; and erase the selected segment from the flash cache to produce a reclaimed segment of the flash cache. 12. The storage system of claim 11 , wherein a cache management process determines the temperature of each of the blocks within each of the segments. 13. The storage system of claim 12 , wherein a garbage collection process determines whether each of the blocks within each of the segments is obsolete. 14. The storage system of claim 13 , wherein the controller is further configured to provide a temperature of each of the blocks within each of the segments from the cache management process to the garbage collection process. 15. The storage system of claim 11 , wherein the controller is further configured to, for each of the blocks within each of the segments, determine whether the block is cold based on the temperature of the block. 16. The storage system of claim 11 , wherein the controller is further configured to, prior to erasing the selected segment from the flash cache, copy at least one non-obsolete and non-cold block from the selected segment to a segment not belonging to the collection of segments. 17. The storage system of claim 11 , wherein for each of the blocks within each of the segments, the temperature of the block indicates a likelihood that the block will be accessed. 18. The storage system of claim 11 , wherein for each of the blocks within each of the segments, the controller is configured to determine the block to be obsolete if a more recent version of the block is present on the flash cache. 19. The storage system of claim 11 , wherein for each of the blocks within each of the segments, the controller is configured to determine the block to be obsolete if the block will no longer be accessed. 20. The storage system of claim 11 , further comprising one or more hard disks that are configured to store the collection of segments.

Assignees

Inventors

Classifications

  • Logical to physical mapping or translation of blocks or pages · CPC title

  • Conservative garbage collection · CPC title

  • for memories with random access ports synchronised on clock signal pulse trains, e.g. synchronous memories, self timed memories · CPC title

  • Cleaning, compaction, garbage collection, erase control · CPC title

  • Details relating to dynamic memory management · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US9697133B2 cover?
A storage device made up of multiple storage media is configured such that one such media serves as a cache for data stored on another of such media. The device includes a controller configured to manage the cache by consolidating information concerning obsolete data stored in the cache with information concerning data no longer desired to be stored in the cache, and erase segments of the cache…
Who is the assignee on this patent?
Nimble Storage Inc
What technology area does this patent fall under?
Primary CPC classification G06F12/0866. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Jul 04 2017 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 3 related publications on this page (citations in our corpus or others sharing the same primary CPC).