Perfect, problem solved! Infact, those queries seem to take 0 seconds  
now (I guess not waiting for any TCP ack or something). At first I  
thought you meant it was to be enabled on the SUMO side in configure,  
but then I realised you meant change the socket option on Java (at  
least, that's what I've done!).

Anyway, thanks, I'd not have guessed that was in the problem for ages!

Quoting Enrico Gueli <enrico.gu...@gmail.com>:

> Hi Vincent,
> see http://sourceforge.net/mailarchive/message.php?msg_id=28476922 .
> (I think I should enable this by default...)
>
> Best regards,
> Enrico
>
>
> 2013/10/20  <vb...@bath.ac.uk>:
>> Hi All,
>>
>> I typically develop on my windows laptop, and then shift the code over
>> to more powerful ubuntu desktop when I need better performance.
>>
>> So, I compiled from svn on my ubuntu (13.04) with debug too (though
>> I'm not using the sumoD, just sumo) expecting things to be quicker.
>> I'm using traci4j, so maybe the issue is in the java code there, but
>> then I'd expect same performance on windows.
>>
>> I wondered if anyone has seen similar issues, or might have an idea
>> where the issue comes from?
>>
>> As an example, checking timings on how long it takes to run 3 commands
>> (get position, get angle, and get ID), on my laptop everything is quick:
>>
>>       [java] vehicle.queryReadPosition took 1 ms
>>       [java] vehicle.queryReadAngle took 1 ms
>>       [java] vehicle.getID took 0 ms
>>
>> On ubuntu:
>>
>>       [java] vehicle.queryReadPosition took 39 ms
>>       [java] vehicle.queryReadAngle took 39 ms
>>       [java] vehicle.getID took 0 ms
>>
>> The problem is, with > 10 vehicles, this means it takes more than 0.5s
>> to gather all the vehicle data and publish it to middleware, which is
>> the sim step I'm using.
>>
>> Seems something specific in the position and angle?
>>
>> Thanks
>>
>> Vincent
>>
>>
>> ------------------------------------------------------------------------------
>> October Webinars: Code for Performance
>> Free Intel webinars can help you accelerate application performance.
>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the  
>> most from
>> the latest Intel processors and coprocessors. See abstracts and register >
>> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
>> _______________________________________________
>> sumo-user mailing list
>> sumo-user@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
>
>
> --
> Enrico




------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
sumo-user mailing list
sumo-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to