skip to main content
10.1145/800076.802486acmconferencesArticle/Chapter ViewAbstractPublication PagesstocConference Proceedingsconference-collections
Article
Free access

I/O complexity: The red-blue pebble game

Published: 11 May 1981 Publication History

Abstract

In this paper, the red-blue pebble game is proposed to model the input-output complexity of algorithms. Using the pebble game formulation, a number of lower bound results for the I/O requirement are proven. For example, it is shown that to perform the n-point FFT or the ordinary n×n matrix multiplication algorithm with O(S) memory, at least Ω(n log n/log S) or Ω(n3/@@@@S), respectively, time is needed for the I/O. Similar results are obtained for algorithms for several other problems. All of the lower bounds presented are the best possible in the sense that they are achievable by certain decomposition schemes.
Results of this paper may provide insight into the difficult task of balancing I/O and computation in special-purpose system designs. For example, for the n-point FFT, the lower bound on I/O time implies that an S-point device achieving a speed-up ratio of order log S over the conventional O(n log n) time implementation is all one can hope for.

References

[1]
Cook, S.A. and Sethi, R. Storage Requirements for Deterministic Polynomial Time Recognizable Languages. J. Comp. and Sys. Sci. 13:25-37, 1976.
[2]
Floyd, R.W. Permuting Information in Idealized Two-Level Storage. In Miller, R.E. and Thatcher, J.W. (editor), Complexity of Computer Computations, pages 105-109. Plenum Press, New York, 1972.
[3]
Harary, F. Graph Theory. Addison-Wesley, Reading, Massachusetts, 1969.
[4]
Hopcroft, J.E., Paul, W. and Valiant, L.G. On Time Versus Space. Journal of the ACM 24:332-337, 1977.
[5]
Kernighan, B.W. and Lin, S. An Effective Heuristic Procedure for Partitioning Graphs. Bell Systems Technical Journal 49:291-308, February, 1970.
[6]
Knuth, D. E. The Art of Computer Programming. Volume 3: Sorting and Searching. Addison-Wesley, Reading, Massachusetts, 1973.
[7]
Kung, H.T. Special-Purpose Devices for Signal and Image Processing: An Opportunity in VLSI. Technical Report, Carnegie-Mellon University, Department of Computer Science, July, 1980. Presented at SPIE's 24th Annual Technical Symposium, San Diego, California, July 1980. The final version of the paper is to be published in the Symposium Proceedings.
[8]
Pippenger, N. Pebbling. In Proc. the Fifth IBM Symposium on Mathematical Foundations of Computer Science. Academic & Scientific Programs, IBM Japan, May, 1980.
[9]
Rosenberg, A. L. Private communication.
[10]
Song, S.W. I/O Complexity, and Design of Special-Purpose Hardware for Sorting. VLSI Document V075, Carnegie-Mellon University, Department of Computer Science, February, 1981.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
STOC '81: Proceedings of the thirteenth annual ACM symposium on Theory of computing
May 1981
390 pages
ISBN:9781450373920
DOI:10.1145/800076
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 11 May 1981

Permissions

Request permissions for this article.

Check for updates

Qualifiers

  • Article

Acceptance Rates

Overall Acceptance Rate 1,469 of 4,586 submissions, 32%

Upcoming Conference

STOC '25
57th Annual ACM Symposium on Theory of Computing (STOC 2025)
June 23 - 27, 2025
Prague , Czech Republic

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)307
  • Downloads (Last 6 weeks)38
Reflects downloads up to 01 Jan 2025

Other Metrics

Citations

Cited By

View all

View Options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Login options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media