Check out the new USENIX Web site. next up previous
Next: Multi-Queue Algorithm Up: Server Access Pattern Previous: Access Frequency

Properties

To summarize our study results, a good server buffer cache replacement algorithm should have the following three properties:
  1. Minimal lifetime: warm blocks should stay in a server buffer cache for at least $minDist$ time for a given workload.
  2. Frequency-based priority: blocks should be prioritized based on their access frequencies.
  3. Temporal frequency: blocks that were accessed frequently in the past, but have not been accessed for a relatively long time should be replaced.
The first two properties are derived from our study of the traces. The third property is obvious. It addresses the common access pattern where a block is accessed very frequently for some time and then has no accesses for a relatively long time. Algorithms developed in the past do not possess all three properties. Both LRU and MRU algorithms satisfy the temporal frequency property, but lack the other two. The basic LFU algorithm possesses only the second property. With frequency aging, it can satisfy the third. LRU-2 can satisfy the third property but it only partially satisfies the first and second. FBR and LFRU vary between LRU and LFU depending on the input parameters, but it is almost impossible to find parameters that satisfy all three properties at once. 2Q satisfies the third property, but it can only partially satisfy the second property. When the server buffer cache is small, 2Q lacks the first property, but, for large cache sizes, satisfies it.
next up previous
Next: Multi-Queue Algorithm Up: Server Access Pattern Previous: Access Frequency
Yuanyuan Zhou
2001-04-29