skip to main content
10.1145/339331.339424acmconferencesArticle/Chapter ViewAbstractPublication PagesmetricsConference Proceedingsconference-collections
Article
Free access

Towards application/file-level characterization of block references: a case for fine-grained buffer management

Published: 01 June 2000 Publication History

Abstract

Two contributions are made in this paper. First, we show that system level characterization of file block references is inadequate for maximizing buffer cache performance. We show that a finer-grained characterization approach is needed. Though application level characterization methods have been proposed, this is the first attempt, to the best of our knowledge, to consider file level characterizations. We propose an Application/File-level Characterization (AFC) scheme where we detect on-line the reference characteristics at the application level and then at the file level, if necessary. The results of this characterization are used to employ appropriate replacement policies in the buffer cache to maximize performance. The second contribution is in proposing an efficient and fair buffer allocation scheme. Application or file level resource management is infeasible unless there exists an allocation scheme that is efficient and fair. We propose the ΔHIT allocation scheme that takes away a block from the application/file where the removal results in the smallest reduction in the number of expected buffer cache hits. Both the AFC and ΔHIT schemes are on-line schemes that detect and allocate as applications execute. Experiments using trace-driven simulations show that substantial performance improvements can be made. For single application executions the hit ratio increased an average of 13 percentage points compared to the LRU policy, with a maximum increase of 59 percentage points, while for multiple application executions, the increase is an average of 12 percentage points, with a maximum of 32 percentage points for the workloads considered.

References

[1]
M. F. Arlitt and C. L. Willia~nson. Web Server Workload Characterization : The Search for Invariants. In Proceedings of the 1996 A CM SIGMETRICS Conference: pages 126-137, 1996.]]
[2]
M. G. Baker, J. H. Hartman, M. D. Kupfer, K. W. ShirritT, and J. K. Ousterhout. Measurements of a Distributed File System. In Proceedings of the 13~h Symposium on Operating System Principles, pages 198-212, 1991.]]
[3]
P. Cao, E. W. Fclten, and K. Li. Implementation and Performance of Application Controlled File Caching. In Proceedings of the 1st USENIX Symposium on Operating Systems Dcsign and Implementation, pages 165-178~ 1994.]]
[4]
J. Choi, S. Cho, S. H. Noh, $. L. Min~ and Y. Cho. Analytical Prediction of Buffer Hit Ratios. IEE Electronic.~ Letters, 36(1):10-11, January 2000.]]
[5]
J. Choi, S. H. Noh, S. L. Min, and Y. Cho. An Impiemen~ation Study of a DetectiomBased Adaptive Block Replacement Scheme. In Proceedings of the 1999 Annual USENIX Conference, pages 239-252, 1999.]]
[6]
G. Class and P. Cao. Adaptive Page Replacement Based on Memory Reference Behavior. In Proceedings of the 1997 A CM SIGMETRICS Conference, pages 115-126, 1997.]]
[7]
E. G. Coffman and P. J. Denning. Operating Systems Theory. Prentice-Hall, Englewood Cliffs, New Jersey, 1973.]]
[8]
A. Dan, P. S. Yu, and J.-Y. Chung. Characterization of Database Access Pattern for Analytic Prediction of Buffer Hit Probability. VLDB Journal, 4(1):127-154, January 1995.]]
[9]
C. Faloutsos, R. Ng, and T. Sellis. Flexible and Adaptable Buffer Management Techniques for Database Management Systems. IEEE Transactions on Computers, 44(4):546-560, April 1995.]]
[10]
J. Griffioen and R. Appleton. Reducing File System Latency using a Predictive Approach. In Proceedings of the 199~ Summer USENIX Conference, pages 197-207, 1994.]]
[11]
D. Lee, J. Choi, J. H. Kim, S. H. Nob, S. L. Min, Y. Cho, and C. S. Kim. On the Existence of a Spectrum of Policies that Subsumes the Least Recently Used (LRU) and Least Frequently Used (LFU) Policies. In Proceedings of the 1999 A CM SIGMETRICS Conference, pages 134-143, 1999.]]
[12]
T. C. Mowry, A. K. Demke, and O. Krieger. Automatic Compiler-Inserted I/O Prefetching for Out-of-Core Applications. In Proceedings of the Second USENIX Symposium on Operating Systems Design and Implementation, pages 3-17, 1996.]]
[13]
E. J. O'Neil, P. E. O'Neil, and G. Weikum. The LRU-K Page Replacement Algorithm for Database Disk Buffering. In Proceedings o.f the 1993 A CM SIGMOD Conference, pages 297-306, 1993.]]
[14]
B. K. Pasquale and G. C. Polyzos. A Static Analysis of I/O Characteristics of Scientific Applications in a Production Workload. In Proceedings of Supercomputing '93, pages 388-397, 1993.]]
[15]
R. H. Patterson, G. A. Gibson, E. Ginting, D. Stodolsky, and J. Zele~ka. Informed Prefetching and Caching. In Proceedings of the 15th ~ymposium on Operating System Principles, pages 1-16, 1995.]]
[16]
V. Phalke and B. Gopinath. An Inter-Reference Gap Model for Temporal Locality in Program Behavior. In Proceedings of the 1995 A CM SIGMETRICS Conference, pages 291-300, 1995.]]
[17]
P. J. Shenoy, P. Goyal, S. S. Rao, and H. M. Vin. Design and Implementation of Symphony: An Integrated M:ultiraedia File System. In Proceedings of A CM/SPIE Multimedia Computing and Networkmg(MMCN) Conference, pages 124-138, 1998.]]
[18]
Y. Smaragdakis, S. Kaplan, and P. Wilson. EELRU: Simple and Effective Adaptive Page Replacement. In Proceedings of the 1999 A CM SIGMETRICS Conference, pages 122-133, 1999.]]

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
SIGMETRICS '00: Proceedings of the 2000 ACM SIGMETRICS international conference on Measurement and modeling of computer systems
June 2000
329 pages
ISBN:1581131941
DOI:10.1145/339331
  • cover image ACM SIGMETRICS Performance Evaluation Review
    ACM SIGMETRICS Performance Evaluation Review  Volume 28, Issue 1
    Special issue on proceedings of ACM SIGMETRICS 2000
    June 2000
    327 pages
    ISSN:0163-5999
    DOI:10.1145/345063
    Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 01 June 2000

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Conference

SIGMETRICS00
Sponsor:

Acceptance Rates

SIGMETRICS '00 Paper Acceptance Rate 28 of 165 submissions, 17%;
Overall Acceptance Rate 459 of 2,691 submissions, 17%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)49
  • Downloads (Last 6 weeks)13
Reflects downloads up to 14 Sep 2024

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Get Access

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media