IP Library Granted Patent US 9,304,909
Granted Patent B2
US 9,304,909 · App. 14/873,520 · Granted Apr 5, 2016

Garbage collection based on temperature

Inventor: Umesh Maheshwari (San Jose, CA)
Assignee: Nimble Storage, Inc.
G06F12/0253G06F12/0246G06F12/0802G06F12/0866G06F2212/1044G06F2212/222G06F2212/604G06F2212/7205
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 9,304,909
App. No.
14/873,520
Granted
Apr 5, 2016
Kind
B2
Abstract

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.

Claims (32)

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:

receiving from a cache management routine a temperature of each of the blocks;

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 temperature of the block, and the second characteristic is whether the block is obsolete; and

erasing the selected segment from the flash cache.

2. The method of claim 1 , wherein the temperature of each of the blocks is received by a garbage collection routine.

3. The method of claim 1 , wherein the temperature of the block indicates a likelihood that the block will be accessed.

4. The method of claim 3 , wherein the likelihood that the block will be accessed is based on how frequently the block was accessed over a period of time.

5. The method of claim 1 , further comprising:

for each of the blocks, determining whether the block is cold based on the temperature of the block.

6. The method of claim 5 , further comprising:

copying non-cold and non-obsolete blocks from the selected segment to a new segment before easing the selected segment.

7. The method of claim 1 , wherein none of the blocks from the selected segment are copied to a new segment before erasing the selected segment.

8. The method of claim 1 , further comprising:

for each of the blocks, determining whether the block is obsolete.

9. The method of claim 8 , wherein the block is determined to be obsolete if a more recent version of the block has been stored on the flash cache.

10. The method of claim 8 , wherein the block is determined to be obsolete if the block will no longer be accessed.

11. A storage system, comprising 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:

receive from a cache management routine a temperature of each of the blocks;

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 temperature of the block, and the second characteristic is whether the block is obsolete; and

erase the selected segment from the flash cache.

12. The storage system of claim 11 , wherein the temperature of each of the blocks is received by a garbage collection routine.

13. The storage system of claim 11 , wherein the temperature of the block indicates a likelihood that the block will be accessed.

14. The storage system of claim 13 , wherein the likelihood that the block will be accessed is based on how frequently the block was accessed over a period of time.

15. The storage system of claim 11 , wherein the controller is further configured to:

for each of the blocks, determine whether the block is cold based on the temperature of the block.

16. The storage system of claim 15 , wherein the controller is further configured to:

copy non-cold and non-obsolete blocks from the selected segment to a new segment before erasing the selected segment.

17. The storage system of claim 11 , wherein none of the blocks from the selected segment are copied to a new segment before erasing the selected segment.

18. The storage system of claim 11 , wherein the controller is further configured to:

for each of the blocks, determine whether the block is obsolete.

19. The storage system of claim 18 , wherein the block is determined to be obsolete if a more recent version of the block has been stored in the flash cache.

20. The storage system of claim 18 , wherein the block is determined to be obsolete if the block will no longer be accessed.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 14, 2017
From: NIMBLE STORAGE, INC.
To: HEWLETT PACKARD ENTERPRISE DEVELOPMENT LP
Reel/Frame 042810/0906 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Oct 27, 2015
From: MAHESHWARI, UMESH
To: NIMBLE STORAGE, INC.
Reel/Frame 036896/0146 →
Continuity (6)
Continuation 14750734 · Jun 25, 2015
Continuation 14656568 · Mar 12, 2015
Continuation 14221894 · Mar 21, 2014
Continuation 13595211 · Aug 27, 2012
Continuation 12636693 · Dec 11, 2009
Related Publication 20160041903A1 · Feb 11, 2016