Hi Chris,

Where do you put the code so the CodeAnalyst can find it?  I thought the
full path of the code would be in the pdb file? 


Zach

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Hanson
Sent: Sunday, August 20, 2006 23:25
To: osg users
Subject: Re: [osg-users] Paging performance on Windows

Don Burns wrote:
> The graph you posted is quite helpful.  However, there is still a 
> mystery as to why the database thread is so CPU bound during file I/O.
> It does seem to indicate some kind of spin lock that is stuck.
> 
> Now, if I were  handling this problem under some kind of Unix, I would 
> use prof and get a profile of the database thread to find out where it 
> is spending most of its cycles.  Do you have that kind of capability 
> with your compilers/tools?  If so, that is probably the best place to 
> start at narrowing down where exactly CPU time is being spent.
> 
> -don

   Yes, I concur.

   I would recommend getting AMD's CodaAnalyst tool, a free download. It
runs fine on Intel and AMD CPUs, and can do some excellent profiling of your
application to tell you how much time the app spent in what areas, even
broken down by thread.

   The best part is, it runs on optimized release-mode apps. You need to
tell Visual to generate PDB debug info, but this does not affect the
generated code. It does allow CA to tell what functions the CPU spent its
time in.

   I think this will help you pin down where it's spending time, leading to
WHY it's spending time there.

   Very interested to know your results. Good luck.

--
Chris 'Xenon' Hanson aka Eric Hammil | http://www.3DNature.com/ eric at
logrus
  "I set the wheels in motion, turn up all the machines, activate the
programs,
   and run behind the scenes. I set the clouds in motion, turn up light and
sound,
   activate the window, and watch the world go 'round." -Prime Mover, Rush.
_______________________________________________
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/

Reply via email to