• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 47 48 49 50 51 ... 114 Next »

Development Thread
 Testing needed for a small CPU optimization
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Green Notice (Development Thread) Testing needed for a small CPU optimization
09-28-2012, 10:21 AM (This post was last modified: 01-09-2013, 03:27 PM by Starscream.)
#1
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
Bug 
Hey everyone,

I've got a small optimization patch waiting since the end of July but I've been too lazy to finish it properly. Now that it's done and working, I'd like to know if there are any issues with it.

x64 build: https://www.dropbox.com/s/jfj1i6rpr69qpo7/Dolphin.7z
Source code patch: https://www.dropbox.com/s/o29owyrgri124uk/icache.diff

Please reply to that thread if you can find any issue with that patch. This only impacts Jit64 (so any GPU setting is ok).

This optimization should help a bit when the CPU is the limiting factor, you should be able to see improvements more easily if the GPU is not loaded at all (so IRx1, EFB to Texture, etc.). For example, here is a small benchmark I did on the intro cutscene of Xenoblade on my i7-920: https://docs.google.com/spreadsheet/ccc?key=0AunYlOAfGABxdDlncURPamVHUkVROUxXTm54T1FBREE#gid=0

Thanks in advance to anyone taking some time to test that build!
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
09-28-2012, 01:19 PM (This post was last modified: 09-28-2012, 01:19 PM by delroth.)
#2
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
A small list of games that it would be nice to test first if you have dumps: Tales of Graces, Mario and Sonic Winter Olympics, Indiana Jones Staff of Kings.
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
09-28-2012, 11:10 PM
#3
dEnigma Offline
Member
***
Posts: 138
Threads: 1
Joined: Sep 2011
Okay, I don't have any of the mentioned games, but I did a little testing anyway. I compared the newest master build (ac2ce8b) with your patched one using Fraps (the benchmark ran 200 seconds for every game/build), I didn't touch any of the settings, so graphic-wise they were pretty low, to compare CPU-performance. Also I didn't move the characters in the game. Here are the results:

BUILD----------GAME----------------------Min., Max., Avg. FPS
Master ---------Zelda: The Wind Waker--------47, 55, 50.245
patch-----------Zelda: The Wind Waker--------48, 56, 52.505
Master----------Zelda: Twilight Princess--------21, 30, 28.325
patch-----------Zelda: Twilight Princess--------24, 31, 28.840
Master----------Super Smash Bros. Brawl-----48, 76, 69.250
patch-----------Super Smash Bros. Brawl------50, 79, 72.530

My system specs are in my signature (the laptop, not the desktop PC).

You can see that there is a small increase in speed in every game tested. I also didn't encounter any issues so far, but I haven't really played a lot yet.
[Image: postcountwe8.jpg]
---------------------------------------------------------------------------------------
[Image: 2350461.png]
Find
Reply
10-02-2012, 02:13 PM
#4
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
Thanks for reporting that dEnigma Smile The results are about what I expected from that change - not a lot of improvement but still about 5% more FPS in every case.

I'd like to get some more feedback (especially tests with the games I mentioned earlier) before merging that. Could some of you take time to test this and report if it causes new bugs? Thanks!
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
10-02-2012, 02:15 PM
#5
Axxer Offline
Why would I help you?
*******
Posts: 1,078
Threads: 28
Joined: May 2012
I can test Mario & Sonic at the Olympic Games, but I don't have the Winter Games one. Would that still be useful?
Desktop:
OS: Windows 7 64 bit
CPU: Intel Core i5 3570K @ 4.4 GHz
GPU: EVGA NVIDIA GeForce GTX 550 Ti (Factory OC'ed)
RAM: 16 GB @ 1600 MHz
Dolphin Revision:3.0, 3.0-784, 3.5, latest 3.5
Find
Reply
10-06-2012, 05:18 PM
#6
delroth Offline
Making the world a better place through reverse engineered DSP firmwares
**********
Developers (Some Administrators and Super Moderators)
Posts: 1,354
Threads: 63
Joined: Aug 2011
Committed to master, thanks to everyone who tested and reported feedback (here or on IRC).
Pierre "delroth" Bourdon - @delroth_ - Blog

<@neobrain> that looks sophisticated enough to not be a totally dumb thing to do
Website Find
Reply
10-07-2012, 05:31 AM
#7
Starscream Away
Above and Beyond
*******
Posts: 4,052
Threads: 213
Joined: Jun 2009
(10-07-2012, 05:10 AM)mranonymous Wrote: My question however is whether optimisations such as this could be added into the the official 3.0 build?

It probably can be added if someone really wanted to do it, but the project is moving forward, not backwards.

Asus Laptop: K53TA
OS: Windows 7 Home Premium, 64-Bit - SP1
CPU: AMD Llano A6-3400M, Quad-Core, 1.4GHz-2.6GHz (Overclocked)
GPU: AMD Radeon HD6650M, 1GB GDDR3 (Catalyst 13.1)
RAM: Samsung 4GB DDR3-1333










Find
Reply
10-07-2012, 05:50 AM
#8
Axxer Offline
Why would I help you?
*******
Posts: 1,078
Threads: 28
Joined: May 2012
(10-07-2012, 05:42 AM)mranonymous Wrote: That's very true and understandable! This leads me to my other question, why do I find the official build to be in all cases for me (only have 5 games to test on) faster than the development builds? Does that mean something was added that's sacrificed speed for even more accuracy earlier on in the development builds that I may have missed? Just can't get my head around it really as a game such as SSBB plays at 100% speed all the time pretty much on 3.0, where as on any development build i've tried, that fluctuates dramatically and just generally makes the game unplayable! This is with ofcourse the same settings on each version tried.

Sorry to side track this thread slightly too! I have limited understanding surrounding compiling myself, thus don't know what time is required into adding something like this optimisation into a earlier build, or whether as you say, if it's generally worth it. Thanks again!

The development builds do in fact sacrifice speed for accuracy. If you use the most recent builds though (after the gfx-fixes revert and with this optimization) and on top of that use a build optimized with newer SSE instruction sets than you could possibly get speed similar (but probably still slightly slower) to 3.0.
Desktop:
OS: Windows 7 64 bit
CPU: Intel Core i5 3570K @ 4.4 GHz
GPU: EVGA NVIDIA GeForce GTX 550 Ti (Factory OC'ed)
RAM: 16 GB @ 1600 MHz
Dolphin Revision:3.0, 3.0-784, 3.5, latest 3.5
Find
Reply
10-07-2012, 05:57 AM
#9
Starscream Away
Above and Beyond
*******
Posts: 4,052
Threads: 213
Joined: Jun 2009
Games have slowed down generally because of one reason. In the process of getting the broken games working, more instructions have been added which also slows down many of the games that were already working well. Kinda like if I tell you to go to the store and I tell you that the store is straight down the road, you're going to get there faster than if I tell you to make a bunch of extra lefts and rights onto roads you don't need to use on the way there. Smile
Asus Laptop: K53TA
OS: Windows 7 Home Premium, 64-Bit - SP1
CPU: AMD Llano A6-3400M, Quad-Core, 1.4GHz-2.6GHz (Overclocked)
GPU: AMD Radeon HD6650M, 1GB GDDR3 (Catalyst 13.1)
RAM: Samsung 4GB DDR3-1333










Find
Reply
10-07-2012, 06:07 AM
#10
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,008
Threads: 24
Joined: Oct 2009
Quote:and on top of that use a build optimized with newer SSE instruction sets than you could possibly get speed similar


..........do I really need to go over why this isn't true again?
"Normally if given a choice between doing something and nothing, I’d choose to do nothing. But I would do something if it helps someone else do nothing. I’d work all night if it meant nothing got done."  
-Ron Swanson

"I shall be a good politician, even if it kills me. Or if it kills anyone else for that matter. "
-Mark Antony
Website Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode