Research output: Contribution to book/anthology/report/proceeding › Article in proceedings › Research › peer-review

- https://doi.org/10.1145/3313276.3316337
Final published version

- Alireza Farhadi, Maryland University ,
- Mohammad Taghi Hajiaghayi, Maryland University ,
- Kasper Green Larsen
- Elaine Shi, Cornell University

Sorting extremely large datasets is a frequently occuring task in practice. These datasets are usually much larger than the computer’s main memory; thus external memory sorting algorithms, first introduced by Aggarwal and Vitter (1988), are often used. The complexity of comparison based external memory sorting has been understood for decades by now, however the situation remains elusive if we assume the keys to be sorted are integers. In internal memory, one can sort a set of n integer keys of Θ(lgn) bits each in O(n) time using the classic Radix Sort algorithm, however in external memory, there are no faster integer sorting algorithms known than the simple comparison based ones. Whether such algorithms exist has remained a central open problem in external memory algorithms for more than three decades. In this paper, we present a tight conditional lower bound on the complexity of external memory sorting of integers. Our lower bound is based on a famous conjecture in network coding by Li and Li (2004), who conjectured that network coding cannot help anything beyond the standard multicommodity flow rate in undirected graphs. The only previous work connecting the Li and Li conjecture to lower bounds for algorithms is due to Adler et al. (2006). Adler et al. indeed obtain relatively simple lower bounds for oblivious algorithms (the memory access pattern is fixed and independent of the input data). Unfortunately obliviousness is a strong limitations, especially for integer sorting: we show that the Li and Li conjecture implies an Ω(nlgn) lower bound for internal memory oblivious sorting when the keys are Θ(lgn) bits. This is in sharp contrast to the classic (non-oblivious) Radix Sort algorithm. Indeed going beyond obliviousness is highly non-trivial; we need to introduce several new methods and involved techniques, which are of their own interest, to obtain our tight lower bound for external memory integer sorting.

Original language | English |
---|---|

Title of host publication | STOC 2019 - Proceedings of the 51st Annual ACM SIGACT Symposium on Theory of Computing |

Editors | Moses Charikar, Edith Cohen |

Number of pages | 12 |

Publisher | Association for Computing Machinery |

Publication year | 2019 |

Pages | 997-1008 |

ISBN (Electronic) | 9781450367059 |

DOIs | |

Publication status | Published - 2019 |

Event | 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC 2019 - Phoenix, United States Duration: 23 Jun 2019 → 26 Jun 2019 |

Conference | 51st Annual ACM SIGACT Symposium on Theory of Computing, STOC 2019 |
---|---|

Land | United States |

By | Phoenix |

Periode | 23/06/2019 → 26/06/2019 |

Sponsor | ACM SIGACT |

Series | Proceedings of the Annual ACM Symposium on Theory of Computing |
---|---|

ISSN | 0737-8017 |

- External Memory, Integer Sorting, Lower Bounds, Network Coding, Reductions

See relations at Aarhus University Citationformats

ID: 159672402