Perf Host Analysis

Analyze host/CPU overhead in LLM inference (vLLM / SGLang / TRT-LLM serve / lmdeploy / TensorRT-LLM) from nsys traces. Phase 1 (Detection): determine whether host overhead is the bottleneck via a binary YES/NO verdict with metric evidence (GPU idle ratio, host prep exposed ratio, per-phase breakdown). Phase 2 (Root Cause): isolate forward step iterations via allreduce kernel patterns, compare NVTX-instrumented host operations across versions, and pinpoint scheduling / request-management regressions. Usable standalone or as a sub-step of perf-analysis. Triggers: host overhead, inter-step gap, scheduling overhead, forward step isolation, nsys iteration analysis, NVTX breakdown, request management overhead, inference loop overhead, between-step gap, GPU idle, host bottleneck detection, host prep exposed, "GPU 利用率上不去", "Python 调度太慢", "vLLM scheduler overhead".

Saddss Updated

File contents

Saddss/cursor-skills/tree/main/skills/perf-host-analysis commit 242e8adeec

Frequently asked questions

npx skillmds@latest add saddss/perf-host-analysis