# FastRTPS throughput issues

**URL:** <https://discourse.openrobotics.org/t/fastrtps-throughput-issues/625>\
**Category:** ROS General\
**Created:** [October 13, 2016, 6:14pm UTC](https://discourse.openrobotics.org/t/fastrtps-throughput-issues/625 "2016-10-13T18:14:33Z")\
**Posts on this page:** 1\
**Showing post:** 10

<div class="post-metadata">

**Author:** ![geoffviola](https://avatars.discourse-cdn.com/v4/letter/g/54ee81/32.png) [@geoffviola](https://discourse.openrobotics.org/u/geoffviola)\
**Post date:** [November 29, 2016, 1:21am UTC](https://discourse.openrobotics.org/t/fastrtps-throughput-issues/625/10 "2016-11-29T01:21:54Z")

</div>

I recompiled with the latest code as of today. The typesupport problem is definitely fixed. With fast RTPS The talker uses 12% CPU even if no one is subscribed. Talker uses 25% CPU, when there is one subscriber. The listener takes 100% CPU.

Ctrl-C works on the listener if there is no publisher. When the talker is publishing to the listener, Ctrl-C does not close it. Holding Ctr-C does stops it from using so much CPU and printing to the screen.

Also, this package does not compile in Linux alpha 8 opensplice binary. It seems that some symbols don’t generate. I see the following error:  
[66%] Linking CXX executable talker  
[66%] Linking CXX executable listener  
libtime.a(Time.cpp.o): In function `rosidl_message_type_support_t const* rosidl_generator_cpp::get_message_type_support_handle<builtin_interfaces::msg::Time_<std::allocator<void> > >()': Time.cpp:(.text._ZN20rosidl_generator_cpp31get_message_type_support_handleIN18builtin_interfaces3msg5Time_ISaIvEEEEEPK29rosidl_message_type_support_tv[_ZN20rosidl_generator_cpp31get_message_type_support_handleIN18builtin_interfaces3msg5Time_ISaIvEEEEEPK29rosidl_message_type_support_tv]+0x5): undefined reference to `rosidl\_message\_type\_support\_t const\* rosidl\_typesupport\_opensplice\_cpp::get\_message\_type\_support\_handle\_opensplice\<builtin\_interfaces::msg::Time\_\<std::allocator \> \>()’  
collect2: error: ld returned 1 exit status  
CMakeFiles/listener.dir/build.make:164: recipe for target ‘listener’ failed  
make[2]: \*\*\* [listener] Error 1  
CMakeFiles/Makefile2:173: recipe for target ‘CMakeFiles/listener.dir/all’ failed  
make[1]: \*\*\* [CMakeFiles/listener.dir/all] Error 2  
make[1]: \*\*\* Waiting for unfinished jobs…  
CMakeFiles/talker.dir/src/talker.cpp.o: In function `rosidl_message_type_support_t const* rosidl_generator_cpp::get_message_type_support_handle<builtin_interfaces::msg::Time_<std::allocator<void> > >()': talker.cpp:(.text._ZN20rosidl_generator_cpp31get_message_type_support_handleIN18builtin_interfaces3msg5Time_ISaIvEEEEEPK29rosidl_message_type_support_tv[_ZN20rosidl_generator_cpp31get_message_type_support_handleIN18builtin_interfaces3msg5Time_ISaIvEEEEEPK29rosidl_message_type_support_tv]+0x5): undefined reference to `rosidl\_message\_type\_support\_t const\* rosidl\_typesupport\_opensplice\_cpp::get\_message\_type\_support\_handle\_opensplice\<builtin\_interfaces::msg::Time\_\<std::allocator \> \>()’  
collect2: error: ld returned 1 exit status  
CMakeFiles/talker.dir/build.make:171: recipe for target ‘talker’ failed

---

_[View the full topic](https://discourse.openrobotics.org/t/fastrtps-throughput-issues/625)._
