Published: July 5, 2026 | Category: Technical | QSCompute
When a robotic arm needs to stop within 10 milliseconds of detecting a defect, edge AI latency isn't a spec-sheet number — it's a safety constraint. Yet most teams only measure GPU inference time and call it "latency." The real pipeline is longer: sensor capture, transport, pre-processing, inference, post-processing, and I/O actuation. Here's how to measure and optimize every stage for industrial edge AI at real-time speeds.
A typical industrial vision pipeline has six stages. Here's a realistic breakdown on a Jetson AGX Orin with a 5 MP GMSL3 camera running YOLOv8s object detection:
| Pipeline Stage | Component | Typical Latency | Optimization Target |
|---|---|---|---|
| 1. Sensor Capture | Camera sensor exposure + readout | 2–5 ms | 1–2 ms (global shutter, ROI crop) |
| 2. Transport | GMSL3 / MIPI CSI-2 link | 0.5–1 ms | 0.3 ms (reduced blanking) |
| 3. Pre-processing | Resize, normalize, color convert (GPU/VIC) | 1–3 ms | 0.5 ms (VIC hardware offload) |
| 4. Inference | TensorRT engine on GPU/DLA | 1–8 ms | 0.5–2 ms (INT8, DLA offload) |
| 5. Post-processing | NMS, tracking, decision logic | 0.5–2 ms | 0.2 ms (CUDA kernel fusion) |
| 6. Actuation | GPIO / EtherCAT / Modbus output | 1–5 ms | 0.1 ms (real-time kernel, PREEMPT_RT) |
| Total End-to-End | 6–24 ms | 2.6–6 ms |
The gap between "typical" and "optimized" is where engineering effort pays off. A 6× latency reduction — from 24 ms to 4 ms — is the difference between "good enough for dashboards" and "fast enough for closed-loop motor control."
Rolling shutter sensors introduce 2–5 ms of additional capture skew on moving objects. For defect inspection on fast-moving conveyors, switch to global shutter sensors (Sony IMX565, onsemi AR0234). Additionally, if you only need a 1024×768 region for inference, use the sensor's ROI crop mode — this cuts readout time from 4 ms to 1.2 ms by reducing pixel count at the source. QSCompute pre-integrates these cameras with Jetson Orin and AGX carrier boards.
USB3 Vision cameras add 2–8 ms of software overhead from the UVC stack. GMSL3 and MIPI CSI-2 deliver raw frames directly to the ISP without CPU intervention — saving 1–4 ms per frame. For multi-camera setups, GMSL3 supports up to 4 cameras per deserializer with synchronized triggering, critical for stereo vision and multi-angle inspection.
Jetson Orin's Vision Image Converter (VIC) handles resize, color-space conversion, and crop in dedicated silicon — zero GPU/CPU cycles. On DeepStream, enable enable-max-performance=1 and route pre-processing to VIC. On RK3588, the RGA (Raster Graphics Accelerator) serves the same role. This cuts pre-processing from 3 ms on GPU to 0.5 ms on dedicated hardware.
The single biggest latency lever. Jetson AGX Orin has two Deep Learning Accelerators (DLAs) alongside its GPU — each DLA handles inference independently. For YOLOv8s:
| Configuration | Precision | Latency | Throughput |
|---|---|---|---|
| GPU only (TensorRT) | FP16 | 3.2 ms | 310 FPS |
| GPU only (TensorRT) | INT8 | 1.8 ms | 520 FPS |
| DLA only | INT8 | 2.1 ms | 470 FPS |
| GPU (FP16) + DLA (INT8) pipelined | Mixed | 1.8 ms effective | 680 FPS |
INT8 quantization typically costs <1% mAP on YOLOv8 — a negligible accuracy trade for 1.8× latency improvement. DLA offload frees the GPU for heavier models (segmentation, text recognition) while the DLA handles bounding-box detection in parallel.
Non-Maximum Suppression (NMS) and bounding-box decoding are traditionally CPU bottlenecks at 1–3 ms. TensorRT 10 ships batched NMS as a fused CUDA kernel — 0.2 ms on AGX Orin GPU. For custom post-processing, write a CUDA kernel or use Numba CUDA JIT rather than NumPy-on-CPU loops. This is the easiest 2 ms to save and the one most teams overlook.
Standard Linux GPIO toggles add 1–5 ms of scheduling jitter. Install a PREEMPT_RT-patched kernel on Jetson (NVIDIA provides the linux-tegra-rt package) to bring GPIO latency under 100 µs. For EtherCAT and Modbus fieldbus control, the same RT kernel ensures deterministic cycle times under 250 µs. This is mandatory for closed-loop motor control and safety interlocks — non-negotiable in industrial settings.
| Latency Target | Recommended Platform | Camera | Typical E2E Latency |
|---|---|---|---|
| <5 ms | AGX Orin + global shutter GMSL3 | Sony IMX565 | 2.8–4.5 ms |
| <10 ms | Orin NX 16 GB + GMSL3 | onsemi AR0234 | 5–9 ms |
| <15 ms | Orin Nano 8 GB + MIPI CSI-2 | IMX219 | 8–14 ms |
| <30 ms | RK3588 + MIPI CSI-2 | IMX415 | 15–28 ms |
| <5 ms (x86) | Intel Core Ultra + RTX 5090 | GMSL3 via PCIe capture | 3–5 ms |
Jetson Orin Nano 8 GB + 2× GMSL3 cameras (Sony IMX565). Pre-flashed JetPack 6.0 with DeepStream 7.0 and TensorRT 10. Fanless enclosure, −25 to 70°C. Ready for 2-camera AOI at <10 ms end-to-end.
$1,249
In Stock — Ships in 5 Days
AGX Orin 64 GB + 4× GMSL3 cameras. 1 TB NVMe, dual 10 GbE SFP+, PREEMPT_RT kernel. For multi-angle inspection with <5 ms end-to-end latency. Includes 48-hour burn-in and latency validation report.
$4,999
In Stock — Ships in 7 Days
Need a validated sub-10ms vision pipeline for your factory floor?
QSCompute ships pre-integrated edge AI vision systems with latency validation reports — camera to actuation, tested and guaranteed.
Contact: +86 189-9192-7716 | info@qscompute.com