arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2103.14990cs.DCcs.SYeess.SY
收藏

分布式局部模型预测控制的有效GPU并行化

Effective GPU Parallelization of Distributed and Localized Model Predictive Control

Carmen Amo Alonso, Shih-Hao Tseng

摘要:

模型预测控制(MPC)要对大规模分布式系统进行有效的在线控制,必须快速求解底层的高维优化问题。文献中应用了多种技术来加速求解过程,主要归功于基于软件的算法进步和硬件辅助计算增强。然而,这些方法专注于算术加速,而忽略了底层系统结构的好处。特别地,现有的解耦的软件-硬件算法设计通过硬件简单地并行化算术运算,并不以原则性的方式解决诸如CPU-GPU和线程到线程通信的硬件开销。此外,并行子问题分解在分布式MPC的优势没有得到很好的认识和利用。因此,我们还没有充分发挥MPC硬件加速的潜力。在本文中,我们探索这些机会,利用GPU并行化的分布式和本地化的MPC(DLMPC)算法。我们利用嵌入在DLMPC制定的局部约束,以减少硬件固有的通信开销。我们的并行实现在各种参数下的运行速度比CPU同行快50倍。此外,我们发现,本地感知的GPU并行化可以减半的优化运行时间相比,天真的加速。总的来说,我们的研究结果表明,考虑到信息交换结构的软硬件协同设计带来的性能增益。

英文摘要:

To effectively control large-scale distributed systems online, model predictive control (MPC) has to swiftly solve the underlying high-dimensional optimization. There are multiple techniques applied to accelerate the solving process in the literature, mainly attributed to software-based algorithmic advancements and hardware-assisted computation enhancements. However, those methods focus on arithmetic accelerations and overlook the benefits of the underlying system's structure. In particular, the existing decoupled software-hardware algorithm design that naively parallelizes the arithmetic operations by the hardware does not tackle the hardware overheads such as CPU-GPU and thread-to-thread communications in a principled manner. Also, the advantages of parallelizable subproblem decomposition in distributed MPC are not well recognized and exploited. As a result, we have not reached the full potential of hardware acceleration for MPC. In this paper, we explore those opportunities by leveraging GPU to parallelize the distributed and localized MPC (DLMPC) algorithm. We exploit the locality constraints embedded in the DLMPC formulation to reduce the hardware-intrinsic communication overheads. Our parallel implementation achieves up to 50x faster runtime than its CPU counterparts under various parameters. Furthermore, we find that the locality-aware GPU parallelization could halve the optimization runtime comparing to the naive acceleration. Overall, our results demonstrate the performance gains brought by software-hardware co-design with the information exchange structure in mind.

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

↑