Data-Driven Prediction of Optimal MPI Rank Placement and Node Count for Memory-Bound CFD on AMD EPYC Clusters
Abstract
Users who run a memory-bound OpenFOAM case on an AMD EPYC cluster must decide how many nodes to use and how many MPI ranks to place on each core complex. The fastest choice is often not the cheapest one. This paper revisits our earlier analytical model of this performance and energy trade-off with 560 measured configurations of the motorBike case on five Zen 4 and Zen 5 EPYC processors, including socket power from processor telemetry. On up to four nodes, small meshes are both fastest and cheapest on a single node on most processors. For the largest mesh the largest node count is both the fastest and the cheapest option, because its speedup is superlinear. A genuine trade-off arises only for medium meshes, where full speed costs a median of 20 to 97% more node hours than the cheapest option. The L3 miss rate and the halo traffic per cell are consistent with this pattern. For a new mesh of the same case, the configuration that was optimal on the nearest measured mesh is near optimal in 75 to 85% of the decisions. Running the two configurations it recommends for speed and for cost raises this share to 85 to 90% for runtime and node hours and determines the trade-off with median errors of 3 to 5 percentage points. Neither gradient boosted trees trained on the same data nor the earlier polynomial model improves on this simple procedure.
Create a lesson
Related papers
Sparse Predict and Demote: Optimal Scheduling with Minimal Size Advice
Shared title terminology · Chengyi Liu, Thodoris Lykouris, Junxuan Shen et al.
The Unreported Variable:Collector Selectivity in Data Placement Evaluation
Shared title terminology · Nannan Zhao, Jiameng Zhang, Taoyu Zhong et al.
The Optimal Ranking Tradeoffs Between Two Ranking Scores in Two-Class Classification
Shared title terminology · Sébastien Piérard, Adrien Deliège, Marc Van Droogenbroeck
Accelerating Transfer-Learning-Based Autotuning with Predictive LLVM IR Performance Ranking
Shared title terminology · Md Arafat Hossain, Thomas Randall, Akash Dutta et al.
Launch-Bound and Substitutable: Why Three Inference Optimizations Fail to Pay Off in Mixture-of-Experts Models
Shared title terminology · Gokulakannan Sakthivel, Jerry Wu, Amogh Rajendra et al.
LMS-AR: LMS Prediction-based Adaptive Regulator for Memory Bandwidth in Multicore Systems
Shared title terminology · Sudarshan Srinivasan, Deepak Gangadharan, Dip Goswami