arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.11129cs.DC
收藏

结合 GPU 与 CPU 以加速进化计算工作负载

Combining GPU and CPU for accelerating evolutionary computing workloads

Rustam Eynaliyev, Houcen Liu

AI总结:

本文提出一种依据基准结果动态分配 CPU 与 GPU 模拟任务的混合方案,并通过多类物理模拟模型评估其在进化计算工作负载中的加速潜力。

摘要:

进化计算(EC)已被证明能有效解决复杂优化和机器人问题。遗憾的是,典型的进化算法(EA)受到研究人员可用计算能力的限制。近来,GPU 已被广泛用于加速 AI 多个领域中的工作负载。这促使我们考虑利用 GPU 来优化 EC,尤其是针对物理模拟中人工生物进化等复杂问题。在本研究中,我们比较了 CPU 和 GPU 在多种模拟模型上的性能,这些模型从简单的箱体环境到更复杂的模型不等。此外,我们创建并研究了一种新颖的 CPU + GPU 混合方案,旨在充分利用大多数消费级设备上存在的闲置硬件能力。该策略包括在 GPU 和 CPU 上同时运行模拟工作负载,并根据基准测试结果动态调整 CPU 与 GPU 之间的工作负载分配。我们的研究结果表明,尽管 CPU 在大多数条件下表现出更优的性能,但 CPU + GPU 混合策略在较高工作负载下展现出良好前景。然而,整体性能提升对模拟参数高度敏感,例如变体数量、模型复杂度以及模拟持续时间。这些结果证明,对于在同时具备 GPU 和 CPU 的工作站和消费级设备上运行物理模拟的实验而言,创造性的动态资源管理具有潜力。

英文摘要:

Evolutionary computing (EC) has proven to be effective in solving complex optimization and robotics problems. Unfortunately, typical Evolutionary Algorithms (EAs) are constrained by the computational capacity available to researchers. More recently, GPUs have been extensively used in speeding up workloads across a variety of fields in AI. This led us to the idea of considering utilizing GPUs for optimizing ECs, particularly for complex problems such as the evolution of artificial creatures in physics simulations. In this study, we compared the CPU and GPU performance across various simulation models, from simple box environments to more complex models. Additionally, we create and investigate a novel hybrid CPU + GPU scheme that aims to fully utilize the idle hardware capabilities present on most consumer devices. The strategy involves running simulation workloads on both the GPU and the CPU, dynamically adjusting the distribution of workload between the CPU and the GPU based on benchmark results. Our findings suggest that while the CPU demonstrates superior performance under most conditions, the hybrid CPU + GPU strategy shows promise at higher workloads. However, overall performance improvement is highly sensitive to simulation parameters such as the number of variants, the complexity of the model, and the duration of the simulation. These results demonstrate the potential of creative, dynamic resource management for experiments running physics simulations on workstations and consumer devices that have both GPUs and CPUs present.

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

↑