In this article
Nireq configures internal inference-request capacity; input batch size, transport concurrency and actual execution streams describe different parts of serving.
A larger batch is confused with more execution requests
An operator changes nireq expecting the model to receive larger input batches. The accepted tensor shape remains unchanged while resource use and waiting behavior differ. The setting concerns internal inference-request capacity rather than rewriting the caller’s tensor contract. Name the layer being tuned before comparing results. A model request, a transport connection, an OpenVINO inference request and a collection of samples inside a tensor are different units that can coexist in the same serving path.
The parameter reference separates these controls
The OVMS parameters describe nireq alongside batch_size, shape, target device and transport worker settings. Review their distinct scopes and the effective automatic behavior when a value is not specified. Increasing one control does not prove an equivalent change to every other layer. In particular, keep the supported input shape identifiable so an apparent concurrency improvement is not actually a comparison between workloads with different record counts or preparation behavior inside each submitted request.
Performance policy remains workload-dependent
The tuning guide distinguishes classic-model performance hints and execution configuration from generative continuous batching. Apply the guidance to the actual served model path rather than assuming every endpoint uses the same scheduler. Tensor data layout offers related background on separating logical samples from runtime representation. A count of internal request resources cannot independently describe the work represented by a particular tensor or the memory used while its model computation executes.
Queue metrics reveal another boundary
The metrics reference distinguishes total requests being processed, active inference requests and waiting for inference-request resources. It also provides inference duration separately from request duration. Latency-stage diagnosis explains why these measurements should be combined without treating them as interchangeable. A busy internal request object can be loading data or running inference; a large caller population does not automatically mean equally many accelerator kernels are executing simultaneously on the intended target device.
Tune with fixed inputs and final outcomes
Keep artifact, input shapes and arrival pattern fixed while changing the intended internal capacity. Observe waiting, useful completion rate, memory and final client latency. Test both isolated requests and overlapping traffic so a pool change is evaluated where it actually matters. A useful conclusion explains which boundary became less constrained and what resource cost increased. It does not claim that nireq enlarged input batches or guaranteed proportional throughput merely because the configuration accepted a larger internal-capacity value.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.