×

Access-based eviction of blocks from solid state drive cache memory

  • US 10,019,364 B2
  • Filed: 09/02/2016
  • Issued: 07/10/2018
  • Est. Priority Date: 02/17/2015
  • Status: Active Grant
First Claim
Patent Images

1. A method comprising:

  • maintaining, in a first memory, a plurality of segments, each segment including a plurality of blocks, and maintaining, in a second memory, a block temperature for each block of each plurality of blocks, wherein the first memory is a read-cache memory where one segment is written at a time, wherein each block is readable from the first memory without reading a corresponding complete segment, a first block temperature of a first block of the blocks being based on a frequency of access of the first block, and a second block temperature of a second block of the blocks assigned to a predefined temperature value responsive to the second block being pinned to a cache, wherein a segment temperature for each respective segment is based on block temperatures for the corresponding plurality of blocks within the respective segment;

    selecting a segment from the plurality of segments with a lowest segment temperature for eviction based on block temperatures from the second memory;

    identifying blocks in the selected segment with a block temperature greater than a threshold temperature;

    evicting the selected segment from the first memory; and

    writing to the first memory a new segment having the identified blocks.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×