IP Library Granted Patent US 9,665,495
Granted Patent B2
US 9,665,495 · App. 15/347,963 · Granted May 30, 2017

Methods and systems for throttling writes to a caching device in response to read misses

Inventors: Umesh Maheshwari (San Jose, CA); Varun Mehta (Los Altos Hills, CA)
Assignee: NIMBLE STORAGE, INC.
G06F12/0888G06F3/0616G06F3/0659G06F3/0685G06F2212/1036G06F2212/222G06F2212/60
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,665,495
App. No.
15/347,963
Granted
May 30, 2017
Kind
B2
Abstract

A storage device includes a flash memory-based cache for a hard disk-based storage device and a controller that is configured to limit the rate of cache updates through a variety of mechanisms, including determinations that the data is not likely to be read back from the storage device within a time period that justifies its storage in the cache, compressing data prior to its storage in the cache, precluding storage of sequentially-accessed data in the cache, and/or throttling storage of data to the cache within predetermined write periods and/or according to user instruction.

Claims (29)

1. A method for throttling cache updates in a storage system having a caching device and a storage device, the method comprising:

for each of a plurality of write periods of the storage system, each of the write periods having an associated threshold number of permitted writes to the caching device, receiving a request to read data that is stored on the storage system, and, upon determining that the requested data is stored on the storage device, but not on the caching device, then:

(i) if a number of writes to the caching device for the write period is less than or equal to the threshold number of permitted writes, reading the requested data from the storage device and storing the requested data in the caching device; otherwise,

(ii) if the number of writes to the caching device for the write period is greater than the threshold number of permitted writes for the write period, reading the requested data from the storage device without storing the requested data in the caching device.

2. The method of claim 1 , wherein the threshold number of permitted writes corresponding to each of the write periods is a fixed value.

3. The method of claim 1 , wherein the threshold number of permitted writes corresponding to each of the write periods is updated periodically.

4. The method of claim 1 , wherein the threshold number of permitted writes corresponding to each of the write periods is determined by dividing a number of writes that are permitted to the caching device during a remaining lifetime of the storage system by a number of write periods left in the remaining lifetime of the storage system.

5. The method of claim 1 , wherein the requested data is compressed before being stored in the caching device.

6. The method of claim 1 , wherein the caching device is configured with a log-structured file system, and the requested data is stored at an end of a log of the log-structured file system.

7. The method of claim 1 , wherein the caching device is configured with a log-structured file system, and a compressed version of the requested data is stored at an end of a log of the log-structured file system.

8. A storage system, comprising a caching device, a storage device, and a storage controller communicatively coupled to the caching device and the storage device, the storage controller configured to:

for each of a plurality of write periods of the storage system, each of the write periods having an associated threshold number of permitted writes to the caching device, receive a request to read data that is stored on the storage system, and, upon determining that the requested data is stored on the storage device, but not on the caching device, then:

(i) if a number of writes to the caching device for the write period is less than or equal to the threshold number of permitted writes, read the requested data from the storage device and store the requested data in the caching device; otherwise,

(ii) if the number of writes to the caching device for the write period is greater than the threshold number of permitted writes for the write period, read the requested data from the storage device without storing the requested data in the caching device.

9. The storage system of claim 8 , wherein the caching device is a flash-based caching device.

10. The storage system of claim 8 , wherein the storage device is a disk-based storage device.

11. The storage system of claim 8 , wherein the caching device and the storage device are integrated together in a single device.

12. The storage system of claim 8 , wherein the caching device and the storage device are two separate devices that are communicatively coupled to one another.

13. The storage system of claim 8 , further comprising a host interface configured to communicatively couple the storage system to a host machine.

14. A non-transitory computer-readable storage medium comprising software instructions stored thereon for throttling cache updates in a storage system having a caching device and a storage device, wherein execution of the set of instructions by a controller of the storage system causes the controller to:

for each of a plurality of write periods of the storage system, each of the write periods having an associated threshold number of permitted writes to the caching device, receive a request to read data that is stored on the storage system, and, upon determining that the requested data is stored on the storage device, but not on the caching device, then:

(i) if a number of writes to the caching device for the write period is less than or equal to the threshold number of permitted writes, read the requested data from the storage device and store the requested data in the caching device; otherwise,

(ii) if the number of writes to the caching device for the write period is greater than the threshold number of permitted writes for the write period, read the requested data from the storage device without storing the requested data in the caching device.

15. The non-transitory computer-readable storage medium of claim 14 , wherein the threshold number of permitted writes corresponding to each of the write periods is a fixed value.

16. The non-transitory computer-readable storage medium of claim 14 , wherein the threshold number of permitted writes corresponding to each of the write periods is updated periodically.

17. The non-transitory computer-readable storage medium of claim 14 , wherein the threshold number of permitted writes corresponding to each of the write periods is determined by dividing a number of writes that are permitted to the caching device during a remaining lifetime of the storage system by a number of write periods left in the remaining lifetime of the storage system.

18. The non-transitory computer-readable storage medium of claim 14 , wherein the requested data is compressed before being stored in the caching device.

19. The non-transitory computer-readable storage medium of claim 14 , wherein the caching device is configured with a log-structured file system, and the requested data is stored at an end of a log of the log-structured file system.

20. The non-transitory computer-readable storage medium of claim 14 , wherein the caching device is configured with a log-structured file system, and a compressed version of the requested data is stored at an end of a log of the log-structured file system.

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 Nov 10, 2016
From: MAHESHWARI, UMESH; MEHTA, VURUN
To: NIMBLE STORAGE, INC.
Reel/Frame 040275/0929 →
Continuity (4)
Continuation 14953970 · Nov 30, 2015
Continuation 14473992 · Aug 29, 2014
Continuation 12836520 · Jul 14, 2010
Related Publication 20170060763A1 · Mar 2, 2017