Affiliation:
1. Department of Electrical and Computer Engineering, University of Massachusetts, Amherst, MA
2. Department of Computer and Information Science, University of Massachusetts, Amherst, MA
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.
Publisher
Association for Computing Machinery (ACM)
Subject
Computer Networks and Communications,Hardware and Architecture,Software
Reference15 articles.
1. Dan A. D. Dias and P. S. Yu "Buffer Model under Skewed Data Access for a Data Sharing Environment" (Work in progress). Dan A. D. Dias and P. S. Yu "Buffer Model under Skewed Data Access for a Data Sharing Environment" (Work in progress).
Cited by
146 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献