Re: [osg-users] Load balancing on multiple cores

2010-03-25 Thread Sean Spicer
One suggestion that I will offer: build your code in release mode, but do not optimize. Under MSVC, use the following flags: /MD /Zi /Od /Ob0 /RTC1 /D NDEBUG You can add the following CMAKE Option to OSGs CMakeLists.txt to add this type of build as an MSVC option in the configuration manager:

Re: [osg-users] Load balancing on multiple cores

2010-03-19 Thread J.P. Delport
Hi Jesse, Jesse Stimpson wrote: I feel that we're diverging from what I think is most perplexing about what I'm seeing. When I restrict the process to use less cores, I get increased rendering performance. This is what leads me to believe there are some load-balancing issues. yes, and it

[osg-users] Load balancing on multiple cores

2010-03-18 Thread Jesse Stimpson
Hello, OSG is a great product and I hope I can tap into the great support you folks offer! I have an Intel Core 2 Duo processor, and I'm running OSG 2.8.2 on Windows XP. And I have VSync turned off, by the way. When I run osgviewerd.exe (debug) I notice that the stats reported are very erratic.

Re: [osg-users] Load balancing on multiple cores

2010-03-18 Thread Jean-Sébastien Guay
Hi Jesse, I'll let others reply specifically about the threading, but I wanted to react to one part of your post: When I run osgviewerd.exe (debug) I notice that the stats reported are very erratic. Never do any performance testing in debug, especially using Visual C++! An erratic frame

Re: [osg-users] Load balancing on multiple cores

2010-03-18 Thread Jesse Stimpson
Hi J-S, Never do any performance testing in debug, especially using Visual C++! An erratic frame rate and stats is exactly what I have come to expect in debug. Visual C++ and its iterator and other debugging facilities really get in the way and make the stats useless. If you get the

Re: [osg-users] Load balancing on multiple cores

2010-03-18 Thread Robert Osfield
Hi Jesse, On Thu, Mar 18, 2010 at 4:36 PM, Jesse Stimpson jesse.stimp...@gmail.com wrote: You're correct. We never will be shipping debug binaries. However, it's come to the point where the debug performance is hindering our development. My colleague with the quad core desktop sees ~3 fps, and

Re: [osg-users] Load balancing on multiple cores

2010-03-18 Thread Jesse Stimpson
Hi Robert, Thanks for the response. We'll if VisualStudio's debug performance is too bad to develop with routinely avoid using debug unless you actually need to do debugging, or pick a better compiler or see if you can tweak compiler options to avoid the pitfalls of VisualStudio. I do