Cache memory management system and method
First Claim
1. A cache memory management method comprising the steps of:
- selecting a single object from the cache;
assigning an object weight to the selected object;
comparing the assigned object weight to an existing threshold weight;
if the assigned object weight is lower than the existing threshold weight, marking the selected object for removal from the cache and lowering the value of the threshold weight; and
if the assigned weight is greater than the existing threshold weight, raising the value of the threshold weight;
wherein the threshold weight is raised by increments different than the increments by which it is lowered.
1 Assignment
0 Petitions
Accused Products
Abstract
Decisions to remove objects from a cache memory are made on an object-by-object basis. When a cache replacement decision is called for, a single object is selected from the cache. A weight value is assigned to the selected object in accordance with a predetermined methodology. The assigned object weight is compared to a current threshold weight. If the assigned object weight is the lesser of the two weights, the selected object is marked for removal from the cache and the threshold weight is reduced. If the assigned object weight is the greater of the two, the threshold weight is raised. In a preferred embodiment, the threshold weight is lowered more quickly than it is raised. The technique can be used in standalone workstations and in proxy servers, among other environments.
-
Citations
9 Claims
-
1. A cache memory management method comprising the steps of:
-
selecting a single object from the cache;
assigning an object weight to the selected object;
comparing the assigned object weight to an existing threshold weight;
if the assigned object weight is lower than the existing threshold weight, marking the selected object for removal from the cache and lowering the value of the threshold weight; and
if the assigned weight is greater than the existing threshold weight, raising the value of the threshold weight;
wherein the threshold weight is raised by increments different than the increments by which it is lowered. - View Dependent Claims (2, 3, 4, 6)
-
-
5. A cache memory management system comprising:
-
object selection logic for selecting a candidate object from cache memory;
object weighting logic for assigning an object weight to the selected object;
comparison logic for comparing the assigned object weight to a current threshold weight; and
management logic for;
if the assigned object weight is lower than the current threshold weight, marking the selected object for removal from the cache and lowering the threshold weight, and if the assigned object weight is greater than the current threshold weight, raising the threshold weight;
wherein the management logic lowers the threshold weight at a different rate than it raises the threshold weight.
-
-
7. A program product comprising a computer useable medium having a computer readable program embodied in said medium wherein the computer readable program when executed by a computer causes the computer to:
-
select a single object from a cache memory;
assign a weight to the selected object;
compare the assigned weight to an existing threshold weight;
if the assigned weight is lower than the existing threshold weight, mark the selected object for removal from the cache and lower the value of the threshold weight; and
if the assigned weight is greater than the existing threshold weight raise the value of the threshold weight;
wherein the threshold weight is raised by increments different than the increments by which it is lowered. - View Dependent Claims (8, 9)
-
Specification