Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ROS 2 CLI is slow #1094

Open
Ryanf55 opened this issue Jan 24, 2024 · 0 comments
Open

ROS 2 CLI is slow #1094

Ryanf55 opened this issue Jan 24, 2024 · 0 comments

Comments

@Ryanf55
Copy link

Ryanf55 commented Jan 24, 2024

Describe the bug

Every ROS 2 CLI command is much slower when using qemux86-64 with meta-ros than something like Ubuntu 22 native. It can take 10-20 seconds for some commands. I see about 5 seconds for ros2 -h even on my super powerful desktop.

To Reproduce

Repos:

repositories:
  poky:
    type: git
    url: git://git.yoctoproject.org/poky
    version: kirkstone
  meta-openembedded:
    type: git
    url: https://git.openembedded.org/meta-openembedded
    version: kirkstone
  meta-ros:
    type: git
    url: https://github.com/ros/meta-ros.git
    # TODO switch to kirkstone once kirkstone-next is merged
    version: kirkstone-next

Hashes

$ vcs custom --args rev-parse --short HEAD
/usr/bin/vcs:6: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
  from pkg_resources import load_entry_point
...
=== ./meta-openembedded (git) ===
730e44900
=== ./meta-ros (git) ===
685215f98
=== ./poky (git) ===
426dfdc8d2
  1. Build ros-image-core
  2. runqemu qemux86-64 ros-image-core-humble
  3. Login with root username
  4. time ros2 --help

image

Expected behavior

ROS2 CLI is normally much faster. Here's the same test on host OS:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant