I followed the instructions in the previous email and I was able to get
the 2.6.1 API to build with atomic ref counting on my Enterprise Redhat
box. This change caused a 33% improvement in my culling time and an 8%
improvement in my draw time when in cull thread per context mode. In
single threaded mode it made a similar amount of improvement in both
cull and draw. 

This improvement is definitely nice so thanks for the help, but I am
still confused as to how the 1.2 API is still able to perform about %12
- %15 better than 2.6.1 even with atomic ref counting used. Although, I
will say that I only see this on certain databases - I have another
OpenFlight database that essentially gets the same level of performance
on both versions of the API.

Has anyone else noticed a difference in performance between 1.2 and 2.6
on any of their old databases?

Are there other settings (build or runtime) that I can use to improve
performance?

Are there different default settings or perhaps increased error catching
that was added in 2.X that could account for the difference that I am
seeing?

Thanks.

Alex

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Robert
Osfield
Sent: Tuesday, February 10, 2009 10:35 AM
To: OpenSceneGraph Users
Subject: Re: [osg-users] Cull time doubled?

On Tue, Feb 10, 2009 at 4:39 PM, Jason Daly <[email protected]> wrote:
> On RHEL 5, you have to *explicitly* set CXXFLAGS to "-march=i486" or
higher
> *before* running CMake.  For some reason, the default configuration
will
> evaluate to using mutexes, even if your CPU supports the GCC builtins.

In long hand I think Jason is suggesting something like:


// remove the previous CMakeCache.txt to force a full reconfigure
rm CMakeCache.txt

// set the CXXFLAGS to tell cmake that you plan to use a specific
architecture
export CXXFLAGS="-march=i686"

// call the ./configure script or run cmake .
-DCMAKE_BUILD_TYPE=Release that it's equivalent to
./configure

// then run the parallel build to use all those loverly cores that
modern machines have :-)
make -j 4


Could you let us know how you get on with this recipe.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.or
g
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to