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

Reduce STM32 CAN IRQ overhead with new error handling logic #3636

Closed
wants to merge 1 commit into from

Conversation

pavel-kirienko
Copy link
Member

This change only updates the libuavcan submodule. Other relevant changes in the submodule that also will be pulled in with this PR (see libuavcan commit log for details):

Performance improvement:

Before

Processes: 23 total, 6 running, 17 sleeping
CPU usage: 56.18% tasks, 0.82% sched, 43.00% idle
Uptime: 15.288s total, 5.638s idle

 PID COMMAND                   CPU(ms) CPU(%)  USED/STACK PRIO(BASE) STATE
   0 Idle Task                    5637 42.996     0/    0   0 (  0)  READY
 145 uavcan                       1665 12.808  1516/ 1792 240 (240)  w:sem
 150 uavcan fw srv                 270  1.947  3516/ 5992 120 (120)  w:sem

After

Processes: 23 total, 3 running, 20 sleeping
CPU usage: 42.21% tasks, 0.60% sched, 57.19% idle
Uptime: 160.452s total, 91.338s idle

 PID COMMAND                   CPU(ms) CPU(%)  USED/STACK PRIO(BASE) STATE
   0 Idle Task                   91337 57.185     0/    0   0 (  0)  READY
 145 uavcan                      16809 10.759  1516/ 1792 240 (240)  w:sem
 150 uavcan fw srv                2425  1.429  3516/ 5992 120 (120)  w:sem

This is ready for merge.

@pavel-kirienko
Copy link
Member Author

@hsteinhaus You may want to pull this into APM as well.

@LorenzMeier
Copy link
Member

Thanks! Will merge as the CI build passes.

@LorenzMeier LorenzMeier force-pushed the stm32_can_error_handling_fix branch from a8a3ebf to ea9c86a Compare January 31, 2016 21:08
@LorenzMeier
Copy link
Member

I rebased on master which should fix CI.

@LorenzMeier LorenzMeier closed this Feb 1, 2016
@LorenzMeier LorenzMeier deleted the stm32_can_error_handling_fix branch February 1, 2016 07:16
@LorenzMeier
Copy link
Member

Applied to master, thanks!

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