Skip to content

fix: Improved thread usage under congestion - #3258

Merged
fujitatomoya merged 1 commit into
rollingfrom
jm/cbg_perf_improvement
Sep 8, 2026
Merged

fix: Improved thread usage under congestion#3258
fujitatomoya merged 1 commit into
rollingfrom
jm/cbg_perf_improvement

Conversation

@jmachowinski

Copy link
Copy Markdown
Collaborator

Description

Some improvements on thread wakeups

Fixes # (issue)

Is this user-facing behavior change?

no

Did you use Generative AI?

no

Additional Information

@fujitatomoya fujitatomoya left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with minor comment.

Comment thread rclcpp/src/rclcpp/executors/events_cbg_executor/scheduler.hpp
Signed-off-by: Janosch Machowinski <J.Machowinski@cellumation.com>
@jmachowinski
jmachowinski force-pushed the jm/cbg_perf_improvement branch from f52baac to fbba03e Compare September 7, 2026 09:11
@jmachowinski

Copy link
Copy Markdown
Collaborator Author

Pulls: #3258
Gist: https://gist.githubusercontent.com/jmachowinski/bfa008bb985c116479fb73b426176184/raw/9b3fe5a714100a7f913723ddb730dc6ad32652b9/ros2.repos
BUILD args:
TEST args:
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/20348

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@fujitatomoya

Copy link
Copy Markdown
Collaborator

i do not think windows failures are related, https://ci.ros2.org/job/ci_windows/29318/

@fujitatomoya
fujitatomoya merged commit c36e550 into rolling Sep 8, 2026
2 checks passed
@fujitatomoya

Copy link
Copy Markdown
Collaborator

@jmachowinski should we do backport this to downstream? i think that we can do that. this actually changes vtable that is technically ABI breaking change, but that is internal private header, so it should be no problem?

@jmachowinski

Copy link
Copy Markdown
Collaborator Author

@Mergifyio backport lyrical kilted jazzy

@mergify

mergify Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor

backport lyrical kilted jazzy

✅ Backports have been created

Details

Cherry-pick of c36e550 has failed:

On branch mergify/bp/kilted/pr-3258
Your branch is up to date with 'origin/kilted'.

You are currently cherry-picking commit c36e550.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   rclcpp/src/rclcpp/executors/events_cbg_executor/events_cbg_executor.cpp
	modified:   rclcpp/src/rclcpp/executors/events_cbg_executor/first_in_first_out_scheduler.cpp
	modified:   rclcpp/src/rclcpp/executors/events_cbg_executor/first_in_first_out_scheduler.hpp

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   rclcpp/src/rclcpp/executors/events_cbg_executor/scheduler.hpp

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

Cherry-pick of c36e550 has failed:

On branch mergify/bp/jazzy/pr-3258
Your branch is up to date with 'origin/jazzy'.

You are currently cherry-picking commit c36e550.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	modified:   rclcpp/src/rclcpp/executors/events_cbg_executor/events_cbg_executor.cpp
	modified:   rclcpp/src/rclcpp/executors/events_cbg_executor/first_in_first_out_scheduler.cpp
	modified:   rclcpp/src/rclcpp/executors/events_cbg_executor/first_in_first_out_scheduler.hpp

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   rclcpp/src/rclcpp/executors/events_cbg_executor/scheduler.hpp

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

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

Successfully merging this pull request may close these issues.

2 participants