On 10/2/2010 5:40 AM, thorsten.i.r...@jyu.fi wrote:
> To follow up on my previous message:
>
>> Not so with my GIT binary: Loading of the initial cloud configuration
>> brings me down to 4 fps, and every time (!) a cloud is loaded from the
>> buffer my framerate drops from 34+ to something like 20+ for a moment -
>> which makes the whole experience rather jerky.
> I have now made a series of tests to quantify the effect. The test
> situation is
>
> --disable-fullscreen --geometry=1200x900 --aircraft=ufo --airport=KINS
> --timeofday=noon --disable-real-weather-fetch
>
> 2.0.0 prebuilt:
>
> empty sky: 190 fps
> with 3d clouds: 128 fps
> with static cold sector tile: 90 fps when loaded,>  34 while loading
> with dynamical cold sector tile: 45 fps when loaded,>  30 while loading
>
> (note that this is *not* a fair comparison between standard 3d clouds and
> local weather clouds as the visibility and cloud view distance is rather
> different - not the point of the exercise)
>
> GIT built against my self-compiled OSG 2.9.10:
>
> empty sky: 234 fps
> with 3d clouds: 145 fps
> with static cold sector tile: 95 fps when loaded,>  6 (!) while loading
> with dynamical cold sector tile: 46 fps when loaded,>7 (!) while loading
>
> GIT build against the prebuilt OSG 2.9.6 coming with my 2.0.0 binary:
>
> empty sky: 230 fps
> with 3d clouds: 128 fps
> cold sector, static: 90 fps when loaded,>  6 while loading
> cold sector dynamical: 48 fps when loaded,>  8 while loading
>
> > From this I conclude that what I'm seeing is not associated with OSG or
> the way I compile OSG. I also conclude that it's not related to
> performance issues of GIT in general - I get actually a better framerate
> than in 2.0.0 with GIT once things are loaded.
>
> But there is a dramatical difference in the impact on performance while
> new models are loaded (if you're flying, 30 fps vs. 6 fps is an issue...).
> That difference must be somewhere in the simgear or flightgear code.
>
> I can only stress that finding that difference and making GIT as fast as
> 2.0.0 in loading models will decide if local weather runs smoothly or not.
> At this point, the system itself is now fairly optimized and runs
> reasonably fast. Any help would be most welcome.
>
> Cheers,
>
> * Thorsten
>
>

I've had some luck using the Intel compiler instead of gcc on processor 
heavy applications. It would be interesting to see what effect it may 
have on FG performance.

http://software.intel.com/en-us/articles/non-commercial-software-download/


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to