|
From: <fie...@zo...> - 2010-07-06 13:56:41
|
Hi Anders, Thanks. Very interesting. I added <multithreading-mode>AutomaticSelection</multithreading-mode> to my preferences.xml file under <rendering>. At LFPO I am getting 50 FPS (25-30 before). There are two core threads each 50-60% busy. The rest is up to the graphics card probably. m Op 06-07-10 15:26, Anders Gidenstam schreef: > On Tue, 6 Jul 2010, fie...@zo... wrote: > >> Op 06-07-10 14:12, Csaba Halász schreef: >>> I find it hard to believe that you have performance problems with a >>> core i7, assuming you got a halfway decent graphics card to go with >>> it. >>> >> >> I am not having performance problems. All is well, but I noticed that >> only one core thread is used while my Linux reports 8 available (4 cores >> times 2 threads). > > Hi, > > Have you tried telling OSG to use more threads? > Edit the following in your preferences.xml file: > > <rendering> > <!-- Threading modes: > AutomaticSelection > DrawThreadPerContext > CullDrawThreadPerContext > CullThreadPerCameraDrawThreadPerContext > --> > <!-- multithreading-mode>AutomaticSelection</multithreading-mode --> > ... > </rendering> > > Note that enabling concurrency here currently breaks the built in > screenshot mechanism. > > IMHO we need to proceed carefully with parallelization - to my > knowledge there are only a few subsystems that use (or could with in > reason be expected to use) enough CPU time to warrant the effort to > move them into separate threads. > > AFAIK the really big CPU time consumer is rendering. Various AI > systems could be as well if they are used for a large number of AI > entities (though computation of AI behaviour is probably still much > cheaper than handling the 3d models for them). > > > Cheers, > > Anders > > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > > _______________________________________________ > Flightgear-devel mailing list > Fli...@li... > https://lists.sourceforge.net/lists/listinfo/flightgear-devel > |