Hi Don, Why am I unwilling to accept that it is a limitation in the OS?
1) The paging thread is virtually taking over the processor for periods of multiple seconds. 2) I know games can page data on a Windows OS with out this problem. Just from my investigations in graphing processor time for the threads. I can see the paging thread virtually taking over the processor for multiple seconds. From the graphs, I know that the main thread still gets some time during those seconds. I know that if the paging thread was told to sleep for awhile then the hitching problem would not look so bad. When no hitching is occuring, the paging thread takes no more than 30% of the proc. Somehow the paging thread is given almost full control of the processor for a period of multiple seconds. Even if an atomic operation on Windows took 1 full second, I should be able to code around this to get better performance (sleep on the thread that needs one second). Given the fact that I'm using a dual-core processor should also help. If reading one file is an atomic action in Windows, then I am willing to accept this issue is an OS issue. Otherwise, someone will have to prove it to me. I'm not saying that Linux won't outperform Windows with disk access, and I am by no means promoting Windows over Linux. I'm just trying to get better performance out of my paged database on a Windows system. I am confident this can be done if I can narrow down the operations that are taking soo long without the main thread noticing and accounting for it. >From: "Don Burns" <[EMAIL PROTECTED]> >Reply-To: osg users <[email protected]> >To: "osg users" <[email protected]> >Subject: Re: [osg-users] Paging performance on Windows >Date: Thu, 17 Aug 2006 10:33:17 -0700 > >On 8/16/06, Zach Deedler <[EMAIL PROTECTED]> wrote: >> >> >>5) Given TRIAL4, seems like a #ifdef WIN32 problem, or limitation >>in the >>OS >>(I'm still unwilling to accept this) > > > >why ? >_______________________________________________ >osg-users mailing list >[email protected] >http://openscenegraph.net/mailman/listinfo/osg-users >http://www.openscenegraph.org/ _______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
