An accurate and practical buffer allocation model for the buffer cache based on marginal gains

  • Authors:
  • Jong Min Kim;Donghee Lee;Sam H. Noh;Sang Lyul Min;Yookun Cho;Chong Sang Kim

  • Affiliations:
  • School of Computer Science and Engineering, Seoul National University, Seoul, Republic of Korea;Department of Computer Science and Statistics, University of Seoul, Seoul, Republic of Korea;School of Information and Computer Engineering, Hong-Ik University, Seoul, Republic of Korea;School of Computer Science and Engineering, Seoul National University, Seoul, Republic of Korea;School of Computer Science and Engineering, Seoul National University, Seoul, Republic of Korea;School of Computer Science and Engineering, Seoul National University, Seoul, Republic of Korea

  • Venue:
  • Information Processing Letters
  • Year:
  • 2003

Quantified Score

Hi-index 0.89

Visualization

Abstract

A new dynamic buffer allocation strategy based on the notion of marginal gains is presented for the buffer cache that is used by the operating system to store frequently accessed disk blocks in main memory, and the performance of the proposed strategy is compared with those of previous allocation strategies. In the proposed strategy, marginal gain values are predicted by exploiting functions that approximate the expected number of buffer hits per unit time. Experimental results from both trace-driven simulation and an actual implementation in the FreeBSD operating system show that the proposed strategy accurately predicts the marginal gain values for various workloads resulting in significantly improved buffer hit ratios.