-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
What is the best way in running sumo with multi-threading and multi-CPU #14891
Comments
Did you already check the hints here: https://sumo.dlr.de/docs/FAQ.html#how_can_i_make_the_simulation_run_faster? |
Thanks for your answer. Yeah , I have checked, but: ->make sure there are [no unwanted jams] The more vehicles there are in the simulation, the slower it gets. ->if your network is very large, build it with option --no-internal-links ->If you are using trips or periodic rerouting, enable [parallel routing] ->use the default step-length of 1s (using --step-length 0.1 slows down the simulation by a factor of 10) ->if your simulation is very larger. consider using the [mesoscopic simulation model] You once wrote in an answer(libsumo can't support multi-thread? #14176 ): Parallel execution should be possible but there have been many fixes to that in the past year, Can I assume that SUMO can fully leverage the hardware's performance without any settings? Thanks. |
That does not mean you have realistic jams, especially if you did not check the traffic lights and the junctions.
Depending on which output of the E2 you actually need you might be better of using meandata which is computationally more efficient and available for meso.
This issue was about accessing libsumo from multiple (python) threads. It has nothing to do with speeding up sumo. We are working on a parallelized sumo and you may want to try out the |
I wanna run a large scale simulation(whole urban transportation data during morning rush hour, 3600 seconds,300K vehicles, 80 intersections with TLS) in a server(2 CPUs , 32 cores in total , 2.5Ghz , 128GB memory,960GB SSD),each lane has its E2
detector. What is the best way in running sumo with multi-threading and multi-CPU,or ,what should I do to reduce the time cost of simulation extremely , or , what should I do to fully leverage hardware performance?
OS: Linux
Thanks.
The text was updated successfully, but these errors were encountered: