• Search Research Projects
  • Search Researchers
  • How to Use
  1. Back to previous page

An FPGA-based ultra-fast hardware sorting algorithm

Research Project

Project/Area Number 19K20276
Research Category

Grant-in-Aid for Early-Career Scientists

Allocation TypeMulti-year Fund
Review Section Basic Section 60080:Database-related
Research InstitutionUniversity of Tsukuba

Principal Investigator

Kobayashi Ryohei  筑波大学, 計算科学研究センター, 助教 (40783709)

Project Period (FY) 2019-04-01 – 2022-03-31
Project Status Completed (Fiscal Year 2021)
Budget Amount *help
¥3,380,000 (Direct Cost: ¥2,600,000、Indirect Cost: ¥780,000)
Fiscal Year 2020: ¥910,000 (Direct Cost: ¥700,000、Indirect Cost: ¥210,000)
Fiscal Year 2019: ¥2,470,000 (Direct Cost: ¥1,900,000、Indirect Cost: ¥570,000)
KeywordsFPGA / ソーティング / OpenCL
Outline of Research at the Start

本研究では,アプリケーションに特化した演算パイプラインとデータ供給機構を実装可能という FPGA の特徴を最大限活用し,ソーティングを高速に実行するハードウェアアルゴリズムの開発に取り組む.具体的には,FPGA のオンチップメモリベースで実現される仮想的なマージソートツリーを既存研究の高スループットマージソートツリーの部分木に適用した新しいアーキテクチャを提案し,それをソーティングネットワークと組み合わせる.提案手法を実行するプロトタイプシステムをFPGA評価ボードを用いて構築し,ソートするデータ数やデータの分布を変化させた幾つかのソート処理を実行させ,提案手法の演算性能と電力効率を評価する.

Outline of Final Research Achievements

This research took full advantage of the features of FPGAs, such as the ability to implement application-specific computation pipelines and data supply mechanisms, to develop hardware algorithms that perform sorting at high speed. Specifically, I proposed a new architecture that applies a virtual merge sorter tree utilizing on-chip memory to a sub-tree of the high-throughput merge sort tree of existing research, and combined the tree with a sorting network. We developed an OpenCL library that calls this sorting engine as a function, and evaluated its sorting performance. The evaluation result showed that the sorting perfomance of the proosed method was three orders of magnitude better than that of merge sort written in OpenCL.

Academic Significance and Societal Importance of the Research Achievements

FPGAを用いた高性能計算手法は専門性の高いレジスタレベルでの設計が主流であり,その結果アプリケーション開発者はFPGAの使用を敬遠する傾向にあった.本研究においてもソーティングアルゴリズムはレジスタレベルで設計されているが,彼らに広く利用されることを見据え,ソーティングエンジンをOpenCL環境で呼び出せるようにライブラリ化した.すなわち,アプリケーション開発者が低レイヤな部分を意識することなく,高位言語の抽象度にとどまりながら,レジスタ転送レベルで最適化されたソートを整数型および浮動小数点型データの両方に対して実行できることを示した.また,成果物であるコードはオープンソースとして公開した.

Report

(5 results)
  • 2021 Annual Research Report   Final Research Report ( PDF )
  • 2020 Research-status Report
  • 2019 Research-status Report
  • Products Report
  • Research Products

    (8 results)

All 2022 2021 Other

All Journal Article (4 results) (of which Peer Reviewed: 2 results,  Open Access: 2 results) Presentation (3 results) (of which Int'l Joint Research: 1 results) Remarks (1 results)

  • [Journal Article] An Open-source FPGA Library for Data Sorting2022

    • Author(s)
      Ryohei Kobayashi, Kento Miura, Norihisa Fujita, Taisuke Boku, Toshiyuki Amagasa
    • Journal Title

      Journal of Information Processing

      Volume: 30 Issue: 0 Pages: 766-777

    • DOI

      10.2197/ipsjjip.30.766

    • ISSN
      1882-6652
    • Related Report
      Products Report
    • Peer Reviewed / Open Access
  • [Journal Article] A Sorting Library for FPGA Implementation in OpenCL Programming2021

    • Author(s)
      Kobayashi Ryohei、Miura Kento、Fujita Norihisa、Boku Taisuke、Amagasa Toshiyuki
    • Journal Title

      Proceedings of the 11th International Symposium on Highly Efficient Accelerators and Reconfigurable Technologies (HEART '21)

      Volume: Article 10 Pages: 1-6

    • DOI

      10.1145/3468044.3468054

    • Related Report
      2021 Annual Research Report
    • Peer Reviewed / Open Access
  • [Journal Article] コンパクション処理を活用した正規パス問合わせアクセラレータのFPGA実装2021

    • Author(s)
      小林 諒平, 三浦 賢人, 藤田 典久, 朴 泰祐, 天笠 俊之
    • Journal Title

      IEICE-RECONF2021-12

      Volume: IEICE-121 Pages: 62-67

    • Related Report
      2021 Annual Research Report
  • [Journal Article] FPGA向け浮動小数点数型ソーティングライブラリの提案と実装2021

    • Author(s)
      小林 諒平, 三浦 賢人, 藤田 典久, 朴 泰祐, 天笠 俊之
    • Journal Title

      IEICE-CPSY2021-8

      Volume: IEICE-121 Pages: 43-48

    • Related Report
      2021 Annual Research Report
  • [Presentation] A Sorting Library for FPGA Implementation in OpenCL Programming2021

    • Author(s)
      Kobayashi Ryohei、Miura Kento、Fujita Norihisa、Boku Taisuke、Amagasa Toshiyuki
    • Organizer
      The 11th International Symposium on Highly Efficient Accelerators and Reconfigurable Technologies (HEART '21)
    • Related Report
      2021 Annual Research Report
    • Int'l Joint Research
  • [Presentation] コンパクション処理を活用した正規パス問合わせアクセラレータのFPGA実装2021

    • Author(s)
      小林 諒平, 三浦 賢人, 藤田 典久, 朴 泰祐, 天笠 俊之
    • Organizer
      2021年6月リコンフィギャラブルシステム研究会
    • Related Report
      2021 Annual Research Report
  • [Presentation] FPGA向け浮動小数点数型ソーティングライブラリの提案と実装2021

    • Author(s)
      小林 諒平, 三浦 賢人, 藤田 典久, 朴 泰祐, 天笠 俊之
    • Organizer
      SWoPP2021: 並列/分散/協調システムとディペンダブルコンピューティングおよび一般
    • Related Report
      2021 Annual Research Report
  • [Remarks] FPGA Sort

    • URL

      https://github.com/ac2-prod/fpga_sort

    • Related Report
      2021 Annual Research Report

URL: 

Published: 2019-04-18   Modified: 2023-03-30  

Information User Guide FAQ News Terms of Use Attribution of KAKENHI

Powered by NII kakenhi