arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1403.0252cs.DS
收藏

关于优先股回归基础的实证研究

A Back-to-Basics Empirical Study of Priority Queues

Daniel H. Larkin, Siddhartha Sen, Robert E. Tarjan

摘要:

理论界最近提出了几种新的堆变体,但这些变体在很大程度上尚未经过实验测试。我们把这个领域带回到绘图板上,只使用标准的、众所周知的优化来直接实现经典和新颖的结构。我们研究了每个结构在各种输入上的行为,包括人工工作负载,在真实地图数据上运行算法产生的工作负载,以及最近系统网络研究中使用的离散事件模拟器的工作负载。我们提供的意见,哪些特点是最相关的性能。例如,我们发现L1缓存未命中率似乎与挂钟时间密切相关。我们还提供了有关输入序列如何影响不同堆变体的相对性能的观察结果。例如,我们表明(理论上和实践中),某些随机插入-缺失序列是简并的,可能导致误导性的结果。总的来说,我们的研究结果表明,虽然传统智慧在某些情况下成立,但在其他情况下却大错特错。

英文摘要:

The theory community has proposed several new heap variants in the recent past which have remained largely untested experimentally. We take the field back to the drawing board, with straightforward implementations of both classic and novel structures using only standard, well-known optimizations. We study the behavior of each structure on a variety of inputs, including artificial workloads, workloads generated by running algorithms on real map data, and workloads from a discrete event simulator used in recent systems networking research. We provide observations about which characteristics are most correlated to performance. For example, we find that the L1 cache miss rate appears to be strongly correlated with wallclock time. We also provide observations about how the input sequence affects the relative performance of the different heap variants. For example, we show (both theoretically and in practice) that certain random insertion-deletion sequences are degenerate and can lead to misleading results. Overall, our findings suggest that while the conventional wisdom holds in some cases, it is sorely mistaken in others.

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

↑