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

高性能并行编程模型的动态资源管理设计原则

Design Principles of Dynamic Resource Management for High-Performance Parallel Programming Models

Dominik Huber, Martin Schreiber, Martin Schulz, Howard Pritchard, Daniel Holmes

AI总结:

针对HPC中动态资源管理(DRM)难以在生产系统部署的问题,本文将其分解为动态进程管理与动态资源映射,提出标准化设计原则并基于MPI实现原型。

摘要:

通过动态资源管理(DRM),分配给作业的资源可以在其执行期间动态更改。从系统角度来看,DRM在资源分配和作业调度方面开启了新的灵活性水平,因此有望提高系统效率指标,如利用率、作业吞吐量、能效和响应速度。从应用角度来看,用户可以根据自身需求定制所请求的资源,从而为排队时间或计费成本提供潜在的优化。尽管具有这些明显优势,且过去十年中在HPC中建立DRM进行了多次尝试,但它仍然是一个在学术界讨论的概念,而未能在生产系统中成功部署。这是因为对DRM的支持需要更改HPC系统软件栈的所有层,包括应用、编程模型、进程管理器和资源管理软件,以及一个广泛而整体的协同设计过程,以建立用于调度和资源优化的新技术与策略。在本研究中,我们因此假设资源可由在其上执行的进程(例如在CPU上)或控制它们的进程(例如GPU-offloading)访问。然后,整个DRM问题可以分解为动态进程管理(DPM)和动态资源映射或分配(DRA)。前者确定必须管理哪些进程(或进程的哪些变化),后者确定它们将在哪些资源上执行。这些层中此类DPM/DPA的接口需要标准化,这需要精心设计以实现互操作性,同时提供高灵活性。基于对现有方法的调研,我们提出了设计原则,这些原则构成了HPC中DMR整体方法的基础,并使用MPI提供了原型实现。

英文摘要:

With Dynamic Resource Management (DRM) the resources assigned to a job can be changed dynamically during its execution. From the system's perspective, DRM opens a new level of flexibility in resource allocation and job scheduling and therefore has the potential to improve system efficiency metrics such as the utilization rate, job throughput, energy efficiency, and responsiveness. From the application perspective, users can tailor the resources they request to their needs offering potential optimizations in queuing time or charged costs. Despite these obvious advantages and many attempts over the last decade to establish DRM in HPC, it remains a concept discussed in academia rather than being successfully deployed on production systems. This stems from the fact that support for DRM requires changes in all the layers of the HPC system software stack including applications, programming models, process managers, and resource management software, as well as an extensive and holistic co-design process to establish new techniques and policies for scheduling and resource optimization. In this work, we therefore start with the assumption that resources are accessible by processes executed either on them (e.g., on CPU) or controlling them (e.g., GPU-offloading). Then, the overall DRM problem can be decomposed into dynamic process management (DPM) and dynamic resource mapping or allocation (DRA). The former determines which processes (or which change in processes) must be managed and the latter identifies the resources where they will be executed. The interfaces for such \mbox{DPM/DPA} in these layers need to be standardized, which requires a careful design to be interoperable while providing high flexibility. Based on a survey of existing approaches we propose design principles, that form the basis of a holistic approach to DMR in HPC and provide a prototype implementation using MPI.

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

↑