Effect of Static Workload Imbalance on Completion Time in Four-Process Python MPI
Static assignment of independent tasks can leave MPI processes idle while a slower rank completes the last part of a parallel phase. This study compared balanced and skewed assignments of the same 64 deterministic CPU tasks across four Python MPI ranks. Each assignment was measured ten times on a single Linux execution environment. The median longest-rank time increased from 226.7 ms under balanced allocation to 363.0 ms under skewed allocation, an increase of 60.1%. Median load balance, measured as the ratio of mean rank time to maximum rank time, fell from 0.980 to 0.584. The findings quantify the effect of assignment skew for this workload and environment.
Authors
- Assan Kumarkhanov
Institutions
- Al-Farabi Kazakh National University (KZ)
Publication Details
- Journal
- Research Square
- Published
- 2026-12-01
- DOI
- https://doi.org/10.21203/rs.3.rs-11911524/v1
- Primary Topic
- Parallel Computing and Optimization Techniques
- Type
- preprint