The effect of simultaneity on sorting operations

ACM '59 Pub Date : 1959-09-01 DOI:10.1145/612201.612252
S. Feerst, F. Sherwood
{"title":"The effect of simultaneity on sorting operations","authors":"S. Feerst, F. Sherwood","doi":"10.1145/612201.612252","DOIUrl":null,"url":null,"abstract":"The sorting method to be considered is a standard tape merge, modified to take advantage of whatever simultaneous operation capabillties are available. The two types of simultaneity to be considered here are: a) Read-Write and b) Read-Write-Compute. For analysis purposes the sorting method divides naturally into two parts: Phase One-the first tape passt wherein sorted strings of some length are produced from the original randomly arranged data~ by mesh sorting1 and Phase Two-all subsequent tape passes1 wherein the sorted strings produced by Phase One are merged until a single sorted string is obtained. Phase One A division of the internal memory into input and output sections indicates that with no simultaneity, or with read-write simultaneity~ sorted strings of length A/2 are produced1 where A equals the available work area. in the latter caser sharing the reading and writing produces some time advantage. if complete read-write-compute simultaneity exists the sorting method could produce sorted strings of length A/4 and minimize the time required for Phase One. These strings would be half the length of those produced using simultaneous read-write. The longer sorted strings can be handled with fewer passes in Phase Twot more than offsetting the extra time required to produce them in Phase One. Therefore1 even when simultaneous read-write-compute is available~, it is preferable to utilize only simultaneous read-write for Phase One.","PeriodicalId":109454,"journal":{"name":"ACM '59","volume":"1 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1959-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"ACM '59","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/612201.612252","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

Abstract

The sorting method to be considered is a standard tape merge, modified to take advantage of whatever simultaneous operation capabillties are available. The two types of simultaneity to be considered here are: a) Read-Write and b) Read-Write-Compute. For analysis purposes the sorting method divides naturally into two parts: Phase One-the first tape passt wherein sorted strings of some length are produced from the original randomly arranged data~ by mesh sorting1 and Phase Two-all subsequent tape passes1 wherein the sorted strings produced by Phase One are merged until a single sorted string is obtained. Phase One A division of the internal memory into input and output sections indicates that with no simultaneity, or with read-write simultaneity~ sorted strings of length A/2 are produced1 where A equals the available work area. in the latter caser sharing the reading and writing produces some time advantage. if complete read-write-compute simultaneity exists the sorting method could produce sorted strings of length A/4 and minimize the time required for Phase One. These strings would be half the length of those produced using simultaneous read-write. The longer sorted strings can be handled with fewer passes in Phase Twot more than offsetting the extra time required to produce them in Phase One. Therefore1 even when simultaneous read-write-compute is available~, it is preferable to utilize only simultaneous read-write for Phase One.
同时性对排序操作的影响
要考虑的排序方法是一个标准的磁带合并,修改以利用任何可用的同时操作能力。这里要考虑的两种类型的同时性是:a) Read-Write和b) Read-Write- compute。为了便于分析,排序方法自然分为两部分:阶段一(第一次磁带传递,通过网格排序1从原始随机排列的数据中产生一定长度的排序字符串)和阶段二(所有后续磁带传递1,其中阶段一产生的排序字符串被合并,直到获得一个排序字符串)。阶段一:将内存划分为输入和输出部分表明,在没有同时性的情况下,或者在读写同时性的情况下,产生长度为A/2的排序字符串,其中A等于可用的工作区域。在后一种情况下,分享阅读和写作会产生一些时间优势。如果存在完全的读-写-计算同时性,排序方法可以产生长度为A/4的排序字符串,并最小化阶段一所需的时间。这些字符串的长度将是使用同步读写产生的字符串的一半。较长的排序字符串可以在第二阶段用更少的传递来处理,而不仅仅是抵消在第一阶段产生它们所需的额外时间。因此,即使同时的读写计算是可用的~,也最好只对阶段1使用同时的读写。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信