Howto:Using additional OSG Pager Threads

From FlightGear wiki
Revision as of 17:11, 23 October 2020 by Hooray (talk | contribs) (wrong: Undo revision 128316 by Johan G (talk))
Jump to navigation Jump to search
This article is a stub. You can help the wiki by expanding it.

you can configure OSG to use additional pager threads, which basically means the terrain cache gets additional CPUs it can use. see the OSG docs, it's just an environment variable, i.e. something like OSG_NUM_DATABASE_THREADS

Note that according to findings shared by Richard, when testing the database pager extensively (running with 20 DB pager threads), the main problem is the way that random objects (buildings, vegetation) are inserted into the scene graph doesn't seem to be compatible with lots of pager threads[1]