- micro-ROS is now on the FreeRTOS blog!
- 2nd ROS 2 Embedded Working Group
- Memory Profiling of Micro XRCE-DDS
- micro-ROS porting to ESP32
- micro-ROS Foxy Release
- The ROS 2 Embedded Working Group is back
- micro-ROS at PX4 Developers Summit
- micro-ROS at ROS Developers Day
- micro-ROS and Micro XRCE-DDS as Fiware enablers
- micro-ROS Dissemination Video by FIWARE
- All posts ...
Memory Profiling of Micro XRCE-DDS
Sep 3, 2020 francesca-finocchiaro
In response to the growing interest of the community in micro-ROS, a thorough benchmarking of the most relevant figures that are key to the product adoption is in demand.
The Micro XRCE-DDS Client library profiling has been performed for two simple applications, one publishing and the other subscribing to topics of known size, running on FreeRTOS, chosen by virtue of its memory management capabilities, and on an Olimex STM32-E407 board, which is the reference board of the micro-ROS project. The board is connected by serial transport (UART) at 115200 baud to a Micro XRCE-DDS agent running on a Linux machine. Notice that the XRCE-DDS Client is completely dynamic memory free, so all memory figures refer to the stack and static memory usage.
The results for this analysis are summarized in the graphs below for publisher and subscriber applications, respectively.
On the server side, we have investigated the memory consumption of an Agent communicating with a mock Client application on Linux that is publishing and subscribing to topics of known size, by measuring the binary size of the compiled agent (which resulted to be of 385 KB) and analysing heap and stack usages. The results for the latter are summarized in the plot below.
For more information regarding the methodology employed for performing these profilings, refer to the full report published on eProsima’s webpage.Share on: