Hard and firm real-time systems with provable latency bounds
Whether your deadline is 5 microseconds on a microcontroller timer or 100 microseconds on a multi-core Linux controller, we engineer deterministic scheduling from hardware interrupt to actuator output.
Determinism is an architecture property, not a kernel flag
Enabling CONFIG_PREEMPT_RT or linking an RTOS scheduler does not make a system real-time on its own. System Management Interrupts (SMIs), frequency scaling governors, shared LLC cache contention, dynamic heap allocations, page faults and unpinned NIC interrupts routinely inject millisecond stalls into otherwise fast code.
We engineer the entire path: hardware timer & DMA selection, cache-line-aligned lock-free data structures, memory locking (mlockall), asymmetric core isolation, priority-inheritance mutexes and continuous latency tracing (rtla, ftrace, Segger SystemView / Percepio Tracealyzer).
How we achieve deterministic timing
Matching latency budgets to the right real-time architecture
Choosing the simplest architecture that meets your worst-case deadline keeps hardware cost and maintenance complexity under control.
| Worst-Case Jitter Target | Recommended Substrate | Typical Use Cases | Key Engineering Controls |
|---|---|---|---|
| < 1 µs – 10 µs | Bare-metal ISR / FPGA / Dedicated RTOS MCU | FOC motor control, digital power, laser/ultrasonic timing, high-rate ADC | Hardware timers + DMA triggers, zero-latency IRQs, TCM SRAM execution |
| 10 µs – 50 µs | RTOS (Zephyr / FreeRTOS) or Heterogeneous SoC (AMP) | Robotics joints, PLC I/O scan, medical sensing, deterministic CAN-FD | Priority inheritance, MPU isolation, lock-free RPMsg to Linux host |
| 25 µs – 250 µs | Tuned Linux PREEMPT_RT on isolated cores | EtherCAT / PROFINET masters, TSN gateways, SDR & industrial vision | isolcpus, pinned IRQs, C-state lock, mlockall, SMI-free BIOS/firmware |
| 250 µs – 2 ms | Low-latency mainline Linux + io_uring / XDP | High-rate telemetry ingestion, edge inference pipelines, packet brokers | NUMA pinning, busy-poll sockets, ring-buffer batching |
Real-time engineering questions
Why did our Linux prototype pass bench tests but drop deadlines once TLS and logging were enabled?
Bench tests rarely stress virtual memory compaction, filesystem journal flushes or thermal throttling simultaneously. Without CPU isolation, `mlockall(MCL_CURRENT | MCL_FUTURE)` and separated interrupt affinity, kernel background work preempts your control thread unpredictably.
Now that PREEMPT_RT is merged into mainline Linux, do we still need out-of-tree dual kernels?
For the vast majority of industrial control, robotics and audio/telecom workloads down to ~25–50 µs worst-case jitter on clean ARM64 or x86 hardware, mainline `PREEMPT_RT` eliminates the maintenance burden of dual-kernel forks. When sub-10 µs hard deadlines are required, we pair Linux with a dedicated Cortex-M/R core (AMP) or FPGA.
How do you prove real-time compliance before sign-off?
We run 48-to-72-hour `cyclictest` and `rtla osnoise/timerlat` runs while saturating disk, network, GPU/NPU and thermal chambers via `stress-ng`, delivering reproducible histogram artifacts and kernel trace captures.