Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] fcd-output: speed issue

Hi,

I'm running win7 and python 2.7.14 and SUMO 0.30.0. I will try to investigate if firewall/virus scanner issue. /

-----Original Message-----
From: sumo-user-bounces@xxxxxxxxxxx [mailto:sumo-user-bounces@xxxxxxxxxxx] On Behalf Of Michael Behrisch
Sent: den 16 mars 2018 21:21
To: Sumo project User discussions <sumo-user@xxxxxxxxxxx>
Subject: Re: [sumo-user] fcd-output: speed issue

Hi Daniel,
I could not reproduce it. I did a small test generating an fcd file of about 350MB resulting in a gpsdat file of about 18MB. Both runs took about two minutes on my PC (Windows 7 with Python 2.7.11). What is your platform? There may be some interferring virus scanner or firewall watching your sockets.

Best regards,
Michael

Am 16.03.2018 um 10:14 schrieb Jakob Erdmann:
> Hello,
> i haven't personally used this method of operation so I have no data 
> to compare too. However, your finding does not surprise me insofar as 
> sumo still generates the full amount of xml output. Most likely the 
> socket buffering parameters are not optimized for speed as they are 
> for writing to disk. I'm forwarding this to my colleague who may be 
> able to help with setting the correct parameters.
> 
> regards,
> Jakob
> 
> 2018-03-16 8:23 GMT+01:00 Thuresson, Daniel 
> <daniel.thuresson.2@xxxxxxxxxxxxx
> <mailto:daniel.thuresson.2@xxxxxxxxxxxxx>>:
> 
>     Hi,____
> 
>     __ __
> 
>     I tried to use the fcd-output and write data to a port. The reason
>     for this is to avoid large files, which I have assumed slows down
>     the computation.____
> 
>     __ __
> 
>     I do this by first starting python in a command prompt:____
> 
>     c:\temp\SUMO_RESULTS_automized\Simulations>python traceExporter.py
>     –fcd-input 43214 --delta-t 1 --begin 3000 --gpsdat-output 
> test.txt____
> 
>     __ __
> 
>     Then I start SUMO with:____
> 
>     SumoVersion --time-to-teleport 80 --fcd-output localhost:43214
>     --step-length 0.1 -b 0 -e 4501 -n netPath -r PHEMrouPath -a addPath
>     --start --quit-on-end &____
> 
>     __ __
> 
>     My problem with this is that the simulation runs significantly
>     slower than when running without fcd-output and creating a very
>     large file. ____
> 
>     Have I done something wrong? ____
> 
>     __ __
> 
>     Rgds /Daniel____
> 
> 
>     _______________________________________________
>     sumo-user mailing list
>     sumo-user@xxxxxxxxxxx <mailto:sumo-user@xxxxxxxxxxx>
>     To change your delivery options, retrieve your password, or
>     unsubscribe from this list, visit
>     https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdev.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=02%7C01%7Cdaniel.thuresson.2%40volvocars.com%7C0c6326d458f34c1708b908d58b7b7562%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C636568284720877369&sdata=UixQaB8Ux38yn%2BKqYT9W5BUuIJsA%2BJqobIUHoOoRqjU%3D&reserved=0
>     
> <https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fde
> v.eclipse.org%2Fmailman%2Flistinfo%2Fsumo-user&data=02%7C01%7Cdaniel.t
> huresson.2%40volvocars.com%7C0c6326d458f34c1708b908d58b7b7562%7C81fa766ea34948678bf4ab35e250a08f%7C0%7C0%7C636568284720877369&sdata=UixQaB8Ux38yn%2BKqYT9W5BUuIJsA%2BJqobIUHoOoRqjU%3D&reserved=0>
> 
> 



Back to the top