×

Least recently used eviction implementation

  • US 7,971,001 B2
  • Filed: 12/28/2004
  • Issued: 06/28/2011
  • Est. Priority Date: 12/28/2004
  • Status: Active Grant
First Claim
Patent Images

1. A method, comprising:

  • using one or more processors to process program code, the program code to perform the following;

    configuring management of a region of a cache by selecting one of a plurality of sorting policies for an eviction policy plug-in, said eviction policy plug-in comprising an eviction timing method to create free space within said region of cache by triggering eviction of an object from said region of cache without increasing an allocation of storage space given to said region of cache, said eviction policy plug-in also comprising a sorting method to identify said object on the basis that said object has been used least recently compared to other objects that are cached in said region of cache;

    managing said region of cache by executing said eviction timing method and said sorting method, said executing of said eviction timing method including;

    triggering eviction of objects from said region of cache when a total count of objects in said region of cache is above a first threshold, wherein eviction of objects occurs until the total count of objects falls below the first threshold;

    triggering eviction of an object from said region of cache in response to another object being newly entered into said region of cache when the total count of objects in said region of cache is above a second threshold said second threshold corresponding to less usage of said region of cache than said first threshold;

    triggering eviction of objects from said region of cache on a timed basis when the total count of objects in said region of cache is above a third threshold, said third threshold corresponding to less usage of said region of cache than said first threshold; and

    triggering eviction of an object from said region of cache when said object resides in said region of cache for more than an amount of time specified by a time-to-live attribute for said object.

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