在同时多线程核心上探索细粒度任务并行性
Exploring Fine-grained Task Parallelism on Simultaneous Multithreading Cores
AI总结:
针对SMT核心上细粒度任务并行研究不足的问题,本文提出纯软件框架Relic,并在真实细粒度内核上显著优于多种主流共享内存并行编程框架。
摘要:
如今,即使在功耗受限的客户端系统上,延迟关键的高性能应用也会被并行化以提升性能。然而,在此类系统的同时多线程CPU核心上进行细粒度任务处理这一重要场景,在以往工作中尚未得到充分研究。因此,本文使用真实世界的细粒度应用内核,对同时多线程核心上最先进的共享内存并行编程框架进行性能分析。我们提出了一个专用且简单的纯软件并行编程框架Relic,以在同时多线程核心上实现极细粒度的任务处理。使用Relic框架,相对于基准内核的串行实现,我们的性能加速比相比LLVM OpenMP提高19.1%,相比GNU OpenMP提高31.0%,相比Intel OpenMP提高20.2%,相比X-OpenMP提高33.2%,相比oneTBB提高30.1%,相比Taskflow提高23.0%,并相比OpenCilk提高21.4%。
英文摘要:
Nowadays, latency-critical, high-performance applications are parallelized even on power-constrained client systems to improve performance. However, an important scenario of fine-grained tasking on simultaneous multithreading CPU cores in such systems has not been well researched in previous works. Hence, in this paper, we conduct performance analysis of state-of-the-art shared-memory parallel programming frameworks on simultaneous multithreading cores using real-world fine-grained application kernels. We introduce a specialized and simple software-only parallel programming framework called Relic to enable extremely fine-grained tasking on simultaneous multithreading cores. Using Relic framework, we increase performance speedups over serial implementations of benchmark kernels by 19.1% compared to LLVM OpenMP, by 31.0% compared to GNU OpenMP, by 20.2% compared to Intel OpenMP, by 33.2% compared to X-OpenMP, by 30.1% compared to oneTBB, by 23.0% compared to Taskflow, and by 21.4% compared to OpenCilk.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。