Optimizing Non-commutative Allreduce Over Virtualized, Migratable MPI Ranks

计算机科学 虚拟化 并行计算 分布式计算 负载平衡(电力) 还原(数学) 领域(数学分析) 理论计算机科学 操作系统 云计算 数学分析 几何学 数学 网格
作者
Sam White,Laxmikant V. Kalé
标识
DOI:10.1109/ipdpsw55747.2022.00085
摘要

Dynamic load balancing can be difficult for MPI-based applications. Application logic and algorithms are often rewritten to enable dynamic repartitioning of the domain. An alternative approach is to virtualize the MPI ranks as threads-instead of operating system processes- and to migrate threads around the system to balance the computational load. Adaptive MPI is one such implementation. It supports virtualization of MPI ranks as migratable user-level threads. However, this migratability itself can introduce new performance overheads to applications. In this paper, we identify non-commutative reduction operations as problematic for any runtime supporting either user-defined initial mapping of ranks or dynamic migration of ranks among the cores or nodes of a machine. We investigate the challenges associated with supporting efficient non-commutative reduction operations, and explore algorithmic alternatives such as recursive doubling and halving in combination with a novel adaptive message combining technique. We explore tradeoffs in the different algorithms for various message sizes and mappings of ranks to cores, demonstrating our performance improvements using microbenchmarks.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
小猪完成签到,获得积分10
1秒前
YifanWang应助一个小胖子采纳,获得10
2秒前
秋秋完成签到,获得积分10
3秒前
LINJMX完成签到 ,获得积分10
4秒前
JessicaLi完成签到,获得积分10
5秒前
5秒前
leejh1完成签到,获得积分10
5秒前
6秒前
6秒前
7秒前
7秒前
Echoheart完成签到,获得积分10
7秒前
LRR完成签到 ,获得积分10
8秒前
登登完成签到 ,获得积分10
8秒前
9秒前
XIAOBAI发布了新的文献求助10
13秒前
chenkm05发布了新的文献求助10
15秒前
CrsCrsCrs完成签到,获得积分10
17秒前
Mollymama发布了新的文献求助10
17秒前
无用的老董西完成签到 ,获得积分10
23秒前
华仔应助万事屋采纳,获得10
24秒前
kkscanl完成签到 ,获得积分0
25秒前
thomas发布了新的文献求助10
26秒前
标致的泥猴桃完成签到,获得积分10
27秒前
Mollymama完成签到 ,获得积分10
27秒前
务实的一斩完成签到 ,获得积分10
33秒前
33秒前
35秒前
37秒前
万事屋发布了新的文献求助10
39秒前
clx发布了新的文献求助10
39秒前
Viliam完成签到 ,获得积分10
42秒前
48秒前
科研通AI6.1应助九月采纳,获得10
50秒前
自然棒球完成签到,获得积分10
50秒前
weijie完成签到,获得积分0
51秒前
科研通AI6.4应助clx采纳,获得10
55秒前
SimpleKwee发布了新的文献求助10
55秒前
雨恋凡尘完成签到,获得积分0
1分钟前
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Development Across Adulthood 800
Chemistry and Physics of Carbon Volume 18 800
The Organometallic Chemistry of the Transition Metals 800
The formation of Australian attitudes towards China, 1918-1941 640
Signals, Systems, and Signal Processing 610
天津市智库成果选编 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6444828
求助须知:如何正确求助?哪些是违规求助? 8258624
关于积分的说明 17591695
捐赠科研通 5504530
什么是DOI,文献DOI怎么找? 2901588
邀请新用户注册赠送积分活动 1878538
关于科研通互助平台的介绍 1718137