Melia: A MapReduce Framework on OpenCL-Based FPGAs

被引:27
|
作者
Wang, Zeke [1 ]
Zhang, Shuhao [2 ]
He, Bingsheng [3 ]
Zhang, Wei [4 ]
机构
[1] Nanyang Technol Univ, Parallel Distributed Comp Ctr, Sch Comp Engn, Singapore, Singapore
[2] Nanyang Technol Univ, Dept Comp Sci & Engn, Singapore, Singapore
[3] Nanyang Technol Univ, Sch Comp Engn, Singapore, Singapore
[4] Hong Kong Univ Sci & Technol, Reconfigurable Syst Lab, Hong Kong, Hong Kong, Peoples R China
关键词
FPGA; MapReduce; programming frameworks; cost model; OpenCL; MODEL; PERFORMANCE;
D O I
10.1109/TPDS.2016.2537805
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
MapReduce, originally developed by Google for search applications, has recently become a popular programming framework for parallel and distributed environments. This paper presents an energy-efficient architecture design for MapReduce on Field Programmable Gate Arrays (FPGAs). The major goal is to enable users to program FPGAs with simple MapReduce interfaces, and meanwhile to embrace automatic performance optimizations within the MapReduce framework. Compared to other processors like CPUs and GPUs, FPGAs are (re-)programmable hardware and have very low energy consumption. However, the design and implementation of MapReduce on FPGAs can be challenging: firstly, FPGAs are usually programmed with hardware description languages, which hurts the programmability of the MapReduce design to its users; secondly, since MapReduce has irregular access patterns (especially in the reduce phase) and needs to support user-defined functions, careful designs and optimizations are required for efficiency. In this paper, we design, implement and evaluate Melia, a MapReduce framework on FPGAs. Melia takes advantage of the recent OpenCL programming framework developed for Altera FPGAs, and abstracts FPGAs behind the simple and familiar MapReduce interfaces in C. We further develop a series of FPGA-centric optimization techniques to improve the efficiency of Melia, and a cost-and resource-based approach to automate the parameter settings for those optimizations. We evaluate Melia on a recent Altera Stratix V GX FPGA with a number of commonly used MapReduce benchmarks. Our results demonstrate that 1) the efficiency and effectiveness of our optimizations and automated parameter setting approach, 2) Melia can achieve promising energy efficiency in comparison with its counterparts on CPUs/GPUs on both single-FPGA and cluster settings.
引用
收藏
页码:3547 / 3560
页数:14
相关论文
共 50 条
  • [1] A Study of Data Partitioning on OpenCL-based FPGAs
    Wang, Zeke
    He, Bingsheng
    Zhang, Wei
    [J]. 2015 25TH INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE LOGIC AND APPLICATIONS, 2015,
  • [2] Relational Query Processing on OpenCL-based FPGAs
    Wang, Zeke
    Paul, Johns
    Ntu, Hui Yan Cheah
    He, Bingsheng
    Zhang, Wei
    [J]. 2016 26TH INTERNATIONAL CONFERENCE ON FIELD PROGRAMMABLE LOGIC AND APPLICATIONS (FPL), 2016,
  • [3] FSCHOL: An OpenCL-based HPC Framework for Accelerating Sparse Cholesky Factorization on FPGAs
    Tavakoli, Erfan Bank
    Riera, Michael
    Quraishi, Masudul Hassan
    Ren, Fengbo
    [J]. 2021 IEEE 33RD INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE AND HIGH PERFORMANCE COMPUTING (SBAC-PAD 2021), 2021, : 209 - 220
  • [4] Improving Data Partitioning Performance on OpenCL-based FPGAs
    Wang, Zeke
    He, Bingsheng
    Zhang, Wei
    [J]. 2015 IEEE 23RD ANNUAL INTERNATIONAL SYMPOSIUM ON FIELD-PROGRAMMABLE CUSTOM COMPUTING MACHINES (FCCM), 2015, : 34 - 34
  • [5] Multikernel Data Partitioning With Channel on OpenCL-Based FPGAs
    Wang, Zeke
    Paul, Johns
    He, Bingsheng
    Zhang, Wei
    [J]. IEEE TRANSACTIONS ON VERY LARGE SCALE INTEGRATION (VLSI) SYSTEMS, 2017, 25 (06) : 1906 - 1918
  • [6] Comprehensive Evaluation of OpenCL-Based CNN Implementations for FPGAs
    Tapiador-Morales, Ricardo
    Rios-Navarro, Antonio
    Linares-Barranco, Alejandro
    Kim, Minkyu
    Kadetotad, Deepak
    Seo, Jae-sun
    [J]. ADVANCES IN COMPUTATIONAL INTELLIGENCE, IWANN 2017, PT II, 2017, 10306 : 271 - 282
  • [7] Query Processing on OpenCL-based FPGAs: Challenges and Opportunities
    Paul, Johns
    He, Bingsheng
    Lau, Chiew Tong
    [J]. 2018 IEEE 24TH INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS (ICPADS 2018), 2018, : 937 - 945
  • [8] In-FPGA Instrumentation Framework for OpenCL-Based Designs
    Bensalem, Hachem
    Blaquiere, Yves
    Savaria, Yvon
    [J]. IEEE ACCESS, 2020, 8 (08): : 212979 - 212994
  • [9] On-The-Fly Parallel Data Shuffling for Graph Processing on OpenCL-based FPGAs
    Chen, Xinyu
    Bajaj, Ronak
    Chen, Yao
    He, Jiong
    He, Bingsheng
    Wong, Weng-Fai
    Chen, Deming
    [J]. 2019 29TH INTERNATIONAL CONFERENCE ON FIELD-PROGRAMMABLE LOGIC AND APPLICATIONS (FPL), 2019, : 67 - 73
  • [10] An OpenCL-based Framework for Rapid Virtual Prototyping of Heterogeneous Architectures
    Sotiriou-Xanthopoulos, Efstathios
    Masing, Leonard
    Siozios, Kostas
    Economakos, George
    Soudris, Dimitrios
    Becker, Juergen
    [J]. PROCEEDINGS OF 2016 INTERNATIONAL CONFERENCE ON EMBEDDED COMPUTER SYSTEMS: ARCHITECTURES, MODELING AND SIMULATION (SAMOS), 2016, : 372 - 377