arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 0802.1026cs.DScs.SE
收藏

高速缓存不经意优先级算法及其在最短路径问题中的应用

An Empirical Study of Cache-Oblivious Priority Queues and their Application to the Shortest Path Problem

Benjamin Sach, Raphaël Clifford

摘要:

近年来,外部存储器计算的Cache-Oblivious模型为海量数据集上的算法分析提供了一个有吸引力的理论基础。在发现渐近最优或接近最优的算法方面已经取得了很大的进展。然而,迄今为止,成功的实验研究仍然相对较少。在本文中,我们比较了两种不同的基于漏斗和桶堆的Cache-Oblivious优先级队列,并将它们应用于具有正边权重的图上的单源最短路径问题。我们的研究结果表明,当RAM是有限的,数据交换到外部存储,缓存不经意的优先级队列实现了数量级的加速比标准的内部存储器技术。然而,对于模拟和真实世界的图形数据上的单源最短路径问题,由于访问图形邻接列表本身所需的时间,这些加速比明显较低。

英文摘要:

In recent years the Cache-Oblivious model of external memory computation has provided an attractive theoretical basis for the analysis of algorithms on massive datasets. Much progress has been made in discovering algorithms that are asymptotically optimal or near optimal. However, to date there are still relatively few successful experimental studies. In this paper we compare two different Cache-Oblivious priority queues based on the Funnel and Bucket Heap and apply them to the single source shortest path problem on graphs with positive edge weights. Our results show that when RAM is limited and data is swapping to external storage, the Cache-Oblivious priority queues achieve orders of magnitude speedups over standard internal memory techniques. However, for the single source shortest path problem both on simulated and real world graph data, these speedups are markedly lower due to the time required to access the graph adjacency list itself.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑