
A model served by NVIDIA Triton on a single consumer GPU often leaves the device underutilized while clients accumulate queue delay. Triton exposes two independent levers for closing that gap: model instances, declared in the instance_group section of config.pbtxt, and the dynamic batcher. Because they parallelize different stages of the inference path, applying the wrong lever can raise latency without adding throughput. This article states the documented conditions under which extra instances pay off, how to configure multiple instances and pin them to host resources, and what actually happens when both sections appear in one model configuration. It is written for engineers scaling a single model on one consumer-grade GPU and treats measured benchmarking as the final arbiter of every configuration choice.

Model instances are created with an instance_group entry in config.pbtxt.
count: N launches N independent copies of the same model on the chosen device. Each copy runs on its own CUDA stream, owns a separate request queue, and (for TensorRT back‑ends) has a distinct execution context. This isolation lets the GPU overlap work: while one instance is busy executing a kernel, another can be staging data or issuing a different kernel, keeping the device busy instead of idling between requests [1]. The benefit grows until GPU memory, PCIe bandwidth, or CPU cores become the bottleneck, and it varies with the backend and Triton release.
Dynamic batching works on a different axis. The server watches incoming requests and, if they arrive within a configurable time window (max_queue_delay_microseconds), it merges them into a single batch before dispatch. The batch is then processed by a single model instance, so the kernel launch, data‑transfer, and GPU kernel execution costs are amortized over many inputs [2]. Because the GPU processes many inputs simultaneously, utilization rises sharply for workloads that would otherwise submit many tiny inputs.
| What the lever attacks | Typical symptom | Mechanism |
|---|---|---|
| Model instances | Requests are processed one after another; GPU sits idle between kernels or while moving data. | Parallel execution streams and separate queues let compute and transfer overlap. |
| Dynamic batching | Each request is a small batch (often size 1), leading to low GPU occupancy. | Grouping several requests forms a larger batch, spreading launch and transfer overhead. |
When to use which lever – first examine the request pattern. If the server handles a steady stream of individually queued requests that stall while data moves, adding instances is usually the first step. If the workload consists of many small, independent inputs arriving quickly, enable dynamic batching to fold them into larger batches.
Both features can coexist: multiple instances each apply dynamic batching to the requests they receive. In that configuration the server can simultaneously exploit intra‑instance overlap (via streams) and inter‑instance parallelism, but the net gain still depends on model size, GPU memory pressure, and the specific Triton version. Empirical testing with perf_analyzer (or similar) remains the definitive way to confirm the expected throughput‑latency trade‑off.

Before tweaking any Triton lever, verify whether the GPU is already saturated. The simplest way is to run the Performance Analyzer with a single model instance, no dynamic batching, and a modest batch size (e.g., 2). Record both throughput (infer/sec) and latency percentiles (p95) across a range of client concurrency levels.
A documented baseline for the text_recognition example shows exactly this pattern. With one instance and batch‑size 2, throughput stayed roughly flat—between 955 inf/s and 977 inf/s—as concurrency increased from 2 to 16, while p95 latency rose nearly linearly from 4.3 ms to 34 ms【0†https://docs.nvidia.com/deeplearning/triton-inference-server/user-guide/docs/tutorials/Conceptual_Guide/Part_2-improving_resource_utilization/README.html】. The constant throughput indicates that a single execution path cannot process more work, and the growing latency is the signature of a growing request queue.
Interpretation of this signature:
| Observation | What it tells you |
|---|---|
| Flat throughput across higher concurrency | The GPU is not the bottleneck; the server is waiting for the single inference pipeline to finish. |
| Linear latency increase with concurrency | Requests are queuing; the compute kernel itself is not saturated. |
| p95 latency ≈ batch‑size × compute + queue | The queue delay dominates the tail latency. |
If you reproduce a similar pattern on your target model, GPU compute is under‑utilized and you have two viable levers:
instance_group in config.pbtxt). Each instance gets its own CUDA stream, allowing overlap of CPU↔GPU transfers with compute. This is most effective for small models where a single instance does not fully occupy the GPU and where request concurrency is too low for dynamic batching to form large batches【2†https://docs.nvidia.com/deeplearning/triton-inference-server/user-guide/docs/user_guide/optimization.html】.Conversely, if a single instance already maxes out GPU utilization (e.g., throughput continues to rise with concurrency and latency remains stable), adding instances will likely give diminishing returns and may even increase latency due to extra scheduling overhead【3†https://docs.nvidia.com/deeplearning/triton-inference-server/user-guide/docs/user_guide/optimization.html】.
Practical steps
perf_analyzer -m text_recognition -b 2 -c <1‑16> without dynamic batching.Remember: the numbers above come from a specific example and Triton version. Re‑measure on your own hardware, model, and Triton release before drawing conclusions.

Triton creates parallel inference pipelines by launching model instances—independent copies of a model that each keep their own weight buffers, execution context, and request queue. The instance_group section of config.pbtxt controls this behavior:
instance_group [
{
count: <N> # number of copies
kind: KIND_GPU # or KIND_CPU
gpus: [ <id>, … ] # optional explicit placement
}
]
count – how many instances to spawn.kind – execution device; KIND_GPU is the default for consumer GPUs.gpus – optional list of GPU indices. If omitted or the same index is repeated, all instances share that single GPU, enabling intra‑GPU parallelism on a consumer‑grade card. Multiple instance_group entries can define distinct groups with different placement (e.g., some on CPU, some on a second GPU).| Effect | Description |
|---|---|
| Throughput | Each instance can issue work on a separate CUDA stream, allowing data‑transfer and compute overlap. In the official optimization guide, configuring two instances for the inception_onnx model lifted throughput from ~73 inf/s to ~110 inf/s – a ~51 % gain on a single consumer GPU【2†url】. |
| Latency | When the request queue for one instance is busy, a second instance can start processing another request, reducing queueing delay. |
| VRAM usage | Every instance holds a full replica of model weights and a CUDA context, consuming roughly count × model‑size of GPU memory. |
| CPU overhead | Each instance adds a host‑side request‑handling thread, increasing CPU scheduling load. |
Small, compute‑light models often see larger relative gains because the GPU spends a sizable fraction of time idle waiting for data movement. Larger models may hit a memory ceiling before any additional instances can be accommodated.
count: 1). Record baseline latency and throughput using perf_analyzer.count by one and repeat the measurement.nvidia-smi).Because the optimal count is model‑specific, the incremental approach avoids unnecessary memory pressure and prevents the latency penalty that can appear once the GPU is saturated.
The cited Inception figures were obtained with Triton 2.30 on an RTX 3060 with the default dynamic batcher disabled. The ~51 % improvement illustrates the potential of instance scaling but should not be taken as a universal expectation; newer releases may alter scheduler heuristics, and different hardware (e.g., integrated GPUs) can exhibit distinct scaling curves. Always validate on the target platform and Triton version.

When you add model instances with an instance_group entry, each copy reserves its own portion of GPU memory for the static weights, intermediate tensors, and the buffers required by the dynamic batcher. On consumer‑grade GPUs this per‑copy footprint is often the first blocker to scaling — the GPU runs out of VRAM before the CPU cores or memory bandwidth become a bottleneck. As the Triton documentation notes, “adding more instances helps up to the point where you saturate GPU memory, CPU cores, or memory bandwidth”【https://huggingface.co/blog/omarcevi/nvidia-triton-inference-server-intro】.
1. VRAM capacity
2. Idle instances
Even when the memory budget is satisfied, extra instances can remain idle if the request stream does not provide enough concurrent work. Memory consumption still grows with each loaded instance, as shown by the Triton GitHub issue where RAM after loading a model on a single GPU rises from ~2.4 GB to ~4.7 GB, independent of request volume【https://github.com/triton-inference-server/server/issues/5259】. In such a case the additional copies occupy VRAM without contributing to throughput, and may even increase latency because the scheduler must consider more idle queues.
triton_inference_queue_size metric) and GPU utilisation (nvidia-smi). If utilisation stays below ~70 % while multiple instances are loaded, the surplus instances are likely idle and should be removed to free memory for larger batch sizes or other workloads.Balancing these two constraints ensures that scaling via model instances yields real throughput gains on consumer‑grade GPUs rather than simply inflating the memory footprint.

When a model configuration contains both a dynamic_batching block and an instance_group block, Triton creates the requested number of model instances and runs the dynamic batcher inside each instance. Consequently, the effective parallel capacity equals
total capacity = (instance count) × (max batch size)
Each instance independently accumulates incoming requests up to its own batch‑size limit and processes them as a single GPU kernel launch. If the batcher already saturates the GPU, adding more instances may add only queueing overhead, not extra throughput.
config.pbtxtdynamic_batching {
preferred_batch_size: [4, 8] # optional
max_queue_delay_microseconds: 1000
}
instance_group [
{
kind: KIND_GPU
count: 2 # create two GPU instances
gpus: [0] # pin both to the same GPU (consumer‑grade)
}
]
Both sections are legal in the same file; Triton validates them at model load time. Duplicate dynamic_batching or instance_group entries cause the model to be rejected.
config.pbtxt to add the two blocks as shown above.perf_analyzer, using a concurrency roughly equal to2 × max_batch_size × instance_count
For a model with max_batch_size = 4 and instance_count = 2, a concurrency of 8 is a sensible starting point.
max_batch_size must be a divisor of the model’s input dimensions; otherwise shape‑mismatch errors appear at inference time.dynamic_batching block and one instance_group array exist.The interaction between dynamic batching and model instances is hardware‑ and model‑specific. On a single consumer‑grade GPU, dynamic batching may already saturate the accelerator, making extra instances redundant or even harmful. Conversely, on devices with limited parallelism, the combined approach can unlock higher throughput. Always confirm the effect with a targeted benchmark (perf_analyzer) before committing the configuration to production.

Triton lets you bind each model instance to a specific set of host resources through host policies. A policy is defined once when the server starts and referenced from the instance_group entries in config.pbtxt.
--host-policy=<policy_name>,<setting>=<value>
The user guide lists two supported settings:
| Setting | Meaning |
|---|---|
numa-node | Forces all memory allocations for the instance to reside on the given NUMA node, keeping memory access local. |
cpu-cores | Pins the instance’s worker threads to the specified core IDs or ranges (e.g., 0-15). |
An example for a policy named gpu_0 that targets NUMA node 0 and CPU cores 0‑15 is:
--host-policy=gpu_0,numa-node=0,cpu-cores=0-15
Inside config.pbtxt you attach the policy to a group of instances:
instance_group [
{
count: 2,
kind: KIND_GPU,
host_policy: "gpu_0"
},
{
count: 1,
kind: KIND_GPU,
host_policy: "gpu_1"
}
]
If host_policy is omitted, Triton falls back to a default policy derived from the instance’s device type and the server’s automatic placement logic.
On systems with multiple memory nodes, each node is directly attached to a subset of CPU cores. Accessing remote memory incurs higher latency. By binding an instance’s threads and allocations to the same NUMA node, Triton reduces cross‑node traffic, improves cache locality, and can lower memory‑access latency Source 1.
Most consumer‑grade GPUs (e.g., RTX 40xx series) sit on a single NUMA node, so the NUMA benefit is negligible. However, pinning to a dedicated core range still isolates the instance’s inference threads from unrelated host processes, which can make latency more predictable. The guide recommends benchmarking any core‑pinning change rather than assuming a gain Source 2.
gpu_0_core0-7 and gpu_0_core8-15.tritonserver --model-repository=/models \
--host-policy=gpu_0_core0-7,cpu-cores=0-7 \
--host-policy=gpu_0_core8-15,cpu-cores=8-15
perf_analyzer) before and after pinning to verify the impact.The numa-node and cpu-cores settings are documented in the Triton Optimization Guide for the current major release (23.09). Earlier releases used a different flag syntax, and some intermediate versions omitted cpu-cores. Always confirm the server’s --help output or the official user guide for the exact flag names applicable to your Triton version.
In summary, host policies give you fine‑grained control over where an instance lives on the host. On a single‑NUMA consumer board, the primary benefit is core isolation; on multi‑NUMA servers, pairing NUMA and core pinning can noticeably reduce memory latency and improve throughput, but the only reliable metric is a before‑and‑after benchmark.

Establish a baseline – Deploy the model with a single instance and no dynamic batching. Run perf_analyzer across a range of client concurrencies (e.g., 1 → 16) and record throughput and p95 latency. The resulting curve reveals whether requests are being serialized on the GPU (see the latency table for the text_recognition model [source 1] and the generic perf_analyzer usage guide [source 2]).
Add instances when the model is small or transfers overlap poorly – If the baseline shows low GPU utilization and the workload provides only modest concurrency, increase the instance_group.count in config.pbtxt (e.g., count: 2). Re‑measure with the same concurrency sweep, watching VRAM consumption because each instance replicates the engine [source 3]. Small models often gain the most from extra instances, while larger models may hit memory limits before throughput improves [source 1].
Prefer dynamic batching for bursty traffic – When the incoming request pattern is bursty and many simultaneous calls arrive, enable the dynamic_batching block (the batch‑size tuning itself is covered elsewhere). Dynamic batching can aggregate those spikes into larger batches, raising throughput without adding instances [source 1].
Combine instances and batching only after both alone leave capacity unused – If after step 2 the GPU still has idle cycles, and after step 3 the batcher cannot fully saturate the device, configure both blocks together:
instance_group [
{ count: 2, kind: KIND_GPU }
]
dynamic_batching { }
Validate the combined configuration by using the optimal concurrency guideline:
optimal_concurrency = 2 × max_batch_size × instance_count
(derived from Triton’s recommendation [source 4]). Run perf_analyzer at that concurrency to ensure the GPU, memory, and batcher are all fully overlapped.
Apply host policies when CPU, not GPU, becomes the bottleneck – If measurements show that scaling instances does not improve throughput but CPU usage spikes, bind each instance to a dedicated set of CPU cores and/or a NUMA node via --host‑policy (e.g., --host-policy=gpu_0,numa-node=0,cpu-cores=0-15) [source 5]. This prevents CPU contention from throttling request handling.
Final guidance – NVIDIA advises that every numeric target (throughput, latency, instance count) be validated with perf_analyzer on the exact Triton version, backend, and GPU before committing to production [source 6]. Re‑run the entire workflow on the target stack to confirm that observed gains hold in the final environment.