Hi,

On Mon, Dec 1, 2008 at 7:00 PM, Yon Uriarte <[EMAIL PROTECTED]> wrote:

>
> I attach the patch for the airport, airway and navdb loaders. Also included
> is the patch to throttle the frame rate while loading the scenery at startup
> and to set the gzip input buffer to 64k (was 4k).
> I believe all of them make sense and are sufficient. I'd like to ask for
> them to get tested and eventually applied. I'll keep resubmiting them at 1
> week intervals :)
>
>
did some timings on the throttle patch to try and market it :)
I got some unexpected results:

All times in ms, dual-core pentium E2xxx @3.1GHz
Affinity set to simulate single-core with: start /affinity 0x1 /B fgfs ...
Throttle at 15fps

throttled, no random objects, no affinity.
4096 4078 4074
not throttled, no random objects, no affinity
3029 3217 3012

throttled, no random objects, affinity 0x1
5498 5435 5457
not throtled, no random objects, affinity 0x1
4556 4502 4482

throttled, enabled random objects, no affinity
30009 29532 29005 29988
not throttled, enabled random objects, no affinity
38285 37927 37958

throttled, enabled random objects, affinity 0x1
33749 33518 34116
not throttled, enabled random objects, affinity 0x1
61120 57412 58443

it is faster for random objects (target case), but slower for all other
cases. I suspect the
osgDB threads are blocking waiting for the frame to upload their display
lists.
Anyway, throttled to 50fps now I get:

throttled 50 , no random objects, no affinity
3176 3187 3168

throttled 50 , random objects, affinity 0x1
38455 37583 38273


Please set the frame limiter to 50, not15, when testing, I'll set it to that
in next week's patch.

yon
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to