Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
0.6.1 released
02-16-2013, 07:43 PM (This post was last modified: 02-16-2013 07:43 PM by [Unknown].)
Post: #39
RE: 0.6.1 released
Well, Henrik suggested VerySleepy to me which I quite like. There's also vsperfcmd/vsinstr/etc. which comes with Visual Studio but it's quite slow.

http://www.codersnotes.com/sleepy

To get started:

1. Compile PPSSPPWindows yourself, or get the pdb from the build you're using.
2. Get the game in game (to avoid loading screens, etc. which matter too but aren't the main cause of bad fps.)
3. Open VerySleepy.
4. Make sure under Tools -> Options it's got the Microsoft symbol server setup.
5. Select PPSSPPWindows.exe in VerySleepy.
6. Look for the thread using the most CPU usage. There will be many other threads, but those are possibly on other cores, so just select the one thread using the most CPU.
7. Let it sample a while, possibly holding TAB. Moving around and interacting is best.
8. Stop the profiler.

At this point, you should be looking at a list of functions. I won't explain all the ins and outs of using a profiler, but the things at the top will roughly be what uses the most walltime (seconds, not cpu time.) If Sleep is at the top, you weren't holding tab.

If you only see things like "[029C003B]", you're missing symbols (the pdb.)

If you see "WriteVector", "ReadVector", "WriteMatrix", "ReadMatrix", "MIPSInt::Int_V*" etc. at the top, it's spending time in the VFPU.

If you see things like "VertexDecoder", "IndexGenerator", "ShaderManager", "TransformDrawEngine", "GPUCommon" and "GLES_GPU", it's spending a lot of time in the emulated GPU.

If you see things like "[029C003B]", check the "Module" column. If it's PPSSPPWindows.exe (and there are other named functions showing under that module), this means it's spending a lot of time in jitted code. This may be a bug making it spin and drink cycles. If the "Module" is something else, it's most probably your video card driver (which could potentially be improved by multicore, or by optimizing GPU usage.)

If you see "QuickTexHash" or "CityHash32" it's probably not doing well on caching.

You could see other things at the top as well, though. You could see for example "fread" if it's doing too much IO, or "CallSyscall" if it's going crazy on syscalls.

-[Unknown]
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
0.6.1 released - Henrik - 01-29-2013, 08:22 PM
RE: 0.6.1 released - livisor - 01-29-2013, 08:27 PM
RE: 0.6.1 released - batsman - 01-29-2013, 11:30 PM
RE: 0.6.1 released - fabrizioo2007 - 01-30-2013, 07:21 AM
RE: 0.6.1 released - Henrik - 01-30-2013, 07:25 AM
RE: 0.6.1 released - JumperTwo - 01-30-2013, 10:39 AM
RE: 0.6.1 released - zzq920817 - 01-30-2013, 07:37 AM
RE: 0.6.1 released - thedicemaster - 01-30-2013, 11:49 AM
RE: 0.6.1 released - Henrik - 01-30-2013, 12:06 PM
RE: 0.6.1 released - batsman - 01-30-2013, 12:16 PM
RE: 0.6.1 released - Ryano33 - 01-30-2013, 12:22 PM
RE: 0.6.1 released - XenoN - 01-30-2013, 03:11 PM
RE: 0.6.1 released - Carter07 - 01-30-2013, 03:43 PM
RE: 0.6.1 released - JumperTwo - 01-30-2013, 03:50 PM
RE: 0.6.1 released - fabrizioo2007 - 01-30-2013, 09:39 PM
RE: 0.6.1 released - XenoN - 01-30-2013, 04:15 PM
RE: 0.6.1 released - JumperTwo - 01-30-2013, 04:25 PM
RE: 0.6.1 released - XenoN - 01-30-2013, 04:39 PM
RE: 0.6.1 released - JumperTwo - 01-30-2013, 04:53 PM
RE: 0.6.1 released - GuilhermeGS2 - 01-30-2013, 08:53 PM
RE: 0.6.1 released - XenoN - 01-31-2013, 03:59 AM
RE: 0.6.1 released - fabrizioo2007 - 01-31-2013, 10:45 AM
RE: 0.6.1 released - XenoN - 01-31-2013, 11:07 AM
RE: 0.6.1 released - fabrizioo2007 - 01-31-2013, 11:12 AM
RE: 0.6.1 released - XenoN - 01-31-2013, 12:06 PM
RE: 0.6.1 released - fabrizioo2007 - 01-31-2013, 07:32 PM
RE: 0.6.1 released - Assassin96 - 01-31-2013, 01:07 PM
RE: 0.6.1 released - deancyl - 02-03-2013, 12:31 PM
RE: 0.6.1 released - Henrik - 02-03-2013, 07:57 PM
RE: 0.6.1 released - takeshineale88 - 02-03-2013, 08:23 PM
RE: 0.6.1 released - HD2MAX - 02-03-2013, 11:23 PM
RE: 0.6.1 released - Seekey - 02-05-2013, 08:58 PM
RE: 0.6.1 released - Apology11 - 02-06-2013, 10:31 AM
RE: 0.6.1 released - dragon199 - 02-06-2013, 10:39 AM
RE: 0.6.1 released - srdjan1995 - 02-16-2013, 02:39 PM
RE: 0.6.1 released - thedicemaster - 02-16-2013, 03:18 PM
RE: 0.6.1 released - [Unknown] - 02-16-2013, 06:14 PM
RE: 0.6.1 released - srdjan1995 - 02-16-2013, 08:42 PM
RE: 0.6.1 released - Carter07 - 02-16-2013, 06:38 PM
RE: 0.6.1 released - [Unknown] - 02-16-2013 07:43 PM
RE: 0.6.1 released - Carter07 - 02-16-2013, 09:59 PM
RE: 0.6.1 released - [Unknown] - 02-16-2013, 10:26 PM
RE: 0.6.1 released - Carter07 - 02-17-2013, 08:59 AM
RE: 0.6.1 released - lina654321 - 02-18-2013, 10:12 AM
RE: 0.6.1 released - Henrik - 02-18-2013, 10:24 AM
RE: 0.6.1 released - srdjan1995 - 02-19-2013, 11:37 AM
RE: 0.6.1 released - lina654321 - 03-01-2013, 10:48 AM
RE: 0.6.1 released - Razorback - 03-01-2013, 02:12 PM

Forum Jump: