Enhanced OpenMP Algorithm to Compute All-Pairs Shortest Path on X86 Architectures

被引:0
|
作者
Calderon, Sergio [1 ,2 ]
Rucci, Enzo [1 ,3 ]
Chichizola, Franco [1 ]
机构
[1] UNLP CIC, Fac Informat, III LIDI, RA-1900 La Plata, Buenos Aires, Argentina
[2] CIC, Becario Entrenamiento, La Plata, Argentina
[3] Comis Invest Cient CIC, RA-1900 La Plata, Buenos Aires, Argentina
来源
COMPUTER SCIENCE-CACIC 2023 | 2024年 / 2123卷
关键词
Floyd-Warshall; Multicore; APSP; Xeon; Xeon Phi Knights Landing; Core; OpenMP;
D O I
10.1007/978-3-031-62245-8_4
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Graphs have become a key tool when modeling and solving problems in different areas. The Floyd-Warshall (FW) algorithm computes the shortest path between all pairs of vertices in a graph and is employed in areas like communication networking, traffic routing, bioinformatics, among others. However, FW is computationally and spatially expensive since it requires O(n(3)) operations and O(n(2)) memory space. As the graph gets larger, parallel computing becomes necessary to provide a solution in an acceptable time range. In this paper, we studied a FW code developed for Xeon Phi KNL processors and adapted it to run on any Intel x86 processors, losing the specificity of the former. To do so, we verified one by one the optimizations proposed by the original code, making adjustments to the base code where necessary, and analyzing its performance on two Intel servers under different test scenarios. In addition, a new optimization was proposed to increase the concurrency degree of the parallel algorithm, which was implemented using two different synchronization mechanisms. The experimental results show that all optimizations were beneficial on the two x86 platforms selected. Last, the new optimization proposal improved performance by up to 23%.
引用
收藏
页码:46 / 61
页数:16
相关论文
共 50 条
  • [41] ALL-PAIRS SHORTEST PATH MODIFIED MATRIX-MULTIPLICATION BASED ALGORITHM FOR A ONE-CHIP MapReduce ARCHITECTURE
    Dragomir, Voichita
    UNIVERSITY POLITEHNICA OF BUCHAREST SCIENTIFIC BULLETIN SERIES C-ELECTRICAL ENGINEERING AND COMPUTER SCIENCE, 2016, 78 (04): : 95 - 108
  • [42] A New Algorithm for All-pairs Shortest Paths of Given Source-destination Pair
    Li, Tianzhi
    Xu, Fengsheng
    DCABES 2008 PROCEEDINGS, VOLS I AND II, 2008, : 26 - 29
  • [43] An Algorithm for All-Pairs Regular Path Problem on External Memory Graphs
    Suzuki, Nobutaka
    Ikeda, Kosetsu
    Kwon, Yeondae
    IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2016, E99D (04) : 944 - 958
  • [44] All-Pairs Shortest Paths Algorithm for Regular 2D Mesh Topologies
    Ciric, Vladimir
    Cvetkovic, Aleksandar
    Milentijevic, Ivan
    Vojinovic, Oliver
    JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2016, 22 (11) : 1437 - 1455
  • [45] Serial-parallel tradeoff analysis of all-pairs shortest path algorithms in reconfigurable computing
    Mak, ST
    Lam, KP
    2002 IEEE INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE TECHNOLOGY (FPT), PROCEEDINGS, 2002, : 302 - 305
  • [46] Task Level Parallelization of All Pair Shortest Path Algorithm in OpenMP 3.0
    Albalawi, Eid
    Thulasiraman, Parimala
    Thulasiram, Ruppa
    PROCEEDINGS OF THE 2ND INTERNATIONAL CONFERENCE ON ADVANCES IN COMPUTER SCIENCE AND ENGINEERING (CSE 2013), 2013, 42 : 109 - 112
  • [47] Original optimal method to solve the all-pairs shortest path problem: Dhouib-matrix-ALL-SPP
    Dhouib S.
    Data Science and Management, 2024, 7 (03): : 206 - 217
  • [48] An O(n3 log log n/log n) time algorithm for the all-pairs shortest path problem
    Takaoka, T
    INFORMATION PROCESSING LETTERS, 2005, 96 (05) : 155 - 161
  • [49] A Small-Gain Analysis for an All-Pairs Shortest-Path Algorithm: Global Exponential Input-to-State Stability
    Mo, Yuanqiu
    Yu, Lanlin
    Du, Haibo
    IEEE TRANSACTIONS ON CONTROL OF NETWORK SYSTEMS, 2024, 11 (02): : 821 - 830
  • [50] FB-APSP: A new efficient algorithm for computing all-pairs shortest-paths
    Pereira Junior, Dyson
    Gomes Wille, Emilio Carlos
    JOURNAL OF NETWORK AND COMPUTER APPLICATIONS, 2018, 121 : 33 - 43