Skip to content

Performance and compile optimization on Raspberry Pi 5 #73

Closed Answered by victorreijgwart
YoungCapta1n asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @YoungCapta1n

The config you shared looks good in general!

By default, wavemap allocates as many threads as your system has cores. Given that the Pi only has 4 and you're sharing them with other relatively heavy processes (FastLIO,...), there's probably a lot of task switching going on. You can change wavemap's thread count using the general/num_threads param. Setting it to a lower value might actually improve performance on your Pi and should also make the system more stable overall.

Another thing you could try is to reduce the publishing frequency in the Livox driver. E.g. if you notice that on average wavemap takes 200ms to integrate your pointclouds, you could reduce the rate to 5H…

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@YoungCapta1n
Comment options

@YoungCapta1n
Comment options

@victorreijgwart
Comment options

Answer selected by YoungCapta1n
@YoungCapta1n
Comment options

@victorreijgwart
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #72 on September 05, 2024 13:04.