External string sorting: Faster and cache-oblivious

被引:0
|
作者
Fagerberg, R
Pagh, A
Pagh, R
机构
[1] Univ So Denmark, DK-5230 Odense M, Denmark
[2] IT Univ Copenhagen, DK-2300 Copenhagen S, Denmark
来源
STACS 2006, PROCEEDINGS | 2006年 / 3884卷
关键词
D O I
暂无
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
We give a randomized algorithm for sorting strings in external memory. For K binary strings comprising N words in total, our algorithm finds the sorted order and the longest common prefix sequence of the strings using O(K/B log(M/B)(K/M) log(N/K) + N/B) I/Os. This bound is never worse than O(K/B log(M/B)(K/M) log log(M/B) (K/M) + N/B) I/Os, and improves on the (deterministic) algorithm of Arge et al. (On sorting strings in external memory, STOC '97). The error probability of the algorithm can be chosen as O(N-c) for any positive constant c. The algorithm even works in the cache-oblivious model under the tall cache assumption, i.e,, assuming M > B1+epsilon for some epsilon > 0. An implication of our result is improved construction algorithms for external memory string dictionaries.
引用
收藏
页码:68 / 79
页数:12
相关论文
共 50 条
  • [21] Cache-Oblivious Ray Reordering
    Moon, Bochang
    Byun, Yongyoung
    Kim, Tae-Joon
    Claudio, Pio
    Kim, Hye-Sun
    Ban, Yun-Ji
    Nam, Seung Woo
    Yoon, Sung-Eui
    ACM TRANSACTIONS ON GRAPHICS, 2010, 29 (03):
  • [22] Cache-oblivious scanline algorithm design
    Rahman, Md Mizanur
    COMPUTER GRAPHICS, IMAGING AND VISUALISATION: NEW ADVANCES, 2007, : 22 - 27
  • [23] Low Depth Cache-Oblivious Algorithms
    Blelloch, Guy E.
    Gibbons, Phillip B.
    Simhadri, Harsha Vardhan
    SPAA '10: PROCEEDINGS OF THE TWENTY-SECOND ANNUAL SYMPOSIUM ON PARALLELISM IN ALGORITHMS AND ARCHITECTURES, 2010, : 189 - 199
  • [24] On the limits of cache-oblivious matrix transposition
    Silvestri, Francesco
    TRUSTWORTHY GLOBAL COMPUTING, 2007, 4661 : 233 - 243
  • [25] Cache-oblivious B-trees
    Bender, MA
    Demaine, ED
    Farach-Colton, M
    41ST ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE, PROCEEDINGS, 2000, : 399 - 409
  • [26] Cache-Oblivious Scheduling of Shared Workloads
    Bar, Arian
    Golab, Lukasz
    Ruehrup, Stefan
    Schiavone, Mirko
    Casas, Pedro
    2015 IEEE 31ST INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE), 2015, : 855 - 866
  • [27] Cache-oblivious databases: Limitations and opportunities
    He, Bingsheng
    Luo, Qiong
    ACM TRANSACTIONS ON DATABASE SYSTEMS, 2008, 33 (02):
  • [28] Cache-oblivious B-trees
    Bender, MA
    Demaine, ED
    Farach-Colton, M
    SIAM JOURNAL ON COMPUTING, 2005, 35 (02) : 341 - 358
  • [29] On the limits of cache-oblivious rational permutations
    Silvestri, Francesco
    THEORETICAL COMPUTER SCIENCE, 2008, 402 (2-3) : 221 - 233
  • [30] Cache-Oblivious R-Trees
    Arge, Lars
    de Berg, Mark
    Haverkort, Herman
    ALGORITHMICA, 2009, 53 (01) : 50 - 68