Oblivious vs. distribution-based sorting: An experimental evaluation

5Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.
Get full text

Abstract

We compare two algorithms for sorting out-of-core data on a distributed-memory cluster. One algorithm, Csort, is a 3-pass oblivious algorithm. The other, Dsort, makes two passes over the data and is based on the paradigm of distribution-based algorithms. In the context of out-of-core sorting, this study is the first comparison between the paradigms of distribution-based and oblivious algorithms. Dsort avoids two of the four steps of a typical distribution-based algorithm by making simplifying assumptions about the distribution of the input keys. Csort makes no assumptions about the keys. Despite the simplifying assumptions, the I/O and communication patterns of Dsort depend heavily on the exact sequence of input keys. Csort, on the other hand, takes advantage of predetermined I/O and communication patterns, governed entirely by the input size, in order to overlap computation, communication, and I/O. Experimental evidence shows that, even on inputs that followed Dsort's simplifying assumptions, Csort fared well. The running time of Dsort showed great variation across five input cases, whereas Csort sorted all of them in approximately the same amount of time. In fact, Dsort ran significantly faster than Csort in just one out of the five input cases: the one that was the most unrealistically skewed in favor of Dsort. A more robust implementation of Dsort - one without the simplifying assumptions - would run even slower. © Springer-Verlag Berlin Heidelberg 2005.

Cite

CITATION STYLE

APA

Chaudhry, G., & Cormen, T. H. (2005). Oblivious vs. distribution-based sorting: An experimental evaluation. In Lecture Notes in Computer Science (Vol. 3669, pp. 317–328). Springer Verlag. https://doi.org/10.1007/11561071_30

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free