1987 · 171 citations · 16 references
ComputingComputer EngineeringComputer ScienceAlgorithmsData StructuresTheory Of ComputationAlgorithm AnalysisComputational ComplexityMemory HierarchyMemory Hierarchy DesignMemory ModelingParallel Data StructuresBlock TransferBlock Transfer ModelHierarchical Memory ArchitectureInitial AccessInitial Access TechniquesLower BoundsMemory Hierarchy AlgorithmsUpper Bounds
In this paper we introduce a model of Hierarchical Memory with Block Transfer (BT for short). It is like a random access machine, except that access to location x takes time f(x), and a block of consecutive locations can be copied from memory to memory, taking one unit of time per element after the initial access time. We first study the model with f(x) = xα for 0 ≪ α ≪ 1. A tight bound of θ(n log log n) is shown for many simple problems: reading each input, dot product, shuffle exchange, and merging two sorted lists. The same bound holds for transposing a √n × √n matrix; we use this to compute an FFT graph in optimal θ(n log n) time. An optimal θ(n log n) sorting algorithm is also shown. Some additional issues considered are: maintaining data structures such as dictionaries, DAG simulation, and connections with PRAMs. Next we study the model f(x) = x. Using techniques similar to those developed for the previous model, we show tight bounds of θ(n log n) for the simple problems mentioned above, and provide a new technique that yields optimal lower bounds of Ω(n log2n) for sorting, computing an FFT graph, and for matrix transposition. We also obtain optimal bounds for the model f(x)= xα with α ≫ 1. Finally, we study the model f(x) = log x and obtain optimal bounds of θ(n log*n) for simple problems mentioned above and of θ(n log n) for sorting, computing an FFT graph, and for some permutations.
16
The Art of Computer Programming
G.E. Whitesides · Nuclear Science and Engineering · 1970 · 6.1K citations
Data Structures and Algorithms
Niklaus Wirth · Scientific American · 1984 · 1.4K citations
Evaluation techniques for storage hierarchies
R. L. Mattson, J. Gecsei, Donald R. Slutz et al. · IBM Systems Journal · 1970 · 1.3K citations
An O(logn) parallel connectivity algorithm
Yossi Shiloach, Uzi Vishkin · Journal of Algorithms · 1982 · 598 citations
Jiawei Hong, H. T. Kung · 1981 · 450 citations