I have tons more information I can give. I'll try to give as much as I can
with out overloading:
PROBLEM
While moving camera through scene, the frame rate drops significantly(5Hz)
for multiple seconds. (It hitches bad)
SPECS
1) Processor = Intel Pentium D 3.20GHz dual core, hyper-threading
2) RAM = 2GB
3) OS = Microsoft Windows XP
4) Video card = Nvidia GeForce 7800 GTX, PCI Express, 5.70.02.11, 256MB
5) OSG 1.0
6) Compiler = Visual Studio 7
7) Paged database consists of 1000 meter tiles paged in at 5000 meters.
Each tile is on average 5MB compressed textures on disk. No more than 15MB.
Database is about 1GB total on disk.
TRIALS
All tests exclusive
1) Disable hyperthreading = no significant results (nsr)
2) OSG1.0 with CVS OpenThreads = no significant results (nsr)
3) OSG1.1.1 installer = nsr
4) Linux (alt-booted from same computer) = a whole lot better (hitches are
few, and only last for split-second)
5) SetUseFrameBlock(true) = nsr
6) SetPriorityOutWithFrame(0) = nsr
7) SetPriorityDuringFrame(0) = nsr
8) SetMaxObjectsToCompile(1) = nsr
9) SetMinTimeForPreCompile(0.000001) = nsr
10) Manually disabled code that precompiles paged data and adds it to scene
graph = nsr
11) Disabled pagefile in windows OS = nsr
INVESTIGATION
1) Using windows performance monitor I discovered that whenever hitches are
ocurring, thread 0 drops from 100% of proc time to ~0%, and thread 5 rises
from 0% to 100%. Thread 0 must be main thread, while thread 5 is pager.
2) Context switching doesn't appear to be the problem.
3) Given TRIAL10, I believe the code that is actually loading the files is
taking the processor time.
4) Looking at Windows Task Manager, the osgviewer mostly is running only one
1 of the 4 shown processors. When data is being paged in, it looks like it
is running on more.
5) Given TRIAL4, seems like a #ifdef WIN32 problem, or limitation in the OS
(I'm still unwilling to accept this)
Isn't the code in OsgSceneHandler supposed to prevent paging from occurring
for long periods of time?
If anybody has any other suggestions, I'm willing to try it.
Please shoot me, or help me!
Thanks.
From: Mike Weiblen <[EMAIL PROTECTED]>
Reply-To: osg users <[email protected]>
To: osg users <[email protected]>
Subject: Re: [osg-users] Paging performance on Windows
Date: Tue, 15 Aug 2006 20:08:40 -0700
Chris Hanson wrote:
> Zach Deedler wrote:
>
>> Anybody have any paging performance issues on Windows?
>
>
> Before we go any further, what exact OS, compiler, and display card &
> driver revision?
>
Also, can you reproduce with the v1.1.1-rc1 win32 binary installer? (to
further
reduce the number of variables)
-- mew
_______________________________________________
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/