Doca urom svc

From NVIDIA/skills · View interactive version

Doca urom svc is an AI agent skill from the GitHub repository NVIDIA/skills. Operate the DOCA UROM Service container on BlueField Arm for remote memory operations (puts, gets, atomics, collectives) enqueued by a paired host using `doca-urom`: pull the NGC image, choose the UCX component, size queues, configure Comch pairing, and align host and service versions. SECURITY: the

How to use this skill

Skill file

DOCA UROM Service

Host checks. Commands here that inspect the user's DOCA host (listing or reading /opt/mellanox/doca, release files such as /etc/mlnx-release or /etc/nvidia/bf-release, /dev/mst) or reach the BlueField (RShim, SSH, BMC) are for that host. Run them yourself only if the user confirms you are on it; otherwise answer from this skill, give the commands for the user to run, and treat values you can't see as unknown.

Scope first. This skill operates the DPU-side service container.

Writing the host-side application code that submits offloaded

operations (from an MPI or UCX job, for example) is not this skill:

route it to doca-urom/SKILL.md, the host

library, and come back here only for the service it pairs with.

Examples

in scope for the DPU-side service container; host app code

belongs to the doca-urom library skill.

pairing and least-privilege memory regions before widening

exposure.

Instructions

Follow Loading order below. Open the tasks companion for configure /

pair / debug. Open the capabilities companion for queues and

UCX components.

Where to start: This skill is for *operating the DOCA UROM

Service container* on the BlueField Arm side. It is not for

linking against a library, and it is not the host-side

enqueue surface. If the user wants to deploy or run the

service container, start at the tasks companion ## configure. If the question is *what

shape of service is DOCA UROM Service, what does it execute, and

how does it pair with the host-side library*, start at

the capabilities companion. If DOCA is not installed

on the BlueField yet, route to

doca-setup/SKILL.md first. If the user's

real question is about *writing host-side code that enqueues

remote memory operations through the paired API*, the right

skill is doca-urom/SKILL.md — the

host-side library; this service is the DPU-side executor that

library offloads to.

How to use this skill. Read this file, then search the companion file

for the ## <name> heading the question needs and read that whole section.

Answer completely from it, quoting only its symbols and commands. Do not

search the web or browse docs freely; when a step says to quote from the live guide, take that guide's URL from doca-public-knowledge-map and read only that page. For

out-of-scope requests, name the skill that owns them and stop.

Example questions this skill answers well

The CLASSES of DOCA UROM Service 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.

BlueField, or do I just need the host library?"** — worked

example: *"my MPI cluster's host nodes link against

doca-urom; what runs on the BlueField side and why must it

also be there?"*. Answered by the publisher / executor

paired-contract model in

the capabilities companion

the capabilities companion

the tasks companion.

run together?"** — worked example: *"the host fleet upgraded

to a newer doca-urom; do I have to upgrade the service

containers on every BlueField, or is the pairing flexible?"*.

Answered by the version-contract overlay in

the capabilities companion

the tasks companion +

doca-version/SKILL.md as the canonical

body.

collectives, queue depths, how the host pairs over Comch?"** — worked

example: *"my upstream stack wants to offload all-reduce

collectives; how do I tell the service to expose that

collective family and how does the host pair to it over DOCA

Comch?"*. Answered by the configuration-axes table in

the capabilities companion

the tasks companion.

though doca_dev access is fine — is this the service?"** —

worked example: *"first enqueue from host returns

DOCA_ERROR_NOT_PERMITTED after a clean doca_ctx_start()"*.

Answered by the Comch-pairing / RDMA-permissions layer in

the capabilities companion

the tasks companion, which surfaces *"is

the DOCA Comch endpoint pair correctly established and is the

underlying RDMA permission stack happy"* BEFORE blaming a

service-side authz layer (no such layer exists in the shipped

binary — NOT_PERMITTED here is a Comch / RDMA signal, not a

UROM-service authz signal).

substrate?"** — worked example: *"host enqueue succeeds, the

progress engine never sees the completion, what layer is

hung"*. Answered by the service-vs-substrate split in

the capabilities companion

the tasks companion, which separates

service queue full / handler stuck from *underlying RDMA

transport down* before recommending a fix on either side.

baseline — is the service the bottleneck?"** — worked

example: *"we deployed the service, the workload runs, but

collectives are slower than when the host CPU posted them

itself"*. Answered by the offload-isn't-free rule in

the capabilities companion

the tasks companion, which surfaces *the

workload's pattern may not actually benefit from DPU offload*

as a legitimate diagnosis, not a service bug.

Audience

This skill serves **external operators and platform teams who

deploy and operate the DOCA UROM Service container** on

BlueField to receive and execute the remote memory operations

HPC / UCX / MPI workloads on the host enqueue through

doca-urom. Concretely: people running the service container

on BlueField Arm, choosing which UCX components and collectives

it exposes, sizing the enqueue queue depth, wiring the DOCA

Comch endpoint pairing between host doca-urom and the

service container (the shipped binary has NO standalone

service-side "host-endpoint authorization list" — access is

governed by Comch pairing + the underlying RDMA permissions),

and validating the host-library + DPU-service paired contract

end-to-end before scaling a real HPC workload on top.

It is not for NVIDIA developers contributing to the DOCA

UROM Service itself, nor a programming guide for building on

DOCA libraries (see doca-programming-guide/SKILL.md). DOCA

UROM Service is a service, not a library: the operator

deploys a container and configures it; there is no

lib<uromservice>.so to link. The paired host-side library

doca-urom/SKILL.md is a separate

skill with its own audience (HPC application developers, not

service operators); refuse to collapse the two.

Path selection up front. Deploy this service when the HPC

cluster's host nodes use the doca-urom library and want host

CPU freed for compute by offloading collective communication

to the BlueField, when the team is building a custom HPC stack

on top of doca-urom, or when an upstream MPI / UCX stack has

been wired to use UROM as a transport. Do not deploy this

service when the hosts are not using doca-urom, when the HPC

stack is neither MPI nor UCX (this service won't help — it

executes UROM-shaped offloads, not arbitrary networking), or

when the BlueField hardware is too constrained for the

intended offload (a cap-query at deploy time surfaces this

upfront). Deploying speculatively where host workloads will

not offload through doca-urom adds operational complexity

with no benefit.

When to load this skill

Load this skill when the user is doing **hands-on DOCA UROM

Service deployment work** on a BlueField where DOCA is already

installed. Concretely:

the user's HPC environment (vs. keeping the host CPU on the

communication path with raw doca-rdma or with no DPU

offload at all).

the image per the public DOCA UROM Service Guide, setting the

daemon's CLI flags / env (SERVICE_ARGS, UROM_PLUGIN_PATH)

and mounting the plugins/ directory, starting / stopping

the container under the BlueField container runtime per the

public Container Deployment Guide.

components / collectives the service exposes (cap-bound to

what the BlueField generation supports), enqueue queue

depths for the offload path, and how the host's doca-urom

library pairs to the service over DOCA Comch (access is

governed by that Comch pairing + the underlying RDMA

permissions — there is no service-side authorization list).

Pair only explicitly intended hosts and keep RDMA exports

and permissions to the minimum the workload requires;

pre-start verification through the documented Comch and

RDMA read-only surfaces is mandatory.

one the DOCA Compatibility Policy supports — a mismatch is

the canonical subtle-failure mode for the paired contract.

observability surface, and the underlying RDMA substrate

counters to confirm the service is actually executing the

operations the host enqueued.

the host's doca-urom enqueues fail or never complete, or

where the offload's performance is worse than the host-CPU

baseline.

Do not load this skill for general DOCA orientation,

install of DOCA itself, host-side doca-urom library API

questions, or non-UROM HPC stack topics. For those, route via

doca-public-knowledge-map/SKILL.md,

doca-setup/SKILL.md, or the matching

host-side library skill

doca-urom/SKILL.md.

What this skill provides

This is a thin loader. Substantive material lives in two

companion files:

container on BlueField Arm that executes UROM offloads from

paired hosts), the publisher / executor paired-contract

model and its load-bearing version-coupling rule, the

configuration axes (UCX-component / collective surface,

enqueue queue sizing, DOCA Comch endpoint pairing), the deployment

shape (container on BlueField Arm per the public Container

Deployment Guide), the pairing surface (host doca-urom

library + underlying doca-rdma transport substrate), the

observability surface (container state + service logs + RDMA

counters), the error taxonomy (container-runtime vs

service-side-resource vs

transport-substrate vs paired-version-mismatch), and the

safety policy (path-selection rule, version-contract rule,

smoke-before-scale).

verbs: configure, build, modify, run, test,

debug, plus a Deferred task verbs block routing

out-of-scope questions and a Command appendix of recurring

commands.

The skill assumes a BlueField where DOCA is already installed

and the operator has the privileges the public DOCA UROM

Service Guide expects to pull, run, and configure containers

on BlueField Arm. It does not cover installing DOCA — that path

goes through doca-setup/SKILL.md. It does

not cover the host-side doca-urom library API — that is

doca-urom/SKILL.md.

What this skill deliberately does not ship

This skill is agent guidance, not a templates or

sample-config bundle. To keep the boundary clean, it

deliberately does not contain — and pull requests should not

add:

(full UCX-component / collective exposure manifests,

ready-to-run queue-depth SERVICE_ARGS strings) intended

to be copy-pasted into

production. Service configuration is deployment-specific

(per the BlueField

generation's capability cap, per the workload's collective

pattern); the safe answer for an external operator is to

derive the daemon's flags / env from the public DOCA UROM

Service Guide against their own deployment. The agent's job is to

prescribe the procedure and the *configuration-axes

decision*, not to ship a config the user might run

unmodified.

authoritative image source is the public DOCA UROM Service

Guide reachable through

doca-public-knowledge-map ## DOCA services (doca-public-knowledge-map/SKILL.md#doca-services);

the service's image tag is version-bound and changes

between DOCA releases AND must match the host-side library

version per the paired-contract rule. Inventing or

memorizing a tag is the canonical hallucination failure

mode for a service skill, and for this service in

particular it can silently produce a host-library / service

version mismatch.

manifests, or MPI / UCX integration glue.** Those live on

the host and belong to

doca-urom/SKILL.md (host library

API) or to upstream MPI / UCX documentation (stack-side

integration). This skill names that the host side must

be wired through doca-urom and that the version must

pair with the service; the host-side bodies are out of

scope.

any kind. A mock artifact labeled "reference" reads as

production-ready, and for a paired-contract service that

implicitly claims a host-library version pairing the skill

cannot guarantee.

Loading order

  1. Read this skill first to confirm the user's question

is in scope and that the DOCA UROM Service is the

right answer at all (vs. routing entirely to the host-side

library skill, or away from UROM if the workload doesn't

actually benefit from offload).

  1. **For the service's deployment shape, the publisher /

executor paired-contract model, the configuration axes,

the host-library + RDMA-substrate pairing surface, the

error taxonomy, the observability surface, the

version-coupling rule, and the path-selection safety

policy, see the capabilities companion.**

  1. **For step-by-step workflows — configure, build, modify,

run, test, debug — see the tasks companion.**

Related skills

host-side library. Hosts link doca-urom to ENQUEUE remote

memory operations; this service EXECUTES them. The two

skills load together for any HPC offload deployment and they

do NOT collapse into one another: the library never executes

on its own; this service is never enqueued through by

itself. Mismatches between the library and the service are

the dominant subtle-failure mode for the paired contract.

RDMA transport substrate this service uses to actually move

bytes once a host enqueue lands on the DPU. The service does

NOT replace RDMA; it sits on top of it. A failing RDMA fabric

surfaces at the service as *operations enqueued but never

complete* and at the host as DOCA_ERROR_IO_FAILED; the fix

is on the substrate side, not in this service's config.

— the routing table to the public DOCA UROM Service Guide

and the rest of the public DOCA documentation set. The

service URL is listed under

## DOCA services (doca-public-knowledge-map/SKILL.md#doca-services).

and install verification on the BlueField where the service

container will run, including the I have no install yet

path via the public NGC DOCA container. This skill assumes

its preconditions are satisfied on BlueField Arm.

DOCA version-handling rules. This service's container tag is

version-bound AND its host-library pairing is version-bound;

this skill's ## Version compatibility cross-links the

four-way match rule and adds the host-library + DPU-service

paired-version overlay that is load-bearing for UROM.

— the bundle's structured-tools precedence rule (detect /

prefer / fall back / report). The Command appendix in

the tasks companion honors this contract.

— general DOCA patterns. The DOCA UROM Service is

service-shaped not library-shaped, so the build / modify /

first-app pattern there does not apply directly, but the

cross-library debug discipline (env-before-program,

layer-before-config) remains useful when the service

reports an error that originated in the container runtime

or in a DOCA library it called.

debug ladder (install / version / build / link / runtime /

program / driver). Service-specific debug (container not

running, host-library / service version mismatch,

transport substrate down, offload

not actually helping) overlays on top of that ladder.

doca-firefly/SKILL.md — sibling service

skills. The agent reading these skills should see the same

service-skill shape (container on BlueField Arm, public

Container Deployment Guide as the canonical recipe, env

preconditions checked first, configured via the documented

per-service surface — for UROM that is the daemon's CLI flags

/ env, not a mounted config file — smoke-before-scale)

layered on top of a different

per-service problem domain (DMS = device management via

gNMI / gNOI; Firefly = time synchronization via PTP;

UROM Service = HPC remote memory operation execution via

the paired doca-urom library).

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.