• DocumentCode
    962598
  • Title

    The I/O Performance of Multiway Mergesort and Tag Sort

  • Author

    Kwan, Sai Choi ; Baer, Jean-Loup

  • Author_Institution
    Department of Computer Science, University of Washington, Seattle, WA 98195.
  • Issue
    4
  • fYear
    1985
  • fDate
    4/1/1985 12:00:00 AM
  • Firstpage
    383
  • Lastpage
    387
  • Abstract
    We develop models of secondary storage to evaluate external sorting and use them to analyze the average I/O access time of mergesort and tag sort on files with uniform key distribution. The k-way mergesort takes [logk R] merge passes to sort a file with R initial sorted runs. Choosing k as large as possible reduces the number of merge passes, but we show that under the assumptions of our models, the I/O access time of the merge phase in mergesort increases as a function of k. For large files with short keys, tag sort provides a promising alternative to mergesort. We analyze the I/O access time of tag sort with a ``sequential scan´´ distribution method. We show that for large files tag sort takes asymptotically less I/O time than mergesort.
  • Keywords
    Clocks; Computer architecture; Computer science; Data communication; Delay effects; Fabrication; Forward contracts; Performance analysis; Sorting; Very large scale integration; Disk model; I/O performance; distribution sort; external sorting; mergesort; tag sort;
  • fLanguage
    English
  • Journal_Title
    Computers, IEEE Transactions on
  • Publisher
    ieee
  • ISSN
    0018-9340
  • Type

    jour

  • DOI
    10.1109/TC.1985.5009392
  • Filename
    5009392