RTOS Comparison

warm38 at juno.com warm38 at juno.com
Thu Sep 22 01:35:59 UTC 2016

Thanks.  This gives me something to work with.  So far FreeRTOS is the favorite of the India company.  My lead once worked with FreeRTOS and had a memory leak problem but did not go the their forum for help and was not inclined to use it, but now leans towards it.  It seems no one has heard of RTEMS, although I have mentioned it a few times (in one ear and out the other).

---------- Original Message ----------
From: Chris Johns <chrisj at rtems.org>
To: users at rtems.org
Subject: Re: RTOS Comparison
Date: Thu, 22 Sep 2016 08:02:01 +1000

On 22/09/2016 05:35, warm38 at juno.com wrote:
> Round 2:
> Our company is looking into using an RTOS very soon.  The ones examined
> (by a company in India who does our protocol stacks) are:
> FreeRTOS,  Segger Emb-OS,  Micrium,  Threadx.
> Can anyone (Joel?) fill in the following for RTEMS so I can add in my 2
> cents in for RTEMS?  We are working with Cortex M4 and M7 (STM32L4 and
> Atmel SAM4 & SAM7).
> Kernel size (ROM)

Depends on services used.

> Kernel RAM usage

Depends on the configuration of services used.

> Kernel Type


> Scheduling


Look at under the Modules heading.

> Scalability


> Min. stack-size per task (RAM)

Depends on the task and what is does and what it calls. Usually 4K but 
this is for apps that need to run on a wide range of architectures like 
tests in the test suite.

> Max. no. of tasks

User defined.

Please take a look at 

> Max. no. of mailboxes

User defined.

> Max. no. of semaphores

User defined.

> Max. no. of software timers

User defined.

> Max. no. of priorities


> Nested interrupts


> Task switches from within ISR

Context switching happens after the interrupt context finishes.

> Context switch time

Depends on what is happening and how the app is put together. The times 
compare well with the best available. Times are typically fixed and 
invariant under load.

> Interrupt latency time

Very good. Again it compares with the best.

> Atmel studio 7/ASF - Tool compatibility

No idea. We use a fully open source suite of tools.

> Royalty Fee

Yes, and this is for all parts we offer under the project. If you add 
packages like YAFFS you may have a cost there.

> License Cost

No cost and a low if any at all compliance cost.

> Networking

Yes, there are 3 options depending on your needs from a full recent 
FreeBSD stack to lwIP.

> POSIX compliant


> any tools to avoid priority inversion

Any 3rd party tools that statically analyses code to do this should 
work. A capture engine exists to record context switches you can use to 
see what your code is doing.

Source Code

Open source and all is available including all the tools, libraries and 
support tools to build.

Development Hosts

A wide range of common host operating systems.


A number of support services are available on top of the open community 
support on public mailing lists. Please ask if you need more information.

users mailing list
users at rtems.org

Affordable Wireless Plans
Set up is easy. Get online in minutes.
Starting at only $14.95 per month! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20160922/98e5b94d/attachment-0002.html>

More information about the users mailing list