Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] faster simulation in GUI

I suspect this has to do with console output which is horribly slow on windows. Try setting the option --no-step-log

Am Mi., 5. Dez. 2018 um 15:04 Uhr schrieb Sasan Amini <sasan.amini@xxxxxx>:
Hi Michael,

I'm on windows and not using TraCI. I made a more detailed experiment to see what is really happening. First of all, since I am using laptop and it was not plugged in, it was on battery saving mode (not full performance), which made SUMO without GUI extremely slow but had no effect on GUI mode!
After plugging the laptop (core i7 2.1 GHz, 16GB RAM, GPU 128MB + 2GB) I observed the following timings invoking SUMO directly from Command prompt for both micro and meso for average of 3 simulation runs (8,000 sec of simulation on Sioux-Falls network with totally 7712 vehicles in the network):

meso-gui:12 sec
meso: 32 sec
micro-gui: 72 sec
micro: 75 sec
Here the meso-gui is extrenelky faster than meso without gui, even though the visualization in meso is not reflecting vehicle movements!

In order to measure the times exactly, I started all the simulations in R and the exact timings are:

meso-gui:11.61 sec elapsed
meso: 14.05 sec elapsed
micro-gui: 70.24 sec elapsed
micro: 44.73 sec elapsed

Interestingly, invoking SUMO via R cuts the simulation time of the without GUI mode for both micro and meso in half (but has no effect on GUI mode; I have no idea why and how).


Cheers,
Sasan



-----Original Message-----
From: Michael Behrisch [mailto:oss@xxxxxxxxxxx]
Sent: Tuesday, December 4, 2018 11:30 PM
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>; Sasan Amini <sasan.amini@xxxxxx>
Subject: Re: [sumo-user] faster simulation in GUI

Hi Sasan,
I cannot think of a reason why the GUI version would run faster. Which platform are you on? Do you use TraCI?

Best regards,
Michael

Am 04.12.18 um 14:03 schrieb Sasan Amini:
> Dear all sumo users,
>
>  
>
> I was recently running a relatively long simulation on a big network
> and I noticed that it runs faster with GUI enabled. My guess is that
> the GUI mode uses the GPU power of the computer whereas the non-GUI
> mode uses only CPU. This brings the question if there is a way to use
> both CPU and GPU to run SUMO even faster without enabling GUI? Does
> anyone have a similar experience? Or am I totally wrong with my
> assumption of being faster with enabling GUI (which is by the way weird)?
>
>  
>
> Cheers,
>
> Sasan
>
>  
>
>
> _______________________________________________
> sumo-user mailing list
> sumo-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or
> unsubscribe from this list, visit
> https://www.eclipse.org/mailman/listinfo/sumo-user
>


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

Back to the top