0% found this document useful (0 votes)
168 views

A Comparison Between Freertos and Rtlinux in Embedded Real-Time Systems

FreeRTOS has a much smaller kernel size (4.4 kilobytes) and lower RAM usage (200 bytes) compared to RTLinux which requires a few megabytes for both. While RTLinux supports more architectures like x86 and scales from small to large systems, FreeRTOS supports a greater number of smaller microcontroller platforms through portable code contained in just three files but is harder to scale beyond its intended platform size. Both use priority-based schedulers, but FreeRTOS additionally uses round robin for fair time sharing between same priority tasks.

Uploaded by

Mohammed Moufti
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
168 views

A Comparison Between Freertos and Rtlinux in Embedded Real-Time Systems

FreeRTOS has a much smaller kernel size (4.4 kilobytes) and lower RAM usage (200 bytes) compared to RTLinux which requires a few megabytes for both. While RTLinux supports more architectures like x86 and scales from small to large systems, FreeRTOS supports a greater number of smaller microcontroller platforms through portable code contained in just three files but is harder to scale beyond its intended platform size. Both use priority-based schedulers, but FreeRTOS additionally uses round robin for fair time sharing between same priority tasks.

Uploaded by

Mohammed Moufti
Copyright
© © All Rights Reserved
Available Formats
Download as PPT, PDF, TXT or read online on Scribd
You are on page 1/ 6

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.

You might also like