Re: [osg-users] DatabasePager priority simplifier and stats added
It works now ! Tanks ! Christophe 2007/9/4, Zach Deedler [EMAIL PROTECTED]: Or you can set the windows environment variable: set OSG_DATABASE_PAGER_PRIORITY=HIGH (or set it in the system settings; Start Menu-Control Panel-System-Advanced-Environment Variables) -- *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Serge Lages *Sent:* Monday, September 03, 2007 12:03 PM *To:* osg-users@lists.openscenegraph.org *Subject:* Re: [osg-users] DatabasePager priority simplifier and stats added Hi Christophe, On 9/3/07, *christophe loustaunau* [EMAIL PROTECTED] wrote: Hello, I wan't to test the new databasePager priority, but I don't know how to use it... If I do : export OSG_DATABASE_PAGER_PRIORITY=HIGH; I have some errors like : warning C4237: 'export' keyword is not yet supported, but reserved for future use error C2146: syntax error : missing ';' before identifier 'OSG_DATABASE_PAGER_PRIORITY' What I am doing wrong ? export OSG_DATABASE_PAGER_PRIORITY=HIGH is the Linux way to set an environment variable. If you want to set it into your code, you should try something like: viewer.getDatabasePager ()-setScedulePriority(OpenThreads::THREAD_PRIORITY_*); (setting THREAD_PRIORITY_* the value you want). -- Serge Lages http://www.magrathea-engine.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] DatabasePager priority simplifier and stats added
Hello, I wan't to test the new databasePager priority, but I don't know how to use it... If I do : export OSG_DATABASE_PAGER_PRIORITY=HIGH; I have some errors like : warning C4237: 'export' keyword is not yet supported, but reserved for future use error C2146: syntax error : missing ';' before identifier 'OSG_DATABASE_PAGER_PRIORITY' What I am doing wrong ? Thanks. Christophe 2007/8/27, Adrian Egli [EMAIL PROTECTED]: Hi Robert, i will test it on my OS/X system, than on the same system with windows XP (dual core), i hope i can do it tomorrow. Better means, better than the old DB Pager implementation, before you did the changes. adegli 2007/8/27, Robert Osfield [EMAIL PROTECTED]: Hi Adrian, On 8/27/07, Adrian Egli [EMAIL PROTECTED] wrote: the performance is better now with the fix you did. Thanks for the feedback. Could you qualify better, is it now good enough/anywhere close to paging performance under linux? I am curious about the changes you've made in your subclass from DatabasePager, so any of the changes now made to the core version make this unnecessary? Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Adrian Egli ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] DatabasePager priority simplifier and stats added
Hi robert, the performance is better now with the fix you did. regards 2007/8/24, Adrian Egli [EMAIL PROTECTED]: Hi Robert, i did the first test and it's seems working. Over this weekend i will try to do some tests on single core systems. monday i will post next information on this topics. /adegli 2007/8/24, Robert Osfield [EMAIL PROTECTED]: On 8/24/07, Robert Osfield [EMAIL PROTECTED] wrote: I am tempted to add an env check to be able to set the priority. I have now checked this in. From osgviewer --help-env: OSG_DATABASE_PAGER_PRIORITY mode Set the thread priority to DEFAULT, MIN, LOW, NOMINAL, HIGH or MAX. export OSG_DATABASE_PAGER_PRIORITY=HIGH osgviewer mypageddata.ive With this change I have also removed the old part thats the priority to min so the new default thread priority for the DatabasePager will be that of OpenThreads::Thread. Could database paging users do an svn update and let me know how that new priority code (or lack of it - now just using defaults :-) and the stats works out. In particular I'm keen to here from Windows single core system users. Thanks, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Adrian Egli -- Adrian Egli ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] DatabasePager priority simplifier and stats added
Hi Adrian, On 8/27/07, Adrian Egli [EMAIL PROTECTED] wrote: the performance is better now with the fix you did. Thanks for the feedback. Could you qualify better, is it now good enough/anywhere close to paging performance under linux? I am curious about the changes you've made in your subclass from DatabasePager, so any of the changes now made to the core version make this unnecessary? Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] DatabasePager priority simplifier and stats added
Hi Robert, i will test it on my OS/X system, than on the same system with windows XP (dual core), i hope i can do it tomorrow. Better means, better than the old DB Pager implementation, before you did the changes. adegli 2007/8/27, Robert Osfield [EMAIL PROTECTED]: Hi Adrian, On 8/27/07, Adrian Egli [EMAIL PROTECTED] wrote: the performance is better now with the fix you did. Thanks for the feedback. Could you qualify better, is it now good enough/anywhere close to paging performance under linux? I am curious about the changes you've made in your subclass from DatabasePager, so any of the changes now made to the core version make this unnecessary? Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Adrian Egli ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] DatabasePager priority simplifier and stats added
Hi Robert, i did the first test and it's seems working. Over this weekend i will try to do some tests on single core systems. monday i will post next information on this topics. /adegli 2007/8/24, Robert Osfield [EMAIL PROTECTED]: On 8/24/07, Robert Osfield [EMAIL PROTECTED] wrote: I am tempted to add an env check to be able to set the priority. I have now checked this in. From osgviewer --help-env: OSG_DATABASE_PAGER_PRIORITY mode Set the thread priority to DEFAULT, MIN, LOW, NOMINAL, HIGH or MAX. export OSG_DATABASE_PAGER_PRIORITY=HIGH osgviewer mypageddata.ive With this change I have also removed the old part thats the priority to min so the new default thread priority for the DatabasePager will be that of OpenThreads::Thread. Could database paging users do an svn update and let me know how that new priority code (or lack of it - now just using defaults :-) and the stats works out. In particular I'm keen to here from Windows single core system users. Thanks, Robert. ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org -- Adrian Egli ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org