skip to main content
article
Free Access

Minimizing stall time in single and parallel disk systems

Published:01 November 2000Publication History
Skip Abstract Section

Abstract

We study integrated prefetching and caching problems following the work of Cao et al. [1995] and Kimbrel and Karlin [1996]. Cao et al. and Kimbrel and Karlin gave approximation algorithms for minimizing the total elapsed time in single and parallel disk settings. The total elapsed time is the sum of the processor stall times and the length of the request sequence to be served.

We show that an optimum prefetching/caching schedule for a single disk problem can be computed in polynomial time, thereby settling an open question by Kimbrel and Karlin. For the parallel disk problem, we give an approximation algorithm for minimizing stall time. The solution uses a few extra memory blocks in cache. Stall time is an important and harder to approximate measure for this problem. All of our algorithms are based on a new approach which involves formulating the prefetching/caching problems as linear programs.

References

  1. BELADY, L. A. 1966. A study of replacement algorithms for virtual storage computers. IBM Syst. J. 5, 78-101.Google ScholarGoogle Scholar
  2. BORODIN, A., IRANI, S., RAGHAVAN, P., AND SCHIEBER, B. 1995. Competitive paging with locality of reference. J. Comput. Syst. Sci. 50, 244-258. Google ScholarGoogle Scholar
  3. CAO, P., FELTEN, E. W., KARLIN, A. R., AND LI, K. 1995. A study of integrated prefetching and caching strategies. In Proceedings of the Joint ACM International Conference on Measurement and Modeling of Computer Systems (SIGMETRICS '95/PERFORMANCE '95) (Ottawa, Ont., Canada, May 15-19). ACM, New York, 188-196. Google ScholarGoogle Scholar
  4. CAO, P., FELTEN, E. W., KARLIN, A. R., AND LI, K. 1996. Implementation and performance of integrated application-controlled caching, Prefetching and disk scheduling. ACM Trans. Comput. Syst. (TOCS) 14, 4 (Nov.), 311-343. Google ScholarGoogle Scholar
  5. CUREWITZ, K. M., KRISHNAN, P., AND VITTER, J. S. 1993. Practical prefetching via data compres-sion. In Proceedings of the 1993 ACM SIGMOD International Conference on Management of Data (Washington, D.C., May 26-28). ACM, New York, pp. 257-266. Google ScholarGoogle Scholar
  6. ELLIS, C. S., AND KOTZ, D. 1989. Prefetching in file systems for MIMD multiprocessors. In Proceedings of the 1989 International Conference on Parallel Processing, pp. I306-314.Google ScholarGoogle Scholar
  7. FIAT, A., KARP, R. M., MCGEOCH, L. A., SLEATOR, D. D., AND YOUNG, N. E. 1991. Competitive paging algorithms. J. Algorithms 12, 685-699. Google ScholarGoogle Scholar
  8. FIAT, A., AND KARLIN, A. R. 1995. Randomized and multiprocessor paging with locality of reference. In Proceedings of the 27th Annual ACM Symposium on Theory of Computing (Las Vegas, Nev., May 29-June 1), ACM, New York, pp. 626-634. Google ScholarGoogle Scholar
  9. FIAT, A., AND ROSEN, Z. 1997. Experimental studies of access graph based heuristics. Beating the LRU standard. In Proceedings of the 8th ACM-SIAM Symposium on Discrete Algorithms, ACM, New York, pp. 63-72. Google ScholarGoogle Scholar
  10. FUCHS, D. R., AND KNUTH, D. E. 1985. Optimal prepaging and font caching. ACM Trans. Prog. Lang. Syst. 7, 62-79. Google ScholarGoogle Scholar
  11. KARLIN, A. R., PHILLIPS, S., AND RAGHAVAN, P. 1992. Markov paging. In Proceedings of the 33rd Annual Symposium on Foundations of Computer Science. IEEE Computer Society Press, Los Alamitos, Calif., pp. 208-217.Google ScholarGoogle Scholar
  12. KIMBREL, T. 1997. Parallel prefetching and caching (Ph.D. dissertation). Tech. rep. 97-07-03. Dept. Comput. Sci. Eng., Univ. Washington. Google ScholarGoogle Scholar
  13. KIMBREL, T., TOMKINS, A., PATTERSON, R. H., BERSHAD, B., CAO, P., FELTEN, E. W., GIBSON, G. A., KARLIN, A. R., AND LI, K. 1996. A Trace-Driven Comparison of Algorithms for Parallel Prefetching and Caching. In Proceedings of the ACM SIGOPS/USENIX Association Symposium on Operating System Design and Implementation (OSDI) ACM, New York, 19-34. Google ScholarGoogle Scholar
  14. KIMBREL, T., AND KARLIN, A. R. 1996. Near-optimal parallel prefetching and caching. In Proceedings of the 37th IEEE Annual Symposium on Foundations of Computer Science. IEEE Computer Science Press, Los Alamitos, Calif., pp. 540-549. Google ScholarGoogle Scholar
  15. KOTZ, D., AND ELLIS, C. S. 1993. Practical prefetching techniques for multiprocessor file systems. J. Dist. Paral. Datab. 1, 33-51. Google ScholarGoogle Scholar
  16. KRISHNAN, P., AND VITTER, J. S. 1994. Optimal prediction for prefetching in the worst case. In Proceedings of the 5th ACM-SIAM Symposium on Discrete Algorithms (Arlington, Va., Jan. 23-25). ACM, New York, pp. 392-401. Google ScholarGoogle Scholar
  17. LEE, K.-K., AND VARMAN, P. 1995. Prefetching and I/O parallelism in multiple disk systems. In Proceedings of the 1995 International Conference on Parallel Processing. CRC Press, Boca Raton, Fla., pp. III160-163.Google ScholarGoogle Scholar
  18. PALMER, M., AND ZDONIK, S. B. 1991. Fido: A cache that learns to fetch. In Proceedings of the 17th International Conference on Very Large Data Bases. Morgan-Kaufmann, San Francisco, Calif., pp. 255-264. Google ScholarGoogle Scholar
  19. PATTERSON, R. H., GIBSON, G. A., GINTING, E., STODOLSKY, D., AND ZELENKA, J. 1995. Informed prefetching and caching. In Proceedings of the 15th Symposium on Operating Systems Principles. (Copper Mountain Resort, Colo., Dec. 3-6). ACM, New York, pp. 79-95. Google ScholarGoogle Scholar
  20. SCHRIJVER, A. 1986. Linear and Integer Programming. Wiley, Chichester, England. Google ScholarGoogle Scholar
  21. SLEATOR, D. D., AND TARJAN, R. E. 1985. Amortized efficiency of list update and paging rules. Commun. ACM 28, 2 (Feb.), 202-208. Google ScholarGoogle Scholar
  22. VITTER, J., AND KRISHNAN, P. 1991. Optimal prefetching via data compression. In Proceedings of the 32nd Annual Symposium on Foundations of Computer Science. IEEE Computer Society Press, Los Alamitos, Calif., pp. 121-130. Google ScholarGoogle Scholar

Index Terms

  1. Minimizing stall time in single and parallel disk systems

              Recommendations

              Comments

              Login options

              Check if you have access through your login credentials or your institution to get full access on this article.

              Sign in

              Full Access

              PDF Format

              View or Download as a PDF file.

              PDF

              eReader

              View online with eReader.

              eReader