arrow
返回

Optimizing graph algorithms for improved cache performance

delete2004-09-01
delete53
delete
OA
AI
J
Joon‐Sang Park *
M
M. Penner
V
Viktor K. Prasanna
DOI:10.1109/TPDS.2004.44delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
In this paper, we develop algorithmic optimizations to improve the cache performance of four fundamental graph algorithms. We present a cache-oblivious implementation of the Floyd-Warshall Algorithm for the fundamental graph problem of all-pairs shortest paths by relaxing some dependencies in the iterative version. We show that this implementation achieves the lower bound on processor-memory traffic of Omega(N-3/rootC), where N and C are the problem size and cache size, respectively. Experimental results show that this cache-oblivious implementation shows more than six times the improvement in real execution time over that of the iterative implementation with the usual row major data layout, on three state-of-the-art architectures. Second, we address Dijkstra's algorithm for the single-source shortest paths problem and Prim's algorithm for minimum spanning tree problem. For these algorithms, we demonstrate up to two times the improvement in real execution time by using a simple cache-friendly graph representation, namely adjacency arrays. Finally, we address the matching algorithm for bipartite graphs. We show performance improvements of two to three times in real execution time by using the technique of making the algorithm initially work on subproblems to generate a suboptimal solution and, then, solving the whole problem using the suboptimal solution as a starting point. Experimental results are shown for the Pentium III, UltraSPARC III, Alpha 21264, and MIPS R12000 machines.
Keyword:
cache-friendly algorithms
cache-oblivious algorithms
graph algorithms
shortest path
minimum spanning trees
graph matching
data layout optimizations
algorithm performance
err分享
err收藏
GCache: Neighborhood-Guided Graph Caching in a Distributed Environment
err2019-11-01
err5
PREAI
errYuan, Ye; Lian, Xiang; Chen, Lei; Wang, Guoren; Yu, Jeffrey Xu; Wang, Yishu; Ma, Yuliang
err分享
err收藏
err分享
err收藏
Topology Optimization of Large-Scale Offshore Wind Power Collection System Based on Graph Genetic DMST
err2024-01-01
err0
errOAAI
errQian, Haiya; Li, Keyu; Xu, Qingshan; Qi, Shuntao; Ni, Yang; Li, Feng
err分享
err收藏

期刊

IEEE Transactions on Parallel and Distributed Systems 封面图
IEEE Transactions on Parallel and Distributed Systems
IF:
6
论文数:
5.2K
被引数:
1.4W

机构

暂无机构信息
引用论文

引用论文

Clinical activity of brigatinib in ROS1-rearranged non-small cell lung cancer
err2020-05-27
err0
PREAI
errE. Dudnik; A. Agbarya; R. Grinberg; A. Cyjon; J. Bar; M. Moskovitz; N. Peled
err分享
err收藏
Maternal obesity disrupts the methionine cycle in baboon pregnancy
err2015-11-04
err0
errOAAI
errPeter W. Nathanielsz; Jian Yan; Ralph Green; Mark Nijland; Joshua W. Miller; Guoyao Wu; Thomas J. McDonald; Marie A. Caudill
err分享
err收藏
Postural Strategy and Back Muscle Oxygenation during Inspiratory Muscle Loading
err2013-07-01
err0
errOAAI
errLOTTE JANSSENS; MADELON PIJNENBURG; KURT CLAEYS; ALISON K. MCCONNELL; THIERRY TROOSTERS; SIMON BRUMAGNE
err分享
err收藏
Dynamic properties of gramicidin A in phospholipid membranes
err2002-05-01
err0
PREAI
errPeter M. Macdonald; Joachim Seelig
err分享
err收藏
Synaptic Activity Regulates Mitochondrial Iron Metabolism to Enhance Neuronal Bioenergetics
err2023-01-04
err0
errOAAI
errPaula Tena-Morraja; Guillem Riqué-Pujol; Claudia Müller-Sánchez; Manuel Reina; Ofelia M. Martínez-Estrada; Francesc X. Soriano
err分享
err收藏
Leveraging Persistent Homology for Differential Diagnosis of Mild Cognitive Impairment
err2024-12-04
err0
PREAI
errNinad Aithal; Debanjali Bhattacharya; Neelam Sinha; Thomas Gregor Issac
err分享
err收藏
学者 查看更多内容