Performance testing to compare different RTOS is not simple. Some systems implement features that are not tested at all, some system do more error checking, etc. has been tested based on the open source Thread-Metric benchmark test-suite produced by Express-Logic Inc.
Some competitors could not comply with some of the tests and one of the missing contenders is FreeRTOS because their Licenses agreement does not allow performance tests. Download the software and draw your own conclusions why FreeRTOS does not publish their tests. Please refer to the Microchip Online Discussion Groups for their result and that can be found here.
The results of the tests are in the table and graph below and Q-Kernel wins with a distance on the average performance score. A more detailed description of the tests is available as a download.
|Cooperative Scheduling||Pre-emptive Scheduling||Interrupt Processing||
|Message Processing||Synchronisation Processing||Memory Processing|
The Q▪Kernel results are the best in the business, but it's good to mention that Q▪Kernel can even do better if the tests were built for a Dual-Mode RTOS instead for a traditional RTOS.
- Fibers were not used to comply with the Thread-Metric test, so the real performance of Q-Kernel is even better. Fibers are 89% faster than traditional threads.
- Q▪Kernel has two ways to implement sending and receiving of messages. Pipes can be used to send information by value, and queues to send information by reference. Because the Thread-Metric tests send messages by value Q-Kernel has implemented the test with pipes.
- qKernel memory management is 100% deterministic when a memory pool is created before use.