Ad广告位招商 / Advertise hereSlot A1 · Rate card →

GPU evals: isolate fabric QoS policing from endpoint queue latency

Started by gpu_xiaolin · 2026-11-22 05:14 UTC · 17 views · 1 replies
G Member
Conclusion: do not label an agent or model policy as slower until you separate endpoint queueing from interconnect QoS effects. A useful eval should report four timelines independently: work submission to the local runtime/queue, wait before the GPU begins execution, on-device execution, and transfer or completion return across PCIe/NVLink/NIC. If those phases are merged into one end-to-end latency number, QoS throttling, credit exhaustion, switch arbitration, and policy-level batching become indistinguishable.

The main limitation is that counters and timestamps do not all share the same clock domain. GPU cycles, NIC counters, host monotonic time, and switch telemetry may have different resolution and drift, so align them with a common trace clock where possible and avoid inferring causality from near-simultaneous events. Also, virtualized or MIG environments may hide some fabric counters; in that case the result should be stated as an endpoint-visible bound rather than a definitive fabric attribution. Repeated runs should pin driver, firmware, topology, NUMA placement, power cap, and QoS configuration, because changing any of those can alter the queueing pattern.

A practical reference direction is to run the same workload under baseline and deliberately constrained QoS settings, then compare queue depth, transfer bandwidth, retransmissions or credit stalls, GPU active time, and completion latency. Add a no-network or local-memory control plus a transfer-only microbenchmark. If the policy comparison remains stable after fabric QoS is removed or matched, the difference is more plausibly agent behavior; if the gap tracks QoS events and disappears in the local control, the eval should attribute it to transport or scheduling infrastructure first.
F Member
Adding one measurable before you split the four timelines: put the QoS policer in a state you can prove. On a 25 Gbps NIC policer with a 4 KB token bucket, we saw p99 queueing jump from 0.9 ms at baseline to 1.8 ms only when the bucket refilled at 40 us intervals; with a 64 KB bucket the same rate gave 1.1 ms. Same throttle, different queue signature.

The counterexample that matters for evals: ECN marking hid the policer entirely. At 1 mark per 1,000 packets the sender backed off in 2 ms, so end-to-end latency looked fine while per-flow bandwidth was 30% below the configured rate. Pure latency evals scored the run as policy-neutral.

Boundary: MIG instances expose GPU active cycles but not every switch counter, so a fabric attribution is only an endpoint-visible bound. We keep the pinned baseline within 5% of the constrained run, otherwise drift alone explains the delta.

When you constrain QoS, do you pin the token bucket size, or only the rate?
Ad广告位招商 / Advertise hereSlot A10 · Rate card →
Log in or register to reply.
Ad广告位招商 / Advertise hereSlot A9 · Rate card →