|
ABSTRACT
In this paper, we develop approximate analytical models for predicting the buffer hit probability under the Least Recently Used (LRU) and First In First Out (FIFO) buffer replacement policies under the independent reference model. In the case of the analysis of the LRU policy, the computational complexity for estimating the buffer hit probability is O(KB) where B is the size of the buffer and K denotes the number of items having distinct access probabilities. In the case of the FIFO policy, the solution algorithm is iterative and the computational complexity of each iteration is O(K). Results from these models are compared to exact results for models originally developed by King [KING71] for small values of the buffer size, B, and the total number of items sharing the buffer, D. Results are also compared with results from a simulation for large values of B and D. In most cases, the error is extremely small (less than 0.1%) for both LRU and FIFO, and a maximum error of 3% is observed for very small buffer size (less than 5) when the access probabilities are extremely skewed. To demonstrate the usefulness of the model, we consider two applications. In our first application, we compare the LRU and FIFO policies to an optimal static buffer allocation policy for a database consisting of two classes of data items. We observe that the performance of LRU is close to that of the optimal allocation. As the optimal allocation requires knowledge of the access probabilities, the LRU policy is preferred when this information is unavailable. We also observe that the LRU policy always performs better than the FIFO policy in our experiments. In our second application, we show that if multiple independent reference streams on mutually disjoint sets of data compete for the same buffer, it is better to partition the buffer using an optimal allocation policy than to share a common buffer.
REFERENCES
Note: OCR errors may be found in this Reference List extracted from the full text article. ACM has opted to expose the complete List rather than only correct and linked references.
| |
AVEN76
|
Aven, O.I., L.B. Boguslavsky, and ~. A. Kogan, "Some Results on Distribution-Free Analysis of Paging Algorithms," IEEE Transactions on Computers, Vol. C-25, No. 7, pp. 737-745, July 1976.
|
| |
BABA83
|
Babaoglu, O. and D. Ferrari, "Two-Level Replacement Decisions in Paging Stores," IEEE Transacgions on Computers, Vol. C- 32, No. 12, pp. 1151-1159, December 1983.
|
| |
COFF73
|
|
| |
DAN89
|
Dan, A., D. Dias and P. S. Yu, "Buffer Model under Skewed Data Access for a Data Sharing Environment" (Work in progress).
|
| |
FLAJ87
|
Flajolet, P., D. Gardy and L. Thimonier, "Birthday Paradox, Coupon Collectors, Caching Algorithms and Self-organizing Search", Tech Rep. 720 INRIA, Domaine Voluceau, Rocquencourt, BP 105 78153 Le Chesnay Cedex (France), August 1987.
|
| |
FOX66
|
Fox, B.,"Discrete Optimization via Marginal Analysis," Managemen$ Science, Vol. 13, pp. 210-216, November 1966.
|
 |
FRAN74
|
|
 |
KEAR89
|
|
| |
KING71
|
King, W. F., "Analysis of Paging Algorithms," In Proc. IFIP Congress, pages 485- 490, Ljublanjana, Yugoslavia, aug 1971.
|
 |
LANG77
|
|
 |
RAO78
|
|
| |
SACC87
|
|
 |
SMIT82
|
|
| |
STON89
|
Stone, H. S., .}. L. Wolf, and J. Turek, Optimal Partitioning of Cache Memory, Research Report RC14444 (64697), IBM, March 1989.
|
| |
TENG84
|
Teng, J. Z. and R. A. Gumaer, "Managing IBM Database 2 Buffers to Maximize Performance, "IBM System Journal, Vol. 23, No. 2, pp. 211-218, t984.
|
| |
VAN89
|
J.L. van den Berg, private communication, November 1989.
|
 |
VERK85
|
|
CITED BY 28
|
|
|
|
|
|
Javier Fernández , Jesus Carretero , Felix Garcia , Jose M. Perez , A. Calderon, A new cache management algorithm for multimedia storage systems, Proceedings of the 2003 ACM symposium on Applied computing, March 09-12, 2003, Melbourne, Florida
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Peer to Peer - Readers of this Article have also read:
-
Data structures for quadtree approximation and compression
Communications of the ACM
28, 9
Hanan Samet
-
A hierarchical single-key-lock access control using the Chinese remainder theorem
Proceedings of the 1992 ACM/SIGAPP Symposium on Applied computing
Kim S. Lee
, Huizhu Lu
, D. D. Fisher
-
The GemStone object database management system
Communications of the ACM
34, 10
Paul Butterworth
, Allen Otis
, Jacob Stein
-
Putting innovation to work: adoption strategies for multimedia communication systems
Communications of the ACM
34, 12
Ellen Francik
, Susan Ehrlich Rudman
, Donna Cooper
, Stephen Levine
-
An intelligent component database for behavioral synthesis
Proceedings of the 27th ACM/IEEE Design Automation Conference on
Gwo-Dong Chen
, Daniel D. Gajski
|