Method and system for cache management
First Claim
Patent Images
1. A method of cache management, the method comprising:
- defining a plurality of categories for categorizing cache entries;
for each category of the plurality of categories, determining a valid period applicable to cache entries in the category;
responsive to creation of entry into a cache of a first cache entry, determining a selected category, of the plurality of categories, for the first cache entry; and
removing the first cache entry from the cache at the end of the valid period for the selected category;
wherein the definition of the plurality of categories includes;
receiving a plurality of training cache entries, associated attribute information and associated invalidation information, with the invalidation information relating to the time at which its associated training cache entry becomes non-functional,grouping the plurality of training cache entries into a plurality of training cache entry groups based upon the attribute information of the training cache entries, andsetting rules to define the plurality of categories based on the grouping of the plurality of training cache entries.
1 Assignment
0 Petitions
Accused Products
Abstract
Machine logic (for example, software) for cache management. comprising cache management method includes the following operations: determining, in response to a cache entry is created, a category for the cache entry; and determining a predicted time point of an invalidation event associated with the category, wherein occurrence of the invalidation event will cause invalidation of catching entries of the category; setting a valid period of the cache entry based on the predicted time point.
11 Citations
15 Claims
-
1. A method of cache management, the method comprising:
-
defining a plurality of categories for categorizing cache entries; for each category of the plurality of categories, determining a valid period applicable to cache entries in the category; responsive to creation of entry into a cache of a first cache entry, determining a selected category, of the plurality of categories, for the first cache entry; and removing the first cache entry from the cache at the end of the valid period for the selected category; wherein the definition of the plurality of categories includes; receiving a plurality of training cache entries, associated attribute information and associated invalidation information, with the invalidation information relating to the time at which its associated training cache entry becomes non-functional, grouping the plurality of training cache entries into a plurality of training cache entry groups based upon the attribute information of the training cache entries, and setting rules to define the plurality of categories based on the grouping of the plurality of training cache entries. - View Dependent Claims (2, 3, 4, 5)
-
-
6. A computer program product comprising a computer readable storage medium having stored thereon:
-
first program instructions programmed to define a plurality of categories for categorizing cache entries; second program instructions programmed to for each category of the plurality of categories, determine a valid period applicable to cache entries in the category; third program instructions programmed to respond to creation of entry into a cache of a first cache entry, determining a selected category, of the plurality of categories, for the first cache entry; and fourth program instructions programmed to remove the first cache entry from the cache at the end of the valid period for the selected category; wherein the first program instructions are further programmed to define the plurality of categories including; receiving a plurality of training cache entries, associated attribute information and associated invalidation information, with the invalidation information relating to the time at which its associated training cache entry becomes non-functional, grouping the plurality of training cache entries into a plurality of training cache entry groups based upon the attribute information of the training cache entries, and setting rules to define the plurality of categories based on the grouping of the plurality of training cache entries. - View Dependent Claims (7, 8, 9, 10)
-
-
11. A computer system comprising:
-
a processor(s) set; and a computer readable storage medium; wherein; the processor set is structured, located, connected and/or programmed to run program instructions stored on the computer readable storage medium; and the program instructions include; first program instructions programmed to define a plurality of categories for categorizing cache entries, second program instructions programmed to for each category of the plurality of categories, determine a valid period applicable to cache entries in the category, third program instructions programmed to respond to creation of entry into a cache of a first cache entry, determining a selected category, of the plurality of categories, for the first cache entry, and fourth program instructions programmed to remove the first cache entry from the cache at the end of the valid period for the selected category; wherein the first program instructions are further programmed to define the plurality of categories including; receiving a plurality of training cache entries, associated attribute information and associated invalidation information, with the invalidation information relating to the time at which its associated training cache entry becomes non-functional, grouping the plurality of training cache entries into a plurality of training cache entry groups based upon the attribute information of the training cache entries, and setting rules to define the plurality of categories based on the grouping of the plurality of training cache entries. - View Dependent Claims (12, 13, 14, 15)
-
Specification