Affiliation:
1. Duke University, Durham, NC
Abstract
The adaptation of I/O-efficient algorithms in commercial and research applications can be facilitated by well-designed software libraries. The Templated Portable I/O Environment (TPIE) [2] for C++ is one such library based on the I/O-model of Agarwal and Vitter [3]. TPIE contains a number of powerful algorithms and data structures, enabling the user to quickly develop software that scales to very large data sets. Figure 1 illustrates the power of I/O-efficient algorithms in general and TPIE in particular, in this case using an external memory sorting algorithm and priority queue. As the data size grows close to the 6GiB of main memory of the computer, the sorting algorithm from the C++ Standard Template Library (STL), std::sort, slows down dramatically. Beyond that point using std::sort is infeasible as running times extend into days and weeks even for date sizes only slightly larger than the main memory. STL's std::priority queue behaves in the same way. The sorting algorithm and the priority queue from TPIE are well behaved, even as the size of the input data grows to terabytes. The STXXL [8] and LEDA-SM [5] libraries have goals and features similar to those of TPIE. STXXL aims to be very close to C++'s Standard Template Library (STL) but also offers pipe-lining and some usage of multiple cores. LEDA-SM is an extension to the Library of Efficient Data Types and Algorithms (LEDA) and consists of a number of I/O-efficient data structures and algorithms. Unfortunately, the LEDA-SM project is not active according to a statement on the project's website. On a slightly different level the cluster-friendly FG [4] library provides a framework for pipe-line structured programs that also scale to large data sets. A significantly reworked version 2.0 has been announced on the project website. Moving further into the distributed computing paradigm, the MapReduce [7] and Hadoop [1] frameworks are very popular for implementing algorithms on clusters with large numbers of computing nodes, but that is outside the scope of this article. We refer to [10] and the references therein for a more extensive survey of I/O-efficient algorithms and software libraries.
Publisher
Association for Computing Machinery (ACM)
Reference10 articles.
1. Apache Hadoop. http://hadoop.apache.org. Apache Hadoop. http://hadoop.apache.org.
2. Templated Portable I/O-Environment (TPIE). http://madalgo.au.dk/tpie. Templated Portable I/O-Environment (TPIE). http://madalgo.au.dk/tpie.
3. The input/output complexity of sorting and related problems
Cited by
3 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. Performance Analysis of Various Sorting Algorithms: Comparison and Optimization;2023 11th International Conference on Intelligent Systems and Embedded Design (ISED);2023-12-15
2. Predicting Memory Demands of BDD Operations Using Maximum Graph Cuts;Automated Technology for Verification and Analysis;2023
3. Packing R-trees with Space-filling Curves;ACM Transactions on Database Systems;2020-09-30