NVIDIA introduced Mokka, an open-source project for testing software behavior around GPUs on CPU nodes. Platform and operations teams awaiting GPUs can first check Kubernetes device discovery, allocation, monitoring, and failure handling. Tests requiring multiple servers, network topologies, and structures representing device interconnections can expand into NVIDIA DSX Air simulation.

1. Testing software around GPUs on CPUs

Mokka creates the device states and interfaces that GPU software reads on CPU nodes. GPU profiles with model-specific characteristics provide responses through management libraries and device files. Tools that discover and allocate devices therefore recognize simulated GPUs without modification. Instead of real equipment, this approach prepares the responses equipment would return to test how software reacts.

For example, the real nvidia-smi can report four GB300 NVL72 Blackwell GPUs on a CPU node. This represents one compute-server building block of that rack and reflects GPU interconnections and rack placement. Platform teams can use their existing operational tools that read this information unchanged in testing.

2. Multinode topologies added by DSX Air

A small simulated cluster can run on a single CPU computer or an automated test runner. Tests involving multiple servers and network connections combine Mokka with DSX Air. DSX Air models server and switch relationships, while Mokka assigns connectivity groups for NVLink, the high-speed GPU interconnect. This lets workload placement tools account for distances between devices.

Teams can reload file-defined topologies and GPU profiles, preserve pretest states with checkpoints, and create and remove simulations in automated pipelines that link tasks in sequence. Existing DSX Air network labs can add Mokka to server nodes to test GPU cluster software.

3. Checking failures and scaling stages in advance

Teams can mark GPUs as lost or inject Xid codes identifying GPU errors to check automated recovery tools. They can also run existing monitoring tools to check alerts and dashboards. This tests workflows that exclude affected nodes from workload assignment or notify administrators when failures are detected.

According to the company, the following node counts are test cases for finding bottlenecks as Mokka simulations scale up in stages.

Table: Scaling stages for a simulation fleet, a group of nodes managed together

Conditions: Mokka simulation fleet stages presented in NVIDIA's technical blog

Unit: nodes

Checking failures and scaling stages in advance
StageNode count
Start36
1288
21,152
32,304

NVIDIA explains that a single-instance labeling tool, database memory limits, and network connection-tracking tables can become bottlenecks during scaling. These stages help identify where surrounding components hit limits as node counts rise, rather than compare processing speeds.

4. Local installation and scope of use

The blog's initial installation steps create a Kind cluster and then install a Helm chart, a configuration package for installing Kubernetes apps. The commands below are the original example.

kind create cluster --name mokka

helm install nvml-mock \
    oci://ghcr.io/nvidia/k8s-test-infra/chart/nvml-mock \
    --namespace mokka --create-namespace

The local startup procedure requires Helm 3.8 or later and kubectl. Docker and Kind are also needed to create a local cluster.

The chart includes eight GPU profiles. Examples also show how to inject ECC errors and Xid 79 using tools that change state on running nodes.

This approach helps find issues earlier by repeatedly testing configuration and failure handling before hardware arrives. It reduces the burden of reserving physical GPUs but shifts preparation toward managing CPU-based test environments and topology definitions.

Mokka does not perform CUDA computation or data transfers, and its monitoring metrics do not track actual workloads. Performance measurement, data paths, and driver and firmware validation require real hardware.

Mokka is a simulation tool that brings GPU software preparation forward to before hardware arrives.