面向高性能计算中复杂调优搜索的经济高效方法:应对相互依赖性与维度问题
Cost-Effective Methodology for Complex Tuning Searches in HPC: Navigating Interdependencies and Dimensionality
AI总结:
提出一种经济高效的HPC调优搜索方法,通过成本有效的相互依赖性分析决定独立或联合搜索,在合成函数和RT-TDDFT应用中实现最高8%精度提升和95%时间缩减。
摘要:
调优搜索在高性能计算(HPC)中至关重要,用于解决计算应用中的复杂优化挑战。其复杂性不仅源于对例程内部参数的精细调整,还源于这些参数之间潜在的相互依赖性,这使得传统优化方法效率低下。实践者常常面临两难境地:要么对每个例程独立进行调优搜索而忽视相互依赖性,要么对所有例程进行资源消耗更大的联合搜索,而不是深入分析参数和例程间的相互依赖关系。这一决策源于文献中某些相互依赖性分析和高维分解技术在HPC调优搜索中可能代价过高。我们的方法调整并改进了这些技术,以确保在现实场景中计算可行性的同时最大化性能提升。我们的方法利用一种经济高效的相互依赖性分析来决定是将多个调优搜索合并为联合搜索还是进行正交搜索。在具有不同参数相互依赖性水平的合成函数上进行测试,我们的方法高效地探索了搜索空间。与基于贝叶斯优化的完全独立或完全联合搜索相比,我们的方法建议了独立搜索与合并搜索的优化分解,使得最终配置的准确度最高提升8%,搜索时间最多减少95%。当应用于GPU卸载的实时含时密度泛函理论(RT-TDDFT)——一个挑战现代HPC自动调优器的计算材料科学应用时,我们的方法实现了有效的调优搜索。其适应性和效率不仅限于RT-TDDFT,对HPC中的相关应用也具有重要价值。
英文摘要:
Tuning searches are pivotal in High-Performance Computing (HPC), addressing complex optimization challenges in computational applications. The complexity arises not only from finely tuning parameters within routines but also potential interdependencies among them, rendering traditional optimization methods inefficient. Instead of scrutinizing interdependencies among parameters and routines, practitioners often face the dilemma of conducting independent tuning searches for each routine, thereby overlooking interdependence, or pursuing a more resource-intensive joint search for all routines. This decision is driven by the consideration that some interdependence analysis and high-dimensional decomposition techniques in literature may be prohibitively expensive in HPC tuning searches. Our methodology adapts and refines these methods to ensure computational feasibility while maximizing performance gains in real-world scenarios. Our methodology leverages a cost-effective interdependence analysis to decide whether to merge several tuning searches into a joint search or conduct orthogonal searches. Tested on synthetic functions with varying levels of parameter interdependence, our methodology efficiently explores the search space. In comparison to Bayesian-optimization-based full independent or fully joint searches, our methodology suggested an optimized breakdown of independent and merged searches that led to final configurations up to 8% more accurate, reducing the search time by up to 95%. When applied to GPU-offloaded Real-Time Time-Dependent Density Functional Theory (RT-TDDFT), an application in computational materials science that challenges modern HPC autotuners, our methodology achieved an effective tuning search. Its adaptability and efficiency extend beyond RT-TDDFT, making it valuable for related applications in HPC.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。