Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Questions about TraCI performance

Hello,
Q1) I can only guess that the function we implemented to do the timing is somehow broken. Since the code uses defines to use different method calls on windows and linux you could try whether you see different behavior on these platforms. That would be a strong indication of my assumption.

Q2) It varies strongly depending on the amount of traci calls. We have some numbers here: http://sumo.dlr.de/wiki/TraCI#Performance. If you reach performance limits of TraCI, consider using libsumo: http://sumo.dlr.de/wiki/Libsumo

regards,
Jakob

2018-03-04 14:44 GMT+01:00 Marc Rene Zofka <zofka@xxxxxx>:

Dear sumo-Users,

 

i am currently interfacing SUMO (v.032, official release) via the TraCI client within C++ by subscribing to the vehicle states as well as triggering SUMO to step forward with the time.

 

At the same time,  SUMO (we are using the server without the GUI) tells us, how much time SUMO actually needs:

>> Step #235.64 (0ms ?*RT. ?UPS, TraCI: 2ms, vehicles TOT 82 ACT 51

>> Step #235.77 (0ms ?*RT. ?UPS, TraCI: 27ms, vehicles TOT 82 ACT 51

>> Step #235.90 (0ms ?*RT. ?UPS, TraCI: 2ms, vehicles TOT 82 ACT 51

>> Step #236.03 (1ms ~= 10.00*RT, ~51000.00UPS, TraCI: 1ms, …

>> Step #236.16 (0ms ?*RT. ?UPS, TraCI: 27ms, vehicles TOT 82 ACT 51

 

The point is, that sometimes it seems that the real time factor cannot be determined appropriately  and also the TraCI time seems to jump between two steps. What is really confusing, is the fact, that we are measuring the time, which is necessary to tell TraCI to step ahead with SUMO. This time is about 5 to 10ms, depending on the number of vehicles administrated by SUMO and subscribed by our application.

 

So what I am interesting in, are the following two questions:

·         Why does the TraCI time, given by sumo server, is sometimes jumping, although we are measuring an almost constant time in our external application for stepping forward with TraCI?

·         I mean, there are a lot of different parameters (scenario, pc configuration, subscribed vehicle quantities, number of vehicles, update rate) to given a precise indication, but are there any experiences of how many vehicles can be simulated and transmitted by TraCI to reach real-time?

 

Best regards,

 

Marc


_______________________________________________
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