Dear Amir,
using traci to report back every 0.1s needs to go through your entire tcp/ip stack. There is significant overhead involved. You may want to use libsumo instead. Same API, but faster calls since you substitute the tcp/ip stack with function
calls.
https://sumo.dlr.de/docs/Libsumo.html
Best,
Robert
From: sumo-user <sumo-user-bounces@xxxxxxxxxxx>
On Behalf Of Amir hkr via sumo-user
Sent: Tuesday, January 30, 2024 6:21 PM
To: sumo-user@xxxxxxxxxxx
Cc: Amir hkr <amirhkr177@xxxxxxxxx>
Subject: [sumo-user] Running time
Hi,
I have an ASUS TUF 15 gaming laptop with this configuration:
CPU: 13th Gen Intel(R) core(TM) i9-13900H
GPU: NVIDIA Geforce RTX 4060 Laptop GPU
I want to run a sumo simulation in which the traffic volume is 3000 veh and I have attached my files. It took more than 5hrs to run it via Traci. It should need less time to run (I am not sure but around 20 minutes) but I don't know why
it takes so long. Do you have any idea how to run it faster based on a step length of 0.1s?