[GH-ISSUE #31] Why is a mechanism like PXN in NCCL not used in low-latency kernel? It should be able to achieve even lower latency. #30

Open
opened 2026-10-26 09:52:46 +00:00 by bsakaguchi · 3 comments
Owner

Originally created by @weishenmezhememan on GitHub (Feb 28, 2025).
Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/31

NCCL provides the PXN mechanism. During cross-node communication, if the GPUs are not of the same type, data can first be forwarded within the node to a GPU of the same type and then transferred via RDMA to the target node's GPU. On multi-rail networks, this can reduce the number of switch hops, theoretically achieving lower latency. In low-latency kernels, what is the reason for not adopting a similar mechanism?

Originally created by @weishenmezhememan on GitHub (Feb 28, 2025). Original GitHub issue: https://github.com/deepseek-ai/DeepEP/issues/31 NCCL provides the PXN mechanism. During cross-node communication, if the GPUs are not of the same type, data can first be forwarded within the node to a GPU of the same type and then transferred via RDMA to the target node's GPU. On multi-rail networks, this can reduce the number of switch hops, theoretically achieving lower latency. In low-latency kernels, what is the reason for not adopting a similar mechanism?
Author
Owner

@sphish commented on GitHub (Feb 28, 2025):

In our experiments, network latency accounts for only a small portion of the total execution time. The overhead introduced by the control logic of the proposed PXN strategy might exceed the benefits gained from reduced network latency.

<!-- gh-comment-id:2690307302 --> @sphish commented on GitHub (Feb 28, 2025): In our experiments, network latency accounts for only a small portion of the total execution time. The overhead introduced by the control logic of the proposed PXN strategy might exceed the benefits gained from reduced network latency.
Author
Owner

@sphish commented on GitHub (Mar 3, 2025):

In fact, the main bottleneck here is network bandwidth, and PXN's approach does not reduce the total amount of data transmitted.

<!-- gh-comment-id:2693150568 --> @sphish commented on GitHub (Mar 3, 2025): In fact, the main bottleneck here is network bandwidth, and PXN's approach does not reduce the total amount of data transmitted.
Author
Owner

@weishenmezhememan commented on GitHub (Mar 3, 2025):

Why is the main bottleneck network bandwidth? The amount of data during the decoding phase of inference should be relatively small, so communication optimization should primarily focus on reducing latency, right? That's why a point-to-point direct sending approach is adopted, instead of the conventional all-to-all kernel. Could you help explain this further? Thanks!

<!-- gh-comment-id:2693754670 --> @weishenmezhememan commented on GitHub (Mar 3, 2025): Why is the main bottleneck network bandwidth? The amount of data during the decoding phase of inference should be relatively small, so communication optimization should primarily focus on reducing latency, right? That's why a point-to-point direct sending approach is adopted, instead of the conventional all-to-all kernel. Could you help explain this further? Thanks!
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepEP#30
No description provided.