Performance checking with sysprof/Wine development

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
J V
Level 3
Level 3
Posts: 83
Joined: Wed Mar 07, 2012 6:57 pm

Performance checking with sysprof/Wine development

Post by J V »

With the release of GW2 nearing and me getting 10% of the frame rate of my windows counterparts, I'm prompted to put my meager C skills to work in the wined3d libraries.

I've been looking at a few things in sysprof trying to see how exactly it works but I'm not sure what I'm looking at.

The main (50% of the performance loss) problem in windows programs so far seems to be an "RtlRaiseException" from ntdll.
  • How do I get started looking at wine source and how do I pitch in?
  • What is the RtlRaiseException and how do I stop it? Should I stop it? Is it even broken?
  • Are there any tutorials to get me up to speed on sysprof and/or the wine source?
User avatar
DanKegel
Moderator
Moderator
Posts: 1164
Joined: Wed May 14, 2008 11:44 am

Re: Performance checking with sysprof/Wine development

Post by DanKegel »

Don't know much about sysprof myself, sorry.
(But one caveat: you can't quite assume that RtlRaiseException, or any other CPU sink, is the thing killing your framerate; it could be a synchronization problem instead.)

Be sure to read http://wiki.winehq.org/Performance
and of course http://wiki.winehq.org/Developers

Best way to get up to speed on the wine source is to read
the source code for the module(s) of interest, and try to
understand just one small part well first. Once you understand
part of the Win32 API well, adding test cases for it can be
illuminating, too.
Locked