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. That is, the graphs displaying the Event, Update, Cull, Draw
traversals are not "flat line" but go up and down unpredictably. I get ~100
fps. If I go into the Windows Task Manager and set the affinity of the
osgviewerd.exe process to a single core, then the stats flat line and my
framerate goes way up (~160 fps).

Running osgviewer.exe (release) with affinity in the Task Manager to both
cores yields flat line graphs and frame rate ~200 fps.

Obviously, 100 fps is more than enough, but that is for a simple scene. In
our application, which embeds OSG into an MFC window, I see a framerate of
about 20 fps in debug. My colleague, who has a quad core machine, sees about
3 fps in debug! Is there something we're not understanding correctly about
how to load balance OSG across multiple cores? We don't want to limit our
application to one core because then we obviously lose parallel processing
(database pager, etc). I really appreciate any help you guys can offer.

Thanks, and keep up the great work!

Jesse Stimpson
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to