The I/O Complexity of Sorting and Related Problems (Extended Abstract)

作者: Alok Aggarwal , Jeffrey Scott Vitter

DOI: 10.1007/3-540-18088-5_40

关键词:

摘要: We provide tight upper and lower bounds, up to a constant factor, for the number of accesses (I/Os) secondary storage required four sorting-related problems: sorting, fast Fourier transform (FFT), permutation networks, permuting records. The bounds hold both in worst case average case. Secondary is modeled as magnetic disk capable transfering P blocks each containing B records single time unit; block must be input from or output contiguous locations on disk. give two optimal algorithms problems, which are variants merge sorting distribution sorting. In particular we show P=1 that standard algorithm an external method. Our use same I/Os does phase key except when internal memory size extremely small, thus substantiating popular adage not better. also simpler more direct derivation result due Hong Kung, gives FFT bound special B=P=O(1).

参考文章(8)
Lindstrom, Vitter, The Design and Analysis of BucketSort for Bubble Memory Secondary Storage IEEE Transactions on Computers. ,vol. 34, pp. 218- 233 ,(1985) , 10.1109/TC.1985.1676565
Robert W. Floyd, Permuting Information in Idealized Two-Level Storage Complexity of Computer Computations. pp. 105- 109 ,(1972) , 10.1007/978-1-4684-2001-2_10
Hong Jia-Wei, H. T. Kung, I/O complexity Proceedings of the thirteenth annual ACM symposium on Theory of computing - STOC '81. pp. 326- 333 ,(1981) , 10.1145/800076.802486
Manuel Blum, Robert W. Floyd, Vaughan Pratt, Ronald L. Rivest, Robert E. Tarjan, Time bounds for selection Journal of Computer and System Sciences. ,vol. 7, pp. 448- 461 ,(1973) , 10.1016/S0022-0000(73)80033-9
Chuan-Lin Wu, Tse-Yun Feng, The Universality of the Shuffle-Exchange Network IEEE Transactions on Computers. ,vol. 30, pp. 324- 332 ,(1981) , 10.1109/TC.1981.1675790
Tom Leighton, Tight Bounds on the Complexity of Parallel Sorting IEEE Transactions on Computers. ,vol. 34, pp. 344- 354 ,(1985) , 10.1109/TC.1985.5009385
M. V. Wilkes, The Art of Computer Programming, Volume 3, Sorting and Searching The Computer Journal. ,vol. 17, pp. 324- 324 ,(1974) , 10.1093/COMJNL/17.4.324
Donald Ervin Knuth, The Art of Computer Programming ,(1968)