...
【24h】

Speeding up external mergesort

机译:加快外部合并排序

获取原文
获取原文并翻译 | 示例
   

获取外文期刊封面封底 >>

       

摘要

External mergesort is normally implemented so that each run is stored continuously on disk and blocks of data are read exactly in the order they are needed during merging. We investigate two ideas for improving the performance of external mergesort: interleaved layout and a new reading strategy. Interleaved layout places blocks from different runs in consecutive disk addresses. This is done in the hope that interleaving will reduce seek overhead during merging. The new reading strategy precomputes the order in which data blocks are to be read according to where they are located on disk and when they are needed for merging. Extra buffer space makes it possible to read blocks in an order that reduces seek overhead, instead of reading them exactly in the order they are needed for merging. A detailed simulation model was used to compare the two layout strategies and three reading strategies. The effects of using multiple work disks were also investigated. We found that, in most cases, interleaved layout does not improve performance, but that the new reading strategy consistently performs better than double buffering and forecasting.
机译:外部归并排序通常是实现的,因此每次运行都连续存储在磁盘上,并且按照合并期间所需的顺序准确读取数据块。我们研究了两种改善外部合并排序性能的方法:交错布局和新的阅读策略。交错布局将来自不同运行的块放置在连续的磁盘地址中。这样做是希望交织将减少合并期间的查找开销。新的读取策略根据数据块在磁盘上的位置以及合并所需的时间来预先计算数据块的读取顺序。额外的缓冲区空间使得可以按减少查找开销的顺序读取块,而不是完全按照合并所需的顺序读取块。详细的仿真模型用于比较两种布局策略和三种阅读策略。还研究了使用多个工作磁盘的效果。我们发现,在大多数情况下,交错布局不会提高性能,但是新的读取策略始终比双缓冲和预测性能更好。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号