·
Last changedVersion:
This version passed the hardening gate. Hardening applied 18 targeted changes and preserved all other text. Classified findings before hardening: 2. Classified findings closed: 1. Classified findings remaining: 1. Unclassified scanner findings remaining: 0. Review findings closed: 6. Review findings remaining: 2.
2
1
Expand | File | Group | Subtype | Severity | Status |
|---|---|---|---|---|---|
TASKS.md | Excessive Agency & Rogue Autonomy | — | Medium | Closed | |
BENCHMARK.md | Excessive Agency & Rogue Autonomy | — | Medium | Open |
2 findings
gpunetio_ib_write_bw; do not retune a live GPI app here.Follow Loading order below. Open TASKS.md (the tasks companion) for configure / run / debug. Open CAPABILITIES.md (the capabilities companion) for GPU-NIC pairing and observability. Do not open every companion file. Before any run, get the operator's explicit confirmation that the IB fabric and the OOB TCP network are trusted and non-shared for the benchmark window; stop if they cannot confirm.
Where to start: This is a tool skill for the GPUNetIO-
flavored ib_write_bw benchmark shipped under
doca/tools/gpunetio_ib_write_bw/ (a client + server pair,
built from source against the installed DOCA via meson).
It measures sustained RDMA WRITE bandwidth when the WRs are
posted from a CUDA kernel through the doca-gpunetio
device-side surface, with the GPU on the data path. Open
the tasks companion and start at
## configure for the GPU-NIC
pairing precondition and the build pattern; jump to
## run for the smoke-before-bulk flow.
Open the capabilities companion when the question
is what this tool actually measures, how the result
decomposes (GPU occupancy vs NIC issue rate vs link
saturation), or how the result reads against the GPI
programming surface and the upstream CPU-initiated perftest
ib_write_bw. If DOCA is not installed yet, route to
doca-setup/SKILL.md first; if the
user is still deciding between the GPI and GPUNetIO
programming surfaces, the picture in
doca-gpunetio/SKILL.md
and
doca-gpi/SKILL.md
is the first stop.
The CLASSES of doca-gpunetio-ib-write-bw questions this
skill is built to answer, each with one worked example. The
class is the load-bearing piece; the worked example is one
instance.
perftest ib_write_bw?" — worked example:
"my team has a CPU-initiated WRITE BW number on this
same NIC; should I expect the GPUNetIO number to match
or be different?". Answered by the "GPU-initiated
path adds (or removes) overhead vs the CPU-initiated
path" rule in
the capabilities companion.gpunetio_ib_write_bw even link?".
Answered by the version overlay in
the capabilities companion
which cross-links the canonical detection chain in
doca-version/SKILL.md.This skill serves external developers and performance engineers who need a reproducible measurement of sustained RDMA WRITE bandwidth when the WRs are posted from a CUDA kernel through doca-gpunetio, on the user's actual install and GPU-NIC pair. Concretely:
perftest-style path before
committing an application design to one of them.doca-hardware-safety/SKILL.md and run only after the
operator's explicit confirmation; the agent advises and
re-runs the benchmark afterward.## Safety policy
in CAPABILITIES.md before it is shared.It is not for users debugging the doca-gpunetio
library itself (route to
../../libs/doca-gpunetio/SKILL.md (doca-gpunetio/SKILL.md)),
and not a substitute for the perftest upstream
ib_write_bw (which measures CPU-initiated WRITE BW).
The doca-gpunetio-ib-write-bw tool is shipped as C plus
a CUDA .cu translation unit under
doca/tools/gpunetio_ib_write_bw/, split into a client/
subtree and a server/ subtree. The verified surface (per
client/{main.c,common.h,common.c,kernel.cu,perftest.c} and
server/{main.c,common.h,common.c,perftest.c}): host-side
build via meson against the installed DOCA pkg-config
modules (doca-gpunetio, doca-rdma, doca-common); the
device-side build via nvcc against the DOCA GPU NetIO
device-side header set; the OOB descriptor exchange via a
TCP socket between client and server. The exchanged
descriptors are credentials sent in cleartext; keep this
channel on a trusted, non-shared private network segment
and stop both processes once the run completes. There is no Python /
Rust / Go binding — the tool is a pair of CLI binaries.
The skill's job is to keep the operator-side workflow
language-neutral; the device-side CUDA surface is not
wrappable in another language.
Load this skill when the user is — or the agent needs to —
build and run the gpunetio_ib_write_bw client + server on
real hosts with DOCA installed plus a CUDA Toolkit matched
to the DOCA install, and a GPU + IB device pair on the
host's PCIe topology. Concretely:
doca-gpi/SKILL.md
library — doca/tools/ ships no GPI benchmark binary) or
the classic CPU-initiated perftest path.Do not load this skill for general DOCA orientation,
library API work, or installation. For those, use
doca-public-knowledge-map/SKILL.md,
../../libs/doca-gpunetio/SKILL.md (doca-gpunetio/SKILL.md),
or doca-setup/SKILL.md. Do not load
it for application-level end-to-end throughput either —
this benchmark measures the WR-submission path through
GPUNetIO, not the user's full pipeline.
This is a thin loader. Substantive material lives in two companion files:
.pc PLUS CUDA Toolkit), the layered
error taxonomy (config-syntax / build-time / GPU-NIC-
pairing / GPUNetIO-lifecycle / RDMA-connection /
measurement-soundness / version / cross-cutting), the
observability surface (stdout report, DOCA log levels,
OOB-socket exchange), and the safety overlay (the
"GPU-side handle is a credential" rule from
doca-gpunetio; the cross-cutting hardware-safety
meta-policy).install (preconditions — DOCA install,
CUDA Toolkit, GPU + NIC pair, OOB connectivity),
configure (build-tree under
doca/tools/gpunetio_ib_write_bw/ and the meson
build wrapping the shipped DOCA), build (the
meson setup + meson compile pattern from the
public DOCA build documentation), modify (do not
patch the shipped tool source; modify the invocation
and the surrounding environment instead), run (smoke-
before-bulk; client + server bring-up order; reading
the per-iteration report), test (the eval loop —
steady-state, NUMA placement, NIC saturation cross-
check), debug (walk the error taxonomy layer by
layer), use (how a BW result feeds a class-of-
workload decision), plus a Deferred task verbs
block routing out-of-scope questions.The skill assumes a host where DOCA is already installed,
a CUDA Toolkit matched to the install is present, and the
operator has only the minimum privileges the public install profile
expects for binding a doca_dev, a doca_gpu, and an OOB
TCP socket.
This skill is agent guidance, not a samples or scripts bundle. To keep the boundary clean, it deliberately does not contain — and pull requests should not add:
--help and main.c ARGP
registration establish. The flag surface is small
(device name, GPU PCIe address, GID index, server IP on
the client side); the agent re-reads the binary's
--help on the installed version before quoting flag
strings. Throughput numbers are device-, firmware-,
version-, and topology-specific.client/{main.c,kernel.cu,perftest.c,common.{c,h}}
and server/{main.c,perftest.c,common.{c,h}} files are
the verified worked example; the agent's job is to
route the user there and prescribe minimum-diff
modification per the universal modify-a-sample workflow
in
doca-programming-guide/SKILL.md.samples/, bindings/, or reference/ subtree.
This is a thin loader for a shipped tool tree;
substantive material lives in the source tree and in
the GPUNetIO library docs.perftest, the throughput-decomposition guide, the
version overlay, the error taxonomy, the observability
surface, and the safety overlay, see
CAPABILITIES.md.install, configure,
build, modify, run, test, debug, use — see
TASKS.md.../../libs/doca-gpunetio/SKILL.md (doca-gpunetio/SKILL.md) —
the library this tool wraps. The per-GPU doca_gpu
context, the GPU-visible doca_gpu_eth_* and RDMA-side
handles, the CUDA-side persistent-kernel pattern, the
dual capability-discovery rule (DOCA cap-query AND
cudaGetDeviceProperties), and the env preconditions
(nvidia_peermem loaded, CUDA buffers registered with
DOCA) live there.../../libs/doca-rdma/SKILL.md (doca-rdma/SKILL.md) —
the underlying RDMA library. The RDMA queue this tool
binds is created and connected via doca-rdma; the
queue lifecycle, transport type (RC vs UC vs UD),
permission matrix, and connection method are owned
there.../../libs/doca-verbs/SKILL.md (doca-verbs/SKILL.md) —
the raw-verbs escape hatch beneath doca-rdma /
doca-gpunetio. This tool stays on the higher-level
surfaces; doca-verbs is the right place only if the
user needs a specific WR flag / QP attribute the
GPUNetIO + RDMA surfaces do not expose.../doca-gpunetio-ib-write-lat/SKILL.md (doca-gpunetio-ib-write-lat/SKILL.md) —
the latency analog of this tool. Same physical
operation; same runtime framework; different metric
class (BW vs latency). The two together carry the
full GPUNetIO-side throughput / latency picture.doca-gpi/SKILL.md — the GPI
programming surface (CUDA-kernel-initiated RDMA), the
alternative runtime framework for the same physical
operation. doca/tools/ ships no GPI ib_write_lat /
ib_write_bw benchmark binary, so the GPI comparison is
against the library surface, not a sibling tool. The
selection rule in
the capabilities companion
is the decision aid.doca-version/SKILL.md — the
canonical version-detection chain, four-way match rule,
NGC container semantics, and headers-win-over-docs
rule. The ## Version compatibility section in
CAPABILITIES.md is a thin overlay; the body lives there.doca-setup/SKILL.md — env
preparation, install verification, GPU + CUDA Toolkit
pairing, nvidia_peermem load, hugepages, NUMA, and
the I have no install yet path with the public NGC
DOCA container.doca-public-knowledge-map/SKILL.md —
routing to the public DOCA documentation set (DOCA GPU
NetIO, DOCA RDMA pages on docs.nvidia.com) and the
docs.nvidia.com/cuda/ pointer for the CUDA Toolkit.doca-debug/SKILL.md — the
cross-cutting debug ladder. The tool surfaces its own
error taxonomy; when the cause is below DOCA, the
taxonomy hands off here.doca-hardware-safety/SKILL.md —
the bundle-wide hardware-safety meta-policy. The
## Safety policy overlay in CAPABILITIES.md cross-links it.Guidance loaded from any linked sibling skill follows the same operator confirmation and redaction rules as this skill; treat commands from those skills as advice for the operator to review before running.
Get started with chainctlchainctl skill install public/nvidia/doca-gpunetio-ib-write-bw:latest
Bring Chainguard's hardening pipeline to your first-party skills — custom rulesets, automated remediation, full audit trail.
skills.chainreg.biz/public/github.com/nvidia/skills/doca-gpunetio-ib-write-bw:latest
Apache-2.0
BENCHMARK.md
CAPABILITIES.md
HARDENING.md
SKILL.md
SKILLCARD.yaml
TASKS.md
evals/evals.json
skill-card.md
skill.oms.sig