NCCL Tests
常见参数
|
|
NCCL_MIN_NCHANNELS
The
NCCL_MIN_NCHANNELSvariable controls the minimum number of channels you want NCCL to use. Increasing the number of channels also increases the number of CUDA blocks NCCL uses, which may be useful to improve performance; however, it uses more CUDA compute resources.The
NCCL_MAX_NCHANNELSvariable limits the number of channels NCCL can use. Reducing the number of channels also reduces the number of CUDA blocks used for communication, hence the impact on GPU computing resources.
可以看到增大 channels 的数目可以增大 bus bw
| channels | Bus bw(GB/s) | |
|---|---|---|
| Qps = default | default | 72.1013 |
| 4 | 42.0354 | |
| 8 | 56.008 | |
| 12 | 73.1877 | |
| 16 | 103.57 | |
| 20 | 92.5674 | |
| 32 | 122.732 |
参考:
Reference
Author Houmin Wei
Publish August 7, 2023
LastMod August 27, 2026
License 本作品采用 CC BY-NC-ND 4.0 许可协议进行许可,转载时请注明原文链接
如果你在浏览博客的过程中发现了任何问题,欢迎在对应文章下评论。如果你有其他事情想要咨询,可以通过邮件联系我。