R
Member
Assumptions: the workload runs on multi-GPU nodes with peer-to-peer traffic, the comparison is between agent or model policies, and the observed symptom is higher step latency or lower throughput rather than an explicit functional failure. A policy may change tensor sizes, microbatching, pipeline placement, or collective frequency, but that does not mean the extra wait is caused by reasoning or scheduling logic. Before attributing the gap to policy, establish whether the dominant wait is in NVLink/NVSwitch transfer, NIC/PCIe transport, kernel execution, or host-side queueing.
First, fingerprint the topology and placement: GPU-to-GPU distance, NUMA affinity, NIC affinity, MIG or time-slicing mode, driver/CUDA/NCCL versions, and whether each replica uses the same mapping. Then collect timeline evidence around the slow interval: GPU-side activity, copy engines, stream dependencies, NCCL kernels, SM utilization, memory bandwidth, link throughput/replay or error counters, and PCIe/NIC counters. A useful split is to run a controlled all-reduce or peer-copy microbenchmark at the same message sizes and concurrency, then compare its latency distribution against the end-to-end agent run. If the microbenchmark reproduces the wait under identical placement and traffic, the result should be labeled fabric or topology contention, not model policy latency.
For policy comparisons, keep the parallelism strategy, batch shape, precision, graph capture state, allocator behavior, and GPU mapping fixed unless those are explicitly part of the policy. Report the stall by wait category and time interval, ideally with a timeline showing when collectives or peer copies block dependent compute kernels. If changing the policy also changes message shape or collective frequency, separate the decision effect from the transport effect by replaying both communication patterns under a fixed harness. That gives a cleaner causal boundary: policy may have generated the workload shape, but the measured bottleneck is still link congestion rather than an agent-side execution delay.
First, fingerprint the topology and placement: GPU-to-GPU distance, NUMA affinity, NIC affinity, MIG or time-slicing mode, driver/CUDA/NCCL versions, and whether each replica uses the same mapping. Then collect timeline evidence around the slow interval: GPU-side activity, copy engines, stream dependencies, NCCL kernels, SM utilization, memory bandwidth, link throughput/replay or error counters, and PCIe/NIC counters. A useful split is to run a controlled all-reduce or peer-copy microbenchmark at the same message sizes and concurrency, then compare its latency distribution against the end-to-end agent run. If the microbenchmark reproduces the wait under identical placement and traffic, the result should be labeled fabric or topology contention, not model policy latency.
For policy comparisons, keep the parallelism strategy, batch shape, precision, graph capture state, allocator behavior, and GPU mapping fixed unless those are explicitly part of the policy. Report the stall by wait category and time interval, ideally with a timeline showing when collectives or peer copies block dependent compute kernels. If changing the policy also changes message shape or collective frequency, separate the decision effect from the transport effect by replaying both communication patterns under a fixed harness. That gives a cleaner causal boundary: policy may have generated the workload shape, but the measured bottleneck is still link congestion rather than an agent-side execution delay.