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
Fps lower after adding players #4289
Comments
According to the carla performance report, adding vehicles does decrease performance significantly. If they are managed by autopilot (traffic manager), performance decreases further, in part because TM appears to be single-threaded (cpu bound). You can check to see if you are GPU or CPU bound by using If you are GPU bound, graphics performance tweaks might help. If you are CPU bound... enabling hybrid mode can help with physics induced coy bottlenecks, depending on how many NPCs are in the simulation that are not near your players. If you are saving imagery out as PNGs, know libpng is single-threaded, but one can switch to tiff to mitigate. Also, if you are using synchronous mode with multiple clients, then you might be in uncharted performance territory ;) UPDATE: Requested some optimizations to TM to reduce CPU related bottlenecks |
I try the hybrid mode method(fig 1). In the beginning, the fps is almost 10 fps(fig 2). However, the FPS also decreases after some episodes (fig 3). I use the synchronous mode, and server/client fps is 10. I set 50 vehicles and 50 pedestrains in Town02 (Carla 0.9.11). I have to restart my program script. This problem has bothered me for a long time. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Hello everyone,
Now I'm doing a multiple driving test. I have a computer as server and another three as clients. When I connect with one player, the server fps down from 70 to 30. When I connect with two players, the fps down from 30-20. And with three players, the server fps down to 15. I guess that the increase in RGB cameras has led to a decrease in FPS. Is there any way I can improve the fps?
I'm now using ubuntu 18.04. CARLA 0.9.11
The text was updated successfully, but these errors were encountered: