Skip to main content

A Fuzzy Adaptive Algorithm for Fine Grained Cache Paging

  • Conference paper

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 3199))

Abstract

The performance of page replacement algorithms used by the virtual memory management system and file system of operating systems is important because of the higher disk access latency. The situation complicates further under the limitation of memory. There exists a set of page replacement algorithms, however, a majority of them are based on static policies. In this paper, a novel Fuzzy Adaptive Page Replacement algorithm (FAPR) is proposed. The FAPR algorithm applies fuzzy inference technique based on an adaptive rule-base and online priority control. The algorithm is simulated in a highly memory-constrained environment under various load distributions. The results demonstrate that the FAPR algorithm enhances the performance in comparison to the commonly used algorithms such as, LRU and LFU. In the worst-case execution model, FAPR algorithm averages the performance of the LRU and LFU algorithms. This paper describes the design and simulation of the FAPR algorithm along with the results.

This is a preview of subscription content, log in via an institution.

Buying options

Chapter
USD   29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD   39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD   54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Learn about institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Cao, P.: Application-controlled file caching and prefetching, Ph.D. thesis, Princeton University, CSRT-522-95 (1995)

    Google Scholar 

  2. Cormen, T.H., Leiserson, C.E., Rivest, R.L.: Introduction to Algorithms, pp. 77–91. MIT Press, Cambridge (1995)

    Google Scholar 

  3. Ehrig, H., Kreowski, H.-J., Montanari, U., Rozenberg, G.: Hand book of graph grammars and computing by graph transformation, pp. 80–86. World Scientific, Singapore

    Google Scholar 

  4. Fait, A., Rosen, Z.: Experimental studies of access graph based heuristics: Beating the LRU standard? In: SIAM symposium on discrete mathematics, New York (1997)

    Google Scholar 

  5. Felten, E.W., Cao, P., Li, K.: Application controlled file caching policies. In: Conference Proc. of USENIX, Berkeley, CA, pp. 171–182 (1994)

    Google Scholar 

  6. Gallier, J.H.: Logic for Computer Science, pp. 4–12, 39-50. John Wiley & Sons, Chichester (1987)

    Google Scholar 

  7. Gidoen, G., Cao, P.: Adaptive page replacement based on memory reference behaviour. In: TOCS, Washington (1996)

    Google Scholar 

  8. Hwang, K., Faye, A.B.: Computer architecture and parallel processing, pp. 60–113. McGraw-Hill, New York (1985)

    Google Scholar 

  9. Itzkovitz, A., Schuster, A.: Multiview and milipage fine grain sharing in page-based DSMs. In: Proc. of 3rd Symposium on OSDI (USENIX), New Orleans (1999)

    Google Scholar 

  10. Karlin, A.R., Felten, E.W., Cao, P., Li, K.: Implementation and performance of integrated application-controlled file caching, prefetching and disk scheduling. In: TOCS, New York (1996)

    Google Scholar 

  11. Karlin, A.R., Felten, E.W., Cao, P., Li, K.: A study of integrated prefetching and caching strategies. In: Proc. ACM SIGMETRICS, pp. 188–197 (1995)

    Google Scholar 

  12. Liu, C.L.: Elements of discrete mathematics, pp. 59–72, 82-113. McGraw-Hill, New York (1977)

    MATH  Google Scholar 

  13. Lubomir, B., Alan, C.S.: The logical design of Operating Systems, pp. 216–232. Prentice-Hall, Englewood Cliffs (1988)

    Google Scholar 

  14. Robinson, J., Devarakonda, M.: Data Cache Management using Frequency-Based Replacement. In: ACM SIGMETRICS Conference on Measurement and Modeling of Computer Systems, Colorado (1990)

    Google Scholar 

  15. Vivek, P.S., Druschel, P., Zwaenepoel, W.: IO-Lite: A unified I/O buffering and caching system. In: Proc. of 3rd Symposium on OSDI (USENIX), New Orleans (1999)

    Google Scholar 

  16. William, S.: Operating Systems, pp. 502–505. Prentice Hall, Englewood Cliffs (2001)

    Google Scholar 

  17. Yannis, S., Scott, K., Paul, W.: EELRU: Simple and Effective Adaptive Page Replacement. In: ACM SIGMETRICS International Conference on Measurement and Modeling of Computer Systems, vol. 27, pp. 122–133 (1999)

    Google Scholar 

  18. Elizabeth, J.O., Patrick, E.O., Gerhard, W.: The LRU-K Page Replacement Algorithm for Database Disk Buffering. In: ACM SIGMOD International Conference on Management of Data, Washington D.C, pp. 297–306 (1993)

    Google Scholar 

  19. Johnson, T., Shasha, D.: 2Q: A Low Overhead High Performance Buffer Management Algorithm. In: Proc. of the 20th International Conference on Very Large Databases, pp. 439–450 (1994)

    Google Scholar 

  20. Lee, D., Choi, J., Kim, J., Noh, S., Min, S., Cho, Y., Kim, C.: LRFU: A Spectrum of Policies that Subsumes the Least Recently Used and Least Frequently Used Policies. IEEE Transaction on Computers, 1352–1361 (2001)

    Google Scholar 

  21. Jiang, S., Zhang, X.: LIRS: An Efficient Low Inter-reference Recency Set Replacement Policy to Improve Buffer Cache Performance. In: Proc. ACM SIGMETRICS Conf. (2002)

    Google Scholar 

  22. Eirc, W.W.: Bayesian Analysis, MathWorld, CRC Press LLC., Wolfram Research Inc. (1999), http://mathworld.wolfram.com/BayesianAnalysis.html

  23. Sonja, P.L., Amy, W.: Fuzzy Control Model in the Hospitality Industry. International Journal of Agile Management Systems, Bradford 2, 156 (2000)

    Article  Google Scholar 

  24. Bannatyne, R.: Development of Fuzzy Logic in Embedded Control. Sensor Review, Bradford 14, 11–15 (1994)

    Article  Google Scholar 

  25. Eric, W.W.: Probability Distributions, MathWorld, CRC Press LLC., Wolfram Research Inc. (1999), http://mathworld.wolfram.com/NormalDistribution.html

  26. Jain, R.: The Art of Computer Systems Performance Analysis, pp. 492–495. John Wiley Inc., Chichester (1991)

    MATH  Google Scholar 

  27. Nimrod, M., Modha, S.D.: ARC: A Self-Tuning. In: Low Overhead Replacement Cache, USENIXFAST 2003, San Francisco (March 2003)

    Google Scholar 

  28. Susmit, B., Mads, N.: On the Concept of Mobile Distributed Virtual Memory System. In: IEEE DSN, The International Conference on Dependable Systems and Networks, IEEE CS Press, Italy (2004)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2004 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Bagchi, S., Nygaard, M. (2004). A Fuzzy Adaptive Algorithm for Fine Grained Cache Paging. In: Schepers, H. (eds) Software and Compilers for Embedded Systems. SCOPES 2004. Lecture Notes in Computer Science, vol 3199. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-30113-4_15

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-30113-4_15

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-23035-9

  • Online ISBN: 978-3-540-30113-4

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics