Why are you making a PS3 emulator?
Started by mushroom




61 posts in this topic
hlide
Unregistered


 
04-23-2014, 04:17 PM -
#32
(04-23-2014, 01:51 AM)derpf Wrote:
(04-22-2014, 04:11 PM)ssshadow Wrote: and according to AlexAltea, the rpcs3 interpreter is not only horribly slow, it's even slower than what it could be.

It's not even the interpreter ATM, it's the memory manager, which is horrendously slow. Given that you can have many memory accesses per PPU instruction, it's not really a surprise that it tanks speed so much. It will be optimized in the future, though.

(The PPU interpreter just kind of sucks in general because there's a lot of spaghetti and indirection going on. It's not very cache-friendly at all, either.)

You have a memory manager which "interprets" memory access ? Tongue

I'm not sure but it seems you use a lot of dynamic polymorphism for PPU and SPU threads with virtual methods. If it is the case no wonder you get a slow interpreter. Unless you try to mix two different concepts into one : win32 thread to represent a PPU/SPU thread and PPU/SPU interpreter, I see no point in such polymorphism. Even so, you might not need that kind of polymorphism...

Try a curiously recurring template pattern (CRTP) as much as possible instead (http://en.wikipedia.org/wiki/Curiously_r...te_pattern)


Messages In This Thread
RE: Why are you making a PS3 emulator? - by mushroom - 04-03-2014, 06:30 PM
RE: Why are you making a PS3 emulator? - by mushroom - 04-03-2014, 07:42 PM
RE: Why are you making a PS3 emulator? - by skyeyes83 - 04-03-2014, 08:00 PM
RE: Why are you making a PS3 emulator? - by androidlover - 04-03-2014, 09:05 PM
RE: Why are you making a PS3 emulator? - by mushroom - 04-03-2014, 09:24 PM
RE: Why are you making a PS3 emulator? - by mr.devolver - 04-03-2014, 10:37 PM
RE: Why are you making a PS3 emulator? - by mushroom - 04-10-2014, 09:46 PM
RE: Why are you making a PS3 emulator? - by mushroom - 04-11-2014, 03:29 AM
RE: Why are you making a PS3 emulator? - by derpf - 04-11-2014, 04:34 AM
RE: Why are you making a PS3 emulator? - by mushroom - 04-14-2014, 07:18 PM
RE: Why are you making a PS3 emulator? - by hlide - 04-15-2014, 10:52 AM
RE: Why are you making a PS3 emulator? - by hlide - 04-15-2014, 12:14 PM
RE: Why are you making a PS3 emulator? - by mushroom - 04-15-2014, 09:52 PM
RE: Why are you making a PS3 emulator? - by derpf - 04-16-2014, 01:47 AM
RE: Why are you making a PS3 emulator? - by mushroom - 04-16-2014, 05:09 AM
RE: Why are you making a PS3 emulator? - by derpf - 04-16-2014, 07:19 AM
RE: Why are you making a PS3 emulator? - by Hykem - 04-16-2014, 10:04 PM
RE: Why are you making a PS3 emulator? - by mushroom - 04-19-2014, 09:21 PM
RE: Why are you making a PS3 emulator? - by derpf - 04-20-2014, 08:25 AM
RE: Why are you making a PS3 emulator? - by androidlover - 04-21-2014, 07:57 PM
RE: Why are you making a PS3 emulator? - by derpf - 04-22-2014, 04:28 AM
RE: Why are you making a PS3 emulator? - by androidlover - 04-22-2014, 03:47 PM
RE: Why are you making a PS3 emulator? - by derpf - 04-23-2014, 01:51 AM
RE: Why are you making a PS3 emulator? - by derpf - 04-23-2014, 12:11 PM
RE: Why are you making a PS3 emulator? - by hlide - 04-23-2014, 04:17 PM
RE: Why are you making a PS3 emulator? - by androidlover - 04-23-2014, 06:38 PM
RE: Why are you making a PS3 emulator? - by d875j - 04-24-2014, 07:41 AM
RE: Why are you making a PS3 emulator? - by derpf - 04-24-2014, 08:40 AM
RE: Why are you making a PS3 emulator? - by hlide - 04-24-2014, 08:42 PM
RE: Why are you making a PS3 emulator? - by derpf - 04-25-2014, 01:18 AM
RE: Why are you making a PS3 emulator? - by mushroom - 04-25-2014, 07:02 PM
RE: Why are you making a PS3 emulator? - by hlide - 04-25-2014, 07:09 PM
RE: Why are you making a PS3 emulator? - by mushroom - 04-25-2014, 08:26 PM
RE: Why are you making a PS3 emulator? - by androidlover - 04-29-2014, 06:40 PM
RE: Why are you making a PS3 emulator? - by derpf - 04-30-2014, 12:25 AM
RE: Why are you making a PS3 emulator? - by androidlover - 04-30-2014, 05:48 PM
RE: Why are you making a PS3 emulator? - by Hykem - 05-01-2014, 03:46 PM
RE: Why are you making a PS3 emulator? - by androidlover - 05-01-2014, 07:58 PM
RE: Why are you making a PS3 emulator? - by mushroom - 05-01-2014, 08:06 PM
RE: Why are you making a PS3 emulator? - by Hykem - 05-02-2014, 04:33 PM
RE: Why are you making a PS3 emulator? - by haagens - 05-02-2014, 09:27 PM
RE: Why are you making a PS3 emulator? - by androidlover - 05-02-2014, 09:38 PM
RE: Why are you making a PS3 emulator? - by mushroom - 05-03-2014, 09:49 PM
RE: Why are you making a PS3 emulator? - by derpf - 05-03-2014, 11:35 PM
RE: Why are you making a PS3 emulator? - by Hykem - 05-04-2014, 04:32 PM
RE: Why are you making a PS3 emulator? - by mushroom - 05-05-2014, 07:20 PM
RE: Why are you making a PS3 emulator? - by haagens - 05-05-2014, 07:32 PM
RE: Why are you making a PS3 emulator? - by Bigpet - 05-05-2014, 08:24 PM
RE: Why are you making a PS3 emulator? - by skyeyes83 - 05-05-2014, 09:18 PM
RE: Why are you making a PS3 emulator? - by hlide - 05-05-2014, 11:10 PM
RE: Why are you making a PS3 emulator? - by haagens - 05-05-2014, 11:30 PM
RE: Why are you making a PS3 emulator? - by haagens - 05-06-2014, 12:56 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)