Gazebo resources: Tutorials | Q&A | Documentation | Blog

How to utilize more processing power in the simulation?

Hello,

I’m trying to multi-vehicle simulation with LED attached in Gazebo 9.13
I’m experiencing very slow simulation within the world with multiple vehicles, frame rate drops
significantly to 1-2 fps and real-time factor decreases to 0.1 level when LED flashes or multi-vehicles are in motion while CPU & GPU usage is only around 15~30% level.
I’ve been finding the solution in answers gazebo but I’ve found most of issues are not addressed much.

I’d like to know how to improve performance of simulation utilizing more CPU & GPU.
I have tested parallel physics found on tutorial here http://gazebosim.org/tutorials?tut=physics_params&cat=physics and had set world update rate to 0, does not help much in my case.
but didn’t help much probably due to nothing much static objects are in my world.

Furthermore I saw the thread that gzserver & gzclient each are use only single CPU core https://answers.gazebosim.org//question/21047/high-end-system-recommendation-for-vehicle-simulations-multi-processor-vs-single-processor/?answer=21114#post-id-21114
Is there any change Gazebo simulator itself supports multi-threading? or any other way to speed up simulation?

Thanks in advance.