Skip to main content
CenXiv.org
此网站处于试运行阶段,支持我们!
我们衷心感谢所有贡献者的支持。
贡献
赞助
cenxiv logo > cs > arXiv:2507.08658

帮助 | 高级搜索

计算机科学 > 硬件架构

arXiv:2507.08658 (cs)
[提交于 2025年7月11日 ]

标题: 基于列表偏移归并排序器的硬件中有序输入列表的快速高效合并

标题: Fast and Efficient Merge of Sorted Input Lists in Hardware Using List Offset Merge Sorters

Authors:Robert B. Kent, Marios S. Pattichis
摘要: 这里介绍了一组新的硬件归并排序设备,这些设备能够以快速高效的方式将多个已排序的输入列表合并成一个已排序的输出列表。 在每个归并排序器中,来自已排序输入列表的值被安排在一个输入二维设置数组中,但每个已排序输入列表的顺序相对于其他已排序输入列表的顺序有所偏移。 在这些新设备中,称为列表偏移归并排序器(LOMS),通过交替的列排序阶段和行排序阶段处理输入设置数组,最终生成按定义顺序排列的输出数组。 LOMS 两路排序器,用于合并两个已排序的输入列表,只需要两个归并阶段,并且比Kenneth Batcher之前最先进的两路归并设备——比特onic归并排序器和奇偶归并排序器要快得多。 LOMS 两路排序器在其第一阶段使用了最近引入的单阶段两路归并排序器(S2MS)。 LOMS 和 S2MS 设备都可以合并任何混合的输入列表大小,而 Batcher 的归并排序器除非两个输入列表相等且为 2 的幂次方,否则很难设计。 单独来看,S2MS 设备在本研究的目标 FPGA 设备中实现时是最快的两路归并排序器,但它们往往需要大量的 LUT 资源。 LOMS 两路设备比相应的 S2MS 设备使用的资源更少,使得一些大型 LOMS 设备可以在给定的 FPGA 中实现,而相应的 S2MS 设备却无法在该 FPGA 中容纳。 一个列表偏移两路排序器将两个各含 32 个值的列表合并成一个包含这 64 个值的已排序输出列表,耗时 2.24 nS,相比相应的 Batcher 设备速度提高了 2.63 倍。 一个 LOMS 三路归并排序器,合并三个各含 7 个值的已排序输入列表,完全合并 21 个值耗时 3.4 nS,相比相应的最先进三路归并设备速度提高了 1.36 倍。
摘要: A new set of hardware merge sort devices are introduced here, which merge multiple sorted input lists into a single sorted output list in a fast and efficient manner. In each merge sorter, the values from the sorted input lists are arranged in an input 2-D setup array, but with the order of each sorted input list offset from the order of each of the other sorted input lists. In these new devices, called List Offset Merge Sorters (LOMS), a minimal set of column sort stages alternating with row sort stages process the input setup array into a final output array, now in the defined sorted order. LOMS 2-way sorters, which merge 2 sorted input lists, require only 2 merge stages and are significantly faster than Kenneth Batcher's previous state-of-the-art 2-way merge devices, Bitonic Merge Sorters and Odd-Even Merge Sorters. LOMS 2-way sorters utilize the recently-introduced Single-Stage 2-way Merge Sorters (S2MS) in their first stage. Both LOMS and S2MS devices can merge any mixture of input list sizes, while Batcher's merge sorters are difficult to design unless the 2 input lists are equal, and a power-of-2. By themselves, S2MS devices are the fastest 2-way merge sorters when implemented in this study's target FPGA devices, but they tend to use a large number of LUT resources. LOMS 2-way devices use fewer resources than comparable S2MS devices, enabling some large LOMS devices to be implemented in a given FPGA when comparable S2MS devices cannot fit in that FPGA. A List Offset 2-way sorter merges 2 lists, each with 32 values, into a sorted output list of those 64 values in 2.24 nS, a speedup of 2.63 versus a comparable Batcher device. A LOMS 3-way merge sorter, merging 3 sorted input lists with 7 values, fully merges the 21 values in 3.4 nS, a speedup of 1.36 versus the comparable state-of-the-art 3-way merge device.
主题: 硬件架构 (cs.AR) ; 数据结构与算法 (cs.DS); 图像与视频处理 (eess.IV)
引用方式: arXiv:2507.08658 [cs.AR]
  (或者 arXiv:2507.08658v1 [cs.AR] 对于此版本)
  https://doi.org/10.48550/arXiv.2507.08658
通过 DataCite 发表的 arXiv DOI(待注册)

提交历史

来自: Robert Kent [查看电子邮件]
[v1] 星期五, 2025 年 7 月 11 日 15:00:21 UTC (3,819 KB)
全文链接:

获取论文:

    查看标题为《》的 PDF
  • 查看中文 PDF
  • 查看 PDF
  • HTML(实验性)
  • TeX 源代码
  • 其他格式
许可图标 查看许可
当前浏览上下文:
cs.AR
< 上一篇   |   下一篇 >
新的 | 最近的 | 2025-07
切换浏览方式为:
cs
cs.DS
eess
eess.IV

参考文献与引用

  • NASA ADS
  • 谷歌学术搜索
  • 语义学者
a 导出 BibTeX 引用 加载中...

BibTeX 格式的引用

×
数据由提供:

收藏

BibSonomy logo Reddit logo

文献和引用工具

文献资源探索 (什么是资源探索?)
连接的论文 (什么是连接的论文?)
Litmaps (什么是 Litmaps?)
scite 智能引用 (什么是智能引用?)

与本文相关的代码,数据和媒体

alphaXiv (什么是 alphaXiv?)
CatalyzeX 代码查找器 (什么是 CatalyzeX?)
DagsHub (什么是 DagsHub?)
Gotit.pub (什么是 GotitPub?)
Hugging Face (什么是 Huggingface?)
带有代码的论文 (什么是带有代码的论文?)
ScienceCast (什么是 ScienceCast?)

演示

复制 (什么是复制?)
Hugging Face Spaces (什么是 Spaces?)
TXYZ.AI (什么是 TXYZ.AI?)

推荐器和搜索工具

影响之花 (什么是影响之花?)
核心推荐器 (什么是核心?)
IArxiv 推荐器 (什么是 IArxiv?)
  • 作者
  • 地点
  • 机构
  • 主题

arXivLabs:与社区合作伙伴的实验项目

arXivLabs 是一个框架,允许合作伙伴直接在我们的网站上开发和分享新的 arXiv 特性。

与 arXivLabs 合作的个人和组织都接受了我们的价值观,即开放、社区、卓越和用户数据隐私。arXiv 承诺这些价值观,并且只与遵守这些价值观的合作伙伴合作。

有一个为 arXiv 社区增加价值的项目想法吗? 了解更多关于 arXivLabs 的信息.

这篇论文的哪些作者是支持者? | 禁用 MathJax (什么是 MathJax?)
  • 关于
  • 帮助
  • contact arXivClick here to contact arXiv 联系
  • 订阅 arXiv 邮件列表点击这里订阅 订阅
  • 版权
  • 隐私政策
  • 网络无障碍帮助
  • arXiv 运营状态
    通过...获取状态通知 email 或者 slack

京ICP备2025123034号