Skip to content

Characterization test for rclcpp comm #634

Closed

Description

@ivanpauno

Feature request

Related with ros2/ros2#649. The idea is to measure the performance of rclcpp communication, so in the future we can compare different intraprocess mechanisms, intraprocess vs interprocess, etc.

Feature description

Check here: https://gist.github.com/ivanpauno/daee6069a034dabb6374c0d987162cf6

Implementation considerations

Planned tasks:

  1. Use cpp timers to measure publish-to-subscription latency and publish/subscription rate. Log results (Added rclcpp_performance package #636).
  2. Use gperftools to measure cpu/memory usage, publish/subscribe operation time.
  3. Parameterize the test, for varying message length, publishing/subscribers, publishing rate.

Activity

  1. added
    enhancement
    ready
    on Feb 18, 2019
  2. self-assigned this
    on Feb 18, 2019
  3. ivanpauno commented on Mar 11, 2019

    @ivanpauno
    MemberAuthor

    This are the results of the first task.
    https://docs.google.com/document/d/1YRpWajYvXF_RA7nIH3Qe8RFUyVJwJoxVTSpQFJKN18U/edit?usp=sharing

    To repro the results:

    • Move to branch ivanpauno/rclcpp-performance (Added rclcpp_performance package #636)
    • In a terminal: ros2 run rclcpp_performance performance_test -d OUTPUT_DIR
    • For reproducing the results skipping the interprocess publish, the patch in the document above should be applied.
  4. changed the title [-]Characterization tests for rclcpp comm[/-] [+]Characterization testaunch/pulls?q=is%3Apr+is%3Acloseds for rclcpp comm[/+] on Mar 13, 2019
  5. changed the title [-]Characterization testaunch/pulls?q=is%3Apr+is%3Acloseds for rclcpp comm[/-] [+]Characterization test for rclcpp comm[/+] on Mar 13, 2019
  6. ivanpauno commented on Feb 26, 2020

    @ivanpauno
    MemberAuthor

    This was used to test ros2/ros2#649, but it's outdated. Closing!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementready

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions