Get this decision wrong and you tend to find out about eighteen months later, usually at certification or the first time a customer asks for a security patch. How to make it defensible before you commit to silicon.
“Linux or an RTOS?” is one question standing in for four. Teams who debate the platforms in the abstract go round in circles for weeks. Teams who write down their timing, connectivity, service life and certification requirements first usually find the decision has already been made for them.
This is the framework we use on client projects, and the failure modes we get called in to unpick.
What an RTOS actually buys you
Deterministic scheduling, first and foremost. When a task has to run inside a bounded, predictable interval, and missing that interval means a scrapped part or a safety event or a control loop that starts to oscillate, an RTOS gives you a scheduler whose worst case you can measure and defend.
The other benefits carry real commercial weight. The image is small, so it runs on microcontrollers costing a fraction of an applications processor. It boots almost instantly, which matters for equipment that has to resume the moment power comes back. And because there is far less code sitting between your application and the hardware, you can argue for its correctness. That is the difference between a certification budget you planned for and one you did not.
What embedded Linux actually buys you
Everything that is tedious and expensive to build yourself. A mature networking stack. Filesystems that survive an unexpected power cut. Drivers for a vast range of peripherals. A userspace where standard tooling and language runtimes just run.
Two of its advantages get underestimated at selection time, and both are commercial rather than technical.
The second is who can actually work on it. Linux userspace skills are common. Deep bare-metal experience on one specific microcontroller family is not. That gap decides what happens to your product three years after the engineer who wrote it moves on, and what a replacement will cost you.
The four questions that decide it
Where are the hard real-time requirements? Be precise about which parts are genuinely time-critical. It is very often one small control loop, while the interface, the logging, the connectivity and the configuration have no meaningful timing constraint at all. That distinction usually settles the whole debate. Measure it on real hardware rather than taking a datasheet’s word for it.
How connected is the device? If it needs TLS, a protocol stack like OPC UA or ONVIF, remote management or over-the-air update, that is a large body of code which already exists on Linux and would need building, testing and maintaining on an RTOS. Price that work honestly before you choose.
What is the service life? Kit expected to run for a decade has different needs from a product refreshed every two years. Long life pushes you towards a maintained update path, a long-term support model, and a build documented well enough that somebody else can reproduce it in year seven.
What do you have to certify? Where a system is assessed against a functional safety or security standard, the volume and provenance of code in the trusted path becomes a direct, quantifiable cost. A smaller, auditable system is often dramatically cheaper to certify, and that routinely outweighs the development convenience of a larger platform.
The answer is frequently “both”
Modern industrial designs increasingly stop treating this as binary. A multi-core processor lets the deterministic workload run on one core under an RTOS or bare metal, while Linux runs on another handling connectivity, interface and management, with a defined channel between them. The time-critical path stays small and analysable. The complicated, connected part gets the ecosystem it needs.
Where a separate core is not available, a preemption-patched kernel can meet soft real-time requirements, provided the requirement really is soft and provided you measure latency under realistic load rather than inferring it.
Where we usually get called in
The expensive mistakes are rarely the platform itself. They are almost always one of these four.
All four are recoverable. All four are considerably cheaper to avoid.
Before you commit
- Write the timing requirement down as a number, with the consequence of missing it.
- Separate the genuinely time-critical work from everything else, and size each part.
- List your connectivity and protocol requirements, noting which already exist as maintained implementations.
- State the expected service life, and who maintains the software across it.
- Identify any certification the system has to satisfy, and what that means for the trusted path.
- Choose the platform last, then prototype the riskiest assumption before you commit to silicon.
Choosing a platform, or rescuing one that was chosen badly?
More from Info
Related reading
07 Aug 2026
DDS Has a Rival in ROS 2 for the First Time
For more than a decade, building on ROS 2 meant building on DDS. That is no longer true, and the choice now sitting in f…
02 Aug 2026
Your Machines Speak OPC UA. Is Anyone Listening?
You have added OPC UA to your device. The datasheet says so. And your customer's integrator is still emailing to ask wha…
21 Jul 2026
ONVIF Profile V: What the New Cloud Video Standard Means
ONVIF has released the draft of Profile V, a standard designed to bring cloud video surveillance out of proprietary silo…
Bring us the challenge
The one that has been handed back, sits between two suppliers, or nobody can say is possible yet. A short call costs you nothing and you will speak to one of our consultants.
Engineer to engineer. No handoffs.
