A comparison between FreeRTOS and RTLinux
in embedded real-time systems
Comparison on Size
RTLinux FreeRTOS
• Kernel Size • Kernel Size
– Few megabytes – About 4.4 kilobytes
• RAM required • RAM required
– Over few megabytes – About 200 bytes
Platform support
RTLinux
• supports architectures like x86
• much more complex (much due to the Linux kernel)
– harder to port to new platforms.
FreeRTOS
• smaller microcontrollers
• Support a greater number of platforms
– portable code
– all kernel code is contained in just three files
Features and Scalability
RTLinux
• Provide all the things that a normal Linux distribution can.
• Down toARM. Upwards to full grown "home computer systems".
FreeRTOS
• Provide only basic features.
– only some basic scheduling
– inter-process communication (IPC)
– semaphores for synchronization
• Hard to scale beyond the target of the platform.
Scheduler
RTLinux
• Asimple insmod gives the possibility to change
scheduler.
– a basic highest priority first scheduler.
– earliest deadline first
FreeRTOS
• a highest priority first scheduler.
• same priority tasks is given "fair" process time by
round robin.