Performance and compile optimization on Raspberry Pi 5 #73
-
Question Existing resources |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi @YoungCapta1n, |
Beta Was this translation helpful? Give feedback.
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…