arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1803.04211cs.DC
收藏

在基于任务的并行系统中使用推测执行来提高并行度

Increasing the Degree of Parallelism Using Speculative Execution in Task-based Runtime Systems

Bérenger Bramas

摘要:

基于任务的编程模型在现代高性能平台上开发科学应用程序方面已经证明了它们的效率。它们允许将并行化的管理委托给运行时系统(RS),该运行时系统负责数据一致性、调度以及将工作分配给计算单元。然而,某些应用程序具有有限的并行度,因此无论RS实现多么高效,它们都可能无法在现代多核CPU上扩展。在本文中,我们建议使用投机释放的并行性时,它是不确定的,如果一些任务将修改数据,我们正式提出了一种新的方法,使投机执行的任务图。这种描述在我们的新C++ RS中部分实现,称为SPETABARU,如果其他人不确定要修改数据,它能够提前执行任务。我们研究我们的方法来计算Monte Carlo和副本交换Monte Carlo模拟的行为。

英文摘要:

Task-based programming models have demonstrated their efficiency in the development of scientific applications on modern high-performance platforms. They allow delegation of the management of parallelization to the runtime system (RS), which is in charge of the data coherency, the scheduling, and the assignment of the work to the computational units. However, some applications have a limited degree of parallelism such that no matter how efficient the RS implementation, they may not scale on modern multicore CPUs. In this paper, we propose using speculation to unleash the parallelism when it is uncertain if some tasks will modify data, and we formalize a new methodology to enable speculative execution in a graph of tasks. This description is partially implemented in our new C++ RS called SPETABARU, which is capable of executing tasks in advance if some others are not certain to modify the data. We study the behavior of our approach to compute Monte Carlo and replica exchange Monte Carlo simulations.

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

↑