This is just a brainstorming, not really an "issue". You don't need to "solve" it, it is just an open discussion between nerds :)
I noticed that the scalability of the PF Slam is quite poor with the number of threads.
For instance, moving from 4 threads to 8 increase performance only by 50%. Note that the profiler still say that we are using 100% of 8 CPU!
I do know that there isn't such a thing as perfect scalability, but in this case I think there "might" be a bottleneck somewhere.
I inspected the code and I couldn't find any mutex or potential false sharing, but of course I haven't done an exhaustive search.
This is just a brainstorming, not really an "issue". You don't need to "solve" it, it is just an open discussion between nerds :)
I noticed that the scalability of the PF Slam is quite poor with the number of threads.
For instance, moving from 4 threads to 8 increase performance only by 50%. Note that the profiler still say that we are using 100% of 8 CPU!
I do know that there isn't such a thing as perfect scalability, but in this case I think there "might" be a bottleneck somewhere.
I inspected the code and I couldn't find any mutex or potential false sharing, but of course I haven't done an exhaustive search.