Hi Zach,

On 3/6/07, Zach Deedler <[EMAIL PROTECTED]> wrote:
Has anyone ever tried running multiple database pagers?  I have a multi-proc
system and was wondering if I could take advantage of them.

You could use this with multiple scene graphs with one database pager
per scene graph, but the database pager is not designed to run in
parallel with other pagers on the same scene graph - you'll end up
with lots of conflicts such as both pagers trying to read in the same
tiles.

Better solution would be for the database pager to have more than one
thread associated with it and for it to manage things internally.
This will require a significant refactor of the database pager, but
its where I feel the pager should be heading.

Before we get to this point I'd like to see OpenGL compilation and
deletion done in the paging thread using shared contexts rather than
the present scheme where OpenGL object management all has to be done
as a time slice in the main draw thread for each context.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to