Title: Behaviour and performance comparison between FreeRTOS and µC/OS-III
Authors: Long Peng; Fei Guan; Luc Perneel; Martin Timmerman
Addresses: Electronics and Informatics Department, Vrije Universiteit Brussel (VUB), Pleinlaan 2, 1050 Brussel, Belgium ' Electronics and Informatics Department, Vrije Universiteit Brussel (VUB), Pleinlaan 2, 1050 Brussel, Belgium ' Electronics and Informatics Department, Vrije Universiteit Brussel (VUB), Pleinlaan 2, 1050 Brussel, Belgium ' Electronics and Informatics Department, Vrije Universiteit Brussel (VUB), Pleinlaan 2, 1050 Brussel, Belgium
Abstract: As the prevalence of embedded systems in various fields has spread, real-time operating systems (RTOSs) have been widely used for many years satisfying real-time requirements and a multitasking design. The use of RTOS adds additional overhead to a system, which should be deliberately considered and evaluated in some critical systems. This paper presents a qualitative and quantitative comparison between an open-source RTOS (FreeRTOS V8.0.0) and a commercial one (¿C/OS-III). Both RTOS use a preemptive multitasking kernel, with additional support for round robin scheduling. We aim to benchmark and evaluate their performance and behaviour, including seven performance tests and two behaviour tests. Comparing the measurement results shows that the commercial µC/OS-III does not behave much better than FreeRTOS. Furthermore, we discovered that the priority changing function of µC/OSIII does not behave correctly in some circumstances. Although FreeRTOS has no such problem in the latest version, it still has a problem with its dynamic memory management.
Keywords: FreeRTOS; µC/OS-III; behaviour; performance comparison; embedded systems; real-time operating systems; RTOS; preemptive multitasking kernel; round robin scheduling.
International Journal of Embedded Systems, 2016 Vol.8 No.4, pp.300 - 312
Received: 18 Aug 2014
Accepted: 28 Oct 2014
Published online: 15 Jul 2016 *