×

Method and system for window-based churn handling in data cache

  • US 10,496,290 B1
  • Filed: 04/11/2017
  • Issued: 12/03/2019
  • Est. Priority Date: 04/11/2017
  • Status: Active Grant
First Claim
Patent Images

1. A computer-implemented method for controlling access to a cache memory device, the method comprising:

  • receiving a request from a client for writing a data segment associated with a file object stored to a storage system;

    in response to the request, writing the data segment to one of a plurality of storage units of the storage system;

    determining, in the storage system, a hierarchy of file regions of the file object based on access frequency and access recency of the file regions of the file object, wherein a first portion of the hierarchy of file regions is designated as top hot file regions based on a first percentage;

    calculating a miss rate of a solid state device (SSD) operating as a cache memory device based on a plurality of previous requests from the client;

    automatically adjusting, based on the calculated miss rate of the SSD, the first percentage to a second percentage, the second percentage used to determine a second portion of the hierarchy of file regions as top hot file regions of the file object;

    determining whether an amount of access to a solid state device (SSD) operating as a cache memory device exceeds an access threshold based on a time window distribution, wherein the access threshold is a desired average of writes per day (WPD) to the SSD over a predetermined period of time; and

    throttling access to the SSD for caching data in response to determining that the amount of access to the SSD has exceeded the access threshold, including writing the data segment to the SSD in response to determining that the data segment is associated with a top hot file region in the second portion of the hierarchy of file regions, and discarding the data segment in response to determining that the data segment is not associated with a top hot file region in the second portion of the hierarchy of file regions.

View all claims
  • 7 Assignments
Timeline View
Assignment View
    ×
    ×