• DocumentCode
    3450217
  • Title

    A theoretical framework for memory-adaptive algorithms

  • Author

    Barve, Rakesh D. ; Vitter, Jeffrey Scott

  • Author_Institution
    Horizon Comput., Edison, NJ, USA
  • fYear
    1999
  • fDate
    1999
  • Firstpage
    273
  • Lastpage
    284
  • Abstract
    External memory algorithms play a key role in database management systems and large scale processing systems. External memory algorithms are typically tuned for efficient performance given a fixed, statically allocated amount of internal memory. However, with the advent of real-time database system and database systems based upon administratively defined goals, algorithms must increasingly be able to adapt in an online manner when the amount of internal memory allocated to them changes dynamically and unpredictably. We present a theoretical and applicable framework for memory-adaptive algorithms (or simply MA algorithms). We define the competitive worst-case notion of what it means for an MA algorithm to be dynamically optimal and prove fundamental lower bounds on the performance of MA algorithms for problems such as sorting, standard matrix multiplication, and several related problems. Our main tool for proving dynamic optimality is the notion of resource consumption, which measures how efficiently an MA algorithm adapts itself to memory fluctuations. We present the first dynamically optimal algorithm for sorting (based upon mergesort), permuting, FFT, permutation networks, buffer trees, (standard) matrix multiplication, and LU decomposition. In each case, dynamic optimality is demonstrated via a potential function argument showing that the algorithm´s resource consumption is within a constant factor of optimal
  • Keywords
    algorithm theory; database theory; fast Fourier transforms; matrix multiplication; real-time systems; sorting; FFT; LU decomposition; MA algorithm; administratively defined goals; buffer trees; competitive worst-case notion; database management systems; dynamic optimality proof; dynamically optimal algorithm; external memory algorithms; internal memory; large scale processing systems; matrix multiplication; memory fluctuations; memory-adaptive algorithms; mergesort; permutation networks; permuting,; potential function argument; real-time database system; resource consumption; sorting; standard matrix multiplication; theoretical framework; Algorithm design and analysis; Computer applications; Computer science; Database systems; Fluctuations; Memory management; Military computing; Random access memory; Road transportation; Sorting;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Foundations of Computer Science, 1999. 40th Annual Symposium on
  • Conference_Location
    New York City, NY
  • ISSN
    0272-5428
  • Print_ISBN
    0-7695-0409-4
  • Type

    conf

  • DOI
    10.1109/SFFCS.1999.814599
  • Filename
    814599