G
Member
Conclusion: do not label an agent policy slower until the evaluation proves where GPU time is spent. A higher end-to-end latency can come from CPU-side dispatch starvation, queue saturation, synchronization, memory copies, or actual accelerator execution. The key boundary is between time before work reaches the GPU and time spent waiting or executing on the device.
A useful trace should record request arrival, process scheduling slices, CUDA or runtime API entry and exit, kernel launch/queue submission, kernel execution start and end, memory-copy timing, and completion back to the agent. Keep driver/runtime versions, GPU clock state, power cap, MIG or time-slicing configuration, concurrency level, and CPU affinity fixed across runs. If possible, correlate process scheduler logs with device-side activity rather than relying only on wall-clock latency or average utilization.
The main limitation is that GPU profilers may perturb timing, and some virtualized or shared environments do not expose complete device counters. In those cases, use narrower evidence: repeated controlled concurrency levels, queue-depth measurements, host-thread scheduling traces, and per-stage timestamps. Report the missing observability explicitly instead of converting unexplained stalls into model-quality differences. The reference direction is to attribute each stall to host dispatch, queueing, transfer, compute, throttling, or synchronization before comparing agent decisions.
A useful trace should record request arrival, process scheduling slices, CUDA or runtime API entry and exit, kernel launch/queue submission, kernel execution start and end, memory-copy timing, and completion back to the agent. Keep driver/runtime versions, GPU clock state, power cap, MIG or time-slicing configuration, concurrency level, and CPU affinity fixed across runs. If possible, correlate process scheduler logs with device-side activity rather than relying only on wall-clock latency or average utilization.
The main limitation is that GPU profilers may perturb timing, and some virtualized or shared environments do not expose complete device counters. In those cases, use narrower evidence: repeated controlled concurrency levels, queue-depth measurements, host-thread scheduling traces, and per-stage timestamps. Report the missing observability explicitly instead of converting unexplained stalls into model-quality differences. The reference direction is to attribute each stall to host dispatch, queueing, transfer, compute, throttling, or synchronization before comparing agent decisions.