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:

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

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.

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

Publish with us

Policies and ethics