Proceedings of the 2002 Usenix Annual Technical Conference Exploiting Gray-box Knowledge of Buffer-cache Management
Proceedings of the 2002 Usenix Annual Technical Conference Exploiting Gray-box Knowledge of Buffer-cache Management
复制标题
2002 年 Usenix 年度技术会议论文集利用缓冲区高速缓存管理的灰盒知识
DOI:
--
复制
发表时间:
--
期刊:
影响因子:
--
通讯作者:
Remzi H. Arpaci
中科院分区:
文献类型:
--
作者:
Nathan C. Burnett;John Bent;Andrea C. Arpaci;Remzi H. Arpaci
The buffer-cache replacement policy of the OS can have a significant impact on the performance of I/O-intensive applications. In this paper, we introduce a simple fingerprinting tool, Dust, which uncovers the replacement policy of the OS. Specifically, we are able to identify how initial access order, recency of access, frequency of access, and long-term history are used to determine which blocks are replaced from the buffer cache. We show that our fingerprinting tool can identify popular replacement policies described in the literature (e.g., FIFO, LRU, LFU, Clock, Random, Segmented FIFO, 2Q, and LRU-K) as well as those found in current systems (e.g., NetBSD, Linux, and Solaris). We demonstrate the usefulness of fingerprinting the cache replacement policy by modifying a web server to use this knowledge; specifically, the web server infers the contents of the OS file cache by modeling the replacement policy under the given set of page requests. We show that by first servicing those web pages that are believed to be resident in the OS buffer cache, we can improve both average response time and throughput.