Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] one-shot.py is so slow

Hello,
How many edges does your network have?
If it's large then the routing might be slowing you down. You can test this by simply starting sumo with a fraction of the trips and option --verbose. You will get some output on the command line that tells you how much time the routing took and how many network edges were check while computing the route.
You can speed up routing by selecting another routing algorithm (http://sumo.sourceforge.net/userdoc/Simulation/Routing.html#Routing_Algorithms)
Possibly, the simulation does not continue due to heavy jamming. This is best investigated by looking at the simulation with sumo-gui (see http://sumo.sourceforge.net/userdoc/FAQ.html#The_simulation_has_lots_of_jams.2Fdeadlocks._What_can_I_do.3F)

regards,
Jakob



2018-08-28 20:55 GMT+02:00 mohsen hs <mohsenhs82@xxxxxxxxx>:
Hello there, 

I am running one-shot.py for 140k trips in(uniformly distrusted in the first 30 min of simulation) min and it seems very slow. It is running for two days and vehroutes_300.xml, 300 is -f,  is only 26KB and the log is  45KB and the last line is :
Step #776.00 (357857ms ~= 0.00*RT, ~15.57UPS, vehicles TOT 5584 ACT 5573 BUF 1
Step #777.00 (356625ms ~= 0.00*RT, ~15.95UPS, vehicles TO

and I have not gotten any error in power shell as it is:
PS D:\S3\sumo-win64-0.32.0\sumo-0.32.0\tools\assign> python one-shot.py -f 300 -n map10_limitedWellington.net.xml -t tri
psmodified_tripsv1800000in30min_.trips.xml
> Running simulation with update frequency 300
>> Begin time 2018-08-27 12:53:58.461000


Is there any way that I can speed up the process (my cpu and ram are not even 20% utilized) ? or is there any alternative option for me?
As far as I know if I add and run reroute in TraCI, it would be slow too. 


Looking forward to hearing from you.

Many thanks
Mohsen 

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



Back to the top