+
Skip to main content

Strongly Competitive Algorithms for Caching with Pipelined Prefetching

  • Conference paper
  • First Online:
Algorithms — ESA 2001 (ESA 2001)

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

Included in the following conference series:

  • 1753 Accesses

  • 7 Citations

Abstract

Prefetching and caching are widely used for improving the performance of file systems. Recent studies have shown that it is important to integrate the two. In this model we consider the following problem. Suppose that a program makes a sequence of m accesses to data blocks. The cache can hold k blocks, where k < m. An access to a block in the cache incurs one time unit, and fetching a missing block incurs d time units. A fetch of a new block can be initiated while a previous fetch is in progress. Thus, d block fetches can be in progress simultaneously. The locality of references to the cache is captured by the access graph model of [2]. The goal is to find a policy for prefetching and caching, which minimizes the overall execution time of a given reference sequence. This problem is called caching with locality and pipelined prefetching (CLPP). Our study is motivated from the pipelined operation of modern memory controllers, and program execution on fast processors. For the offline case we show that an algorithm introduced in [4] is optimal. In the online case we give an algorithm which is within factor of 2 from the optimal in the set of online deterministic algorithms, for any access graph, and k,d≥1. Improved ratios are obtained for several important classes of access graphs, including complete graphs and directed acyclic graphs (DAG). Finally, we study the CLPP problem assuming a Markovian access model, on branch trees, which often arise in applications. We give algorithms whose expected performance ratios are within factor 2 from the optimal.

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

Access this chapter

Subscribe and save

Springer+
from $39.99 /Month
  • Starting from 10 chapters or articles per month
  • Access and download chapters and articles from more than 300k books and 2,500 journals
  • Cancel anytime
View plans

Buy Now

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

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Similar content being viewed by others

References

  1. D. Bhandarkar, J. Ding, “Performance Characterization of the Pentium Pro Processor”, 3rd International Symposium on High Performance Computer Architecture, San Antonio, 1997.

    Google Scholar 

  2. A. Borodin, S. Irani, P. Raghavan and B. Schieber, “Competitive Paging with Locality of Reference”, Journal of Computer and System Science, 1995, pp. 244–258.

    Google Scholar 

  3. A. Borodin and R. El-Yaniv, “Competitive Analysis and Online Computation”, Cambridge University Press, 1998.

    Google Scholar 

  4. P. Cao, E. Felton, A. Karlin, K. Li, “A Study of Integrated Prefetching and Caching Strategies”, SIGMETRICS/PERFORMANCE, 1995.

    Google Scholar 

  5. A. Fiat. and G. J. Woeginger,, “Online Algorithms, The State of the Art”, Springer, 1998 (LNCS #1442).

    Google Scholar 

  6. A. Fiat. and A. R. Karlin, “Randomized and Multipointer Paging with Locality of Reference”, STOC, 1995.

    Google Scholar 

  7. A. Fiat. and Z. Rosen, “Experimental Studies of access Graph Based Heuristics: Beating the LRU Standard?”, SODA, 1997.

    Google Scholar 

  8. A. Fiat. and M. Mendel, “Truly Online Paging with Locality of Reference”, FOCS, 1997.

    Google Scholar 

  9. A. Gaysinsky, A. Itai and H. Shachnai. “Strongly Competitive Algorithms for Caching with Pipelined Prefetching”, full version. http://www.cs.technion.ac.il/~hadas/PUB/clpp.ps.gz.

  10. D.S. Hochbaum, Approximation Algorithms for NP-Hard Problems, PUS Publishing Company, 1995.

    Google Scholar 

  11. S. Irani, A. R. Karlin and S. Phillips, “Strongly competitive algorithms for paging with locality of reference”, SIAM Journal Comput., June 1996, pp. 477–497.

    Google Scholar 

  12. A. R. Karlin, T. Kimbrel, “Near-optimal parallel prefetching and caching”, CS TR, Washington Univ., 1996.

    Google Scholar 

  13. A. R. Karlin, S. Phillips and P. Raghavan, “Markov paging”, FOCS 1992.

    Google Scholar 

  14. D. E. Knuth, The Art of Computer Programming, Vol. 3, Addison Wesley, 1973.

    Google Scholar 

  15. S. Lang, Algebra, Columbia University, New York, 153–155, 1965.

    Google Scholar 

  16. R. Motwani, P. Raghavan, Randomized Algorithms, Cambridge University Press, 1995.

    Google Scholar 

  17. P. Raghavan, H. Shachnai, M. Yaniv, “Dynamic Schemes for Speculative Execution of Code”, MASCOTS, 1998.

    Google Scholar 

  18. A. Tomkins, R. H. Patterson and G. Gibson. “Informed Multi-Process Prefetching and Caching”, SIGMETRICS, 1997.

    Google Scholar 

  19. R. Sedgewick and P. Flajolet, An Introduction to the Analysis of Algorithms, Addison-Wesley Publishing, 1996.

    Google Scholar 

  20. A.K. Uht and V. Sindagi, “Disjoint Eager Execution: An optimal form of speculative execution”, MICRO-28, 1995.

    Google Scholar 

  21. G. M. Voelker, E. J. Anderson, T. Kimbrel, M. J. Feeley, J. S. Chase, A. R. Karlin and H. M. Levy, “Implementing Cooperative Prefetching and Caching in Globally-Managed Memory System”. SIGMETRICS, 1998.

    Google Scholar 

  22. S. S. H. Wang and A. K. Uht, “Ideograph/Ideogram: Framework/Architecture for Eager Evaluation”, MICRO-23, 1990.

    Google Scholar 

  23. M. Yaniv, “Dynamic Schemes for Speculative Execution of Code”, M.Sc. Thesis, Dept. of Computer Science, The Technion, 1998.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2001 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Gaysinsky, A., Itai, A., Shachnai, H. (2001). Strongly Competitive Algorithms for Caching with Pipelined Prefetching. In: auf der Heide, F.M. (eds) Algorithms — ESA 2001. ESA 2001. Lecture Notes in Computer Science, vol 2161. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-44676-1_4

Download citation

  • DOI: https://doi.org/10.1007/3-540-44676-1_4

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-42493-2

  • Online ISBN: 978-3-540-44676-7

  • eBook Packages: Springer Book Archive

Keywords

These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Publish with us

Policies and ethics

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载