arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2105.04151cs.ARcs.PF
收藏

基于HLS的FPGA数据密集型应用中的偏斜不经意数据路由

Skew-Oblivious Data Routing for Data-Intensive Applications on FPGAs with HLS

Xinyu Chen, Hongshi Tan, Yao Chen, Bingsheng He, Weng-Fai Wong, Deming Chen

摘要:

FPGA已经成为新兴的计算基础设施,用于加速计算中心的应用。同时,高级综合(HLS)工具已经被提出来简化FPGA的编程。即使使用HLS,不规则的数据密集型应用也需要显式优化,其中通常采用多个处理元件(PE),每个处理元件具有基于BRAM的私有缓冲器,以在每个周期处理多个数据。与静态地将数据分配给PE相比,动态地将多个数据分派给指定的PE的数据路由避免了缓冲器中的数据复制,因此节省了BRAM的使用。然而,PE之间的工作负载不平衡极大地降低了处理偏斜数据集时的性能。在本文中,我们提出了一个偏斜不经意的数据路由架构,分配二级PE和调度他们在运行时分担过载的PE的工作量。此外,我们建议的架构集成到一个框架,称为同上,以尽量减少开发工作的应用程序,需要倾斜处理。我们评估Ditto五个常用的应用程序:直方图建设,数据分区,PageRank,重打击检测和hyperloglog。结果表明,生成的实现是强大的倾斜数据集,并优于最先进的设计在吞吐量和BRAM的使用效率。

英文摘要:

FPGAs have become emerging computing infrastructures for accelerating applications in datacenters. Meanwhile, high-level synthesis (HLS) tools have been proposed to ease the programming of FPGAs. Even with HLS, irregular data-intensive applications require explicit optimizations, among which multiple processing elements (PEs) with each owning a private BRAM-based buffer are usually adopted to process multiple data per cycle. Data routing, which dynamically dispatches multiple data to designated PEs, avoids data replication in buffers compared to statically assigning data to PEs, hence saving BRAM usage. However, the workload imbalance among PEs vastly diminishes performance when processing skew datasets. In this paper, we propose a skew-oblivious data routing architecture that allocates secondary PEs and schedules them to share the workload of the overloaded PEs at run-time. In addition, we integrate the proposed architecture into a framework called Ditto to minimize the development efforts for applications that require skew handling. We evaluate Ditto on five commonly used applications: histogram building, data partitioning, pagerank, heavy hitter detection and hyperloglog. The results demonstrate that the generated implementations are robust to skew datasets and outperform the stateof-the-art designs in both throughput and BRAM usage efficiency.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑