Skip to main content

Paging on a RAM with Limited Resources

  • Conference paper
  • First Online:
Book cover Algorithm Theory — SWAT 2002 (SWAT 2002)

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

Included in the following conference series:

  • 666 Accesses

Abstract

The paging problem is that of deciding which pages to keep in a cache of k pages to minimize the number of page faults for a two-level memory system. We consider efficient paging algorithms that require limited space and time on a unit-cost RAM with word size w. We present an implementation of the randomized marking algorithm of Fiat et al. that uses only k + o(k) bits of space while supporting page requests in O(1) worst-case time. In addition, we present a novel k-competitive deterministic algorithm called Surely Not Recently Used (SNRU) that approximates the Least Recently Used (LRU) algorithm. For any constant 1/k ≤ ε < 1/2, SNRU() ensures that the ⌈(1/2 - ε)k⌉ most recently requested pages are in the cache, while using only O(1/ε) worst-case time per request and 2k + o(k) bits of space.

This research was supported in part by the IBM Toronto Centre for Advanced Studies.

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. Achlioptas, M. Chrobak, and J. Noga. Competitive analysis of randomized paging algorithms. Theoretical Computer Science, 234:203–218, 2000.

    Article  MATH  MathSciNet  Google Scholar 

  2. A. Andersson. Faster deterministic sorting and searching in linear space. In Proceedings of the 37th Annual IEEE Symposium on Foundations of Computer Science, pages 135–141, 1996.

    Google Scholar 

  3. A. Andersson, T. Hagerup, S. Nilsson, and R. Raman. Sorting in linear time? In Proceedings of the 27th Annual ACM Symposium on the Theory of Computing, pages 427–436, 1995.

    Google Scholar 

  4. A. Borodin, S. Irani, P. Raghavan, and B. Schieber. Competitive paging with locality of reference. Journal of Computer and System Sciences, 50:244–258, 1995.

    Article  MATH  MathSciNet  Google Scholar 

  5. W. Effelsberg and T. Haerder. Principles of database buffer management. ACM Transactions on Database Systems, 9:560–595, 1984.

    Article  Google Scholar 

  6. A. Fiat, R. M. Karp, M. Luby, L. A. McGeoch, D. D. Sleator, and N. E. Young. Competitive paging algorithms. Journal of Algorithms, 12:685–699, 1991.

    Article  MATH  Google Scholar 

  7. A. Fiat and M. Mendel. Truly online paging with locality of reference (extended abstract). In Proceedings of the 38th Annual IEEE Symposium on Foundations of Computer Science, pages 326–335, 1997.

    Google Scholar 

  8. M. L. Fredman and D. E. Willard. Trans-dichotomous algorithms for minimumn spanning trees and shortest paths. Journal of Computer and System Sciences, 48:533–551, 1994.

    Article  MATH  MathSciNet  Google Scholar 

  9. S. Irani, A. R. Karlin, and S. Phillips. Strongly competitive algorithms for paging with locality of reference. SIAM Journal on Computing, 25:477–497, 1996.

    Article  MATH  MathSciNet  Google Scholar 

  10. A. R. Karlin, M. S. Manasse, L. Rudolph, and D. D. Sleator. Competitive snoopy caching. Algorithmica, 3:70–119, 1988.

    Article  MathSciNet  Google Scholar 

  11. A.R. Karlin, S. Phillips, and P. Raghavan. Markov paging. In Proceedings of the 33rd Annual IEEE Symposium on Foundations of Computer Science, pages 208–217, 1992.

    Google Scholar 

  12. T. W. Lai. Paging on a RAM with limited resources. Technical Report TR-74.187, IBM Toronto Laboratory, 2002. To appear.

    Google Scholar 

  13. C. Lund, S. Phillips, and N. Reingold. IP-paging and distributional paging. In Proceedings of the 35th Annual IEEE Symposium on Foundations of Computer Science, pages 424–435, 1994.

    Google Scholar 

  14. L. McGeoch and D. D. Sleator. A strongly competitive randomized paging algorithm. Journal of Algorithms, 6:816–825, 1991.

    Article  MATH  MathSciNet  Google Scholar 

  15. P. Raghavan and M. Snir. Memory versus randomization in on-line algorithms. IBM Journal of Research and Development, 38:683–707, 1994.

    Article  Google Scholar 

  16. R. Raman, V. Raman, and S. S. Rao. Succinct dynamic data structures. In Proceeding of the 7th International Workshop on Algorithms and Data Structures, pages 426–437, 2001.

    Google Scholar 

  17. D. D. Sleator and R. E. Tarjan. Amortized efficiency of list update and paging rules. Communications of the ACM, 28:202–208, 1985.

    Article  MathSciNet  Google Scholar 

  18. N. Young. The k-server dual and loose competitiveness for paging. Algorithmica, 11:525–541, 1994.

    Article  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Lai, T.W. (2002). Paging on a RAM with Limited Resources. In: Penttonen, M., Schmidt, E.M. (eds) Algorithm Theory — SWAT 2002. SWAT 2002. Lecture Notes in Computer Science, vol 2368. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45471-3_43

Download citation

  • DOI: https://doi.org/10.1007/3-540-45471-3_43

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-43866-3

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics