Skip to main content
Log in

A performance model for preplanned disk sorting

Leistungsanalyse beim vorgeplanten Sortieren auf Magnetplatten

  • Published:
Computing Aims and scope Submit manuscript

Abstract

The idea of preplanning strings on disks which are merged together is investigated from a performance point of view. Schemes of internal buffer allocation, initial string creation by an internal sort, and string distribution on disks are evaluated. An algorithm is given for the construction of suboptimal merge trees called plannable merge trees.

A cost model is presented for accurate preplanning which consists of detailed assumptions on disk allocation fork input disks andr-way merge planning. Timing considerations for sort and merge including hardware characteristics of moveable head disks show a significant gain of time compared to widely used sort/merge applications.

Zusammenfassung

Der Ansatz, Strings, die zusammengemischt werden, auf Magnetplatten vorzuplanen, wird unter Leistungsgesichtspunkten untersucht. Konzepte für die interne Pufferzuordnung, für die Erzeugung der anfänglichen Strings durch ein internes Sortierverfahren, und für die Stringverteilung auf Magnetplatten werden ausgewertet. Ein Algorithmus beschreibt die Konstruktion von suboptimalen Mischbäumen, die planbare Mischbäume genannt werden.

Ein Kostenmodell, das auf detaillierte Annahmen der Zuordnung vonk Eingabeplatten und der Planung einesr-Wege-Mischens beruht, wird für das exakte Vorplanen aufgestellt. Zeitbetrachtungen für Sortieren und Mischen, die Hardware-Eigenschaften von Magnetplatten einschließen, zeigen signifikante Zeitgewinne verglichen mit weitverbreiteten Sortier- und Mischverfahren.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Institutional subscriptions

Similar content being viewed by others

References

  • (BH 76) Bayer, R., Haerder, T.: Preplanning of Disk Merges. IBM Research Report, RJ 1853, San Jose.

  • (BPV 74) Hyafil, L., Prusker, F., Vuillemin, J.: An Efficient Algorithm for Computing Optimal Disk Merge Patterns, Proceedings of the ACM Symposium on theory of computing, Seattle, April 1974, pp. 216–229.

  • (IBM 1) Introduction to IBM System/360: Direct Access Storage Devices and Organization Methods, IBM Student Text, Form-No.: C 20-1649.

  • (IBM 2) IBM OS/VS Sort/Merge General Information, Form-No.: GC 33-4033-2, IBM, White Plains, NY 10604, U.S.A.

  • (Kn 72) Knuth, D. E.: The Art of Computer Programming, Vol. 3, Sorting and Searching. Reading, Mass.: Addison-Wesley 1972.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Rights and permissions

Reprints and permissions

About this article

Cite this article

Bayer, R., Härder, T. A performance model for preplanned disk sorting. Computing 21, 17–35 (1978). https://doi.org/10.1007/BF02252192

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF02252192

Keywords

Navigation