最优并行前缀和算法的最优级同步共享内存并行BFS算法及其能耗意义
An Optimal Level-synchronous Shared-memory Parallel BFS Algorithm with Optimal parallel Prefix-sum Algorithm and its Implications for Energy Consumption
摘要:
我们提出了一种高效的并行级同步宽度优先搜索(BFS)算法的共享存储器架构,实现了理论上的并行运行时间的下限。无论图的形状如何,最优性都保持不变。我们还证明了这一最优方案的能源消耗经验的含义。关键的想法是永远不要使用超过必要的处理核心来有效地完成任何计算步骤中的工作。我们保持其余的核空闲以节省能量并减少其他资源争用(例如,带宽、共享高速缓存等)。我们的BFS不使用锁和原子指令,并且很容易扩展到共享内存协处理器。
英文摘要:
We present a work-efficient parallel level-synchronous Breadth First Search (BFS) algorithm for shared-memory architectures which achieves the theoretical lower bound on parallel running time. The optimality holds regardless of the shape of the graph. We also demonstrate the implication of this optimality for the energy consumption of the program empirically. The key idea is never to use more processing cores than necessary to complete the work in any computation step efficiently. We keep the rest of the cores idle to save energy and to reduce other resource contentions (e.g., bandwidth, shared caches, etc). Our BFS does not use locks and atomic instructions and is easily extendible to shared-memory coprocessors.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。