Distributed large-scale graph processing on FPGAs

被引:2
作者
Sahebi, Amin [1 ,2 ]
Barbone, Marco [3 ]
Procaccini, Marco [1 ,5 ]
Luk, Wayne [3 ]
Gaydadjiev, Georgi [3 ,4 ]
Giorgi, Roberto [1 ,5 ]
机构
[1] Univ Siena, Dept Informat Engn & Math, Siena, Italy
[2] Univ Florence, Dept Informat Engn, Florence, Italy
[3] Imperial Coll London, Dept Comp, London, England
[4] Delft Univ Technol, Dept Quantum & Comp Engn, Delft, Netherlands
[5] Consorzio Interuniv Nazl Informat, Rome, Italy
基金
欧盟地平线“2020”; 英国工程与自然科学研究理事会;
关键词
Graph processing; Distributed computing; Grid partitioning; FPGA; Accelerators; MODEL;
D O I
10.1186/s40537-023-00756-x
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Processing large-scale graphs is challenging due to the nature of the computation that causes irregular memory access patterns. Managing such irregular accesses may cause significant performance degradation on both CPUs and GPUs. Thus, recent research trends propose graph processing acceleration with Field-Programmable Gate Arrays (FPGA). FPGAs are programmable hardware devices that can be fully customised to perform specific tasks in a highly parallel and efficient manner. However, FPGAs have a limited amount of on-chip memory that cannot fit the entire graph. Due to the limited device memory size, data needs to be repeatedly transferred to and from the FPGA on-chip memory, which makes data transfer time dominate over the computation time. A possible way to overcome the FPGA accelerators' resource limitation is to engage a multi-FPGA distributed architecture and use an efficient partitioning scheme. Such a scheme aims to increase data locality and minimise communication between different partitions. This work proposes an FPGA processing engine that overlaps, hides and customises all data transfers so that the FPGA accelerator is fully utilised. This engine is integrated into a framework for using FPGA clusters and is able to use an offline partitioning method to facilitate the distribution of large-scale graphs. The proposed framework uses Hadoop at a higher level to map a graph to the underlying hardware platform. The higher layer of computation is responsible for gathering the blocks of data that have been pre-processed and stored on the host's file system and distribute to a lower layer of computation made of FPGAs. We show how graph partitioning combined with an FPGA architecture will lead to high performance, even when the graph has Millions of vertices and Billions of edges. In the case of the PageRank algorithm, widely used for ranking the importance of nodes in a graph, compared to state-of-the-art CPU and GPU solutions, our implementation is the fastest, achieving a speedup of 13 compared to 8 and 3 respectively. Moreover, in the case of the large-scale graphs, the GPU solution fails due to memory limitations while the CPU solution achieves a speedup of 12 compared to the 26x achieved by our FPGA solution. Other state-of-the-art FPGA solutions are 28 times slower than our proposed solution. When the size of a graph limits the performance of a single FPGA device, our performance model shows that using multi-FPGAs in a distributed system can further improve the performance by about 12x. This highlights our implementation efficiency for large datasets not fitting in the on-chip memory of a hardware device.
引用
收藏
页数:28
相关论文
共 74 条
  • [1] The Stratosphere platform for big data analytics
    Alexandrov, Alexander
    Bergmann, Rico
    Ewen, Stephan
    Freytag, Johann-Christoph
    Hueske, Fabian
    Heise, Arvid
    Kao, Odej
    Leich, Marcus
    Leser, Ulf
    Markl, Volker
    Naumann, Felix
    Peters, Mathias
    Rheinlaender, Astrid
    Sax, Matthias J.
    Schelter, Sebastian
    Hoeger, Mareike
    Tzoumas, Kostas
    Warneke, Daniel
    [J]. VLDB JOURNAL, 2014, 23 (06) : 939 - 964
  • [2] FPGA-Accelerated Hadoop Cluster for Deep Learning Computations
    Alhamali, Abdulrahman
    Salha, Nibal
    Morcel, Raghid
    Ezzeddine, Mazen
    Hamdan, Omar
    Akkary, Haitham
    Hajj, Hazem
    [J]. 2015 IEEE INTERNATIONAL CONFERENCE ON DATA MINING WORKSHOP (ICDMW), 2015, : 565 - 574
  • [3] AMD Xilinx, 2023, HET ACC COMP CLUST
  • [4] AMD Xilinx, 2023, XIL VIT ACC LIB
  • [5] [Anonymous], Hadoop
  • [6] [Anonymous], 2023, UG1270 VIV HLS OPT M
  • [7] [Anonymous], 2023, UG1023 SDACCEL ENV U
  • [8] Large-Scale Graph Processing on FPGAs with Caches for Thousands of Simultaneous Misses
    Asiatici, Mikhail
    Ienne, Paolo
    [J]. 2021 ACM/IEEE 48TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE (ISCA 2021), 2021, : 609 - 622
  • [9] Bachrach J, 2012, DES AUT CON, P1212
  • [10] Barbone M., 2023, J PHYS C SER, V2438, P012