Emulator
Started by carroacelera




79 posts in this topic
hlide
Unregistered


 
11-12-2012, 11:36 PM -
#23
(11-07-2012, 04:39 PM)montcer9012 Wrote: No, i just use the emulators and that's why i don't understand why PCSX2 gave all the work to the CPU.

The GPU have been improved a lot since a few years ago so yes, i guess it could help to don't overload the CPU with process that the GPU can handle. However, there should be a reason why emu developers don't do it; maybe it can't be used; i am not sure.

For old graphics cards GPU is too much dedicated and specific to be use as a general purpose GPU (aka GPGPU).

Keep in mind GPU is a general term to speak about a set of graphics processors working in parallel so you cannot simply decide to recompile a mono-core program into a myriad of small independent programs to run through a GPGPU due to their different nature and goal. It would be totally inefficient because of the overhead implied by calling GPU kernel functions one after one in a CPU function since it's the way a mono-core program is running. So you'd better have a dedicated thread to interpret or to execute recompiled code. Having another thread dedicated to a sound synthesizer, another thread to emulate a GPU using OpenGL/DirectX, another thread to do IO operations, etc.
Having those threads be handled by all the cores of the CPU so you make their dedicated tasks as much in parallel as possible.

The efficiency of multi-tasked program is another challenge because it is not an easy job to find the best way to run smoothly all the threads with efficient synchronization (for instance, abusing mutexes tends to be counter-productive; that is the reason why I mostly avoid them). Now try to be portable in several platforms, your will lose your hair.


Messages In This Thread
RE: Emulator - by carroacelera - 11-06-2012, 11:13 PM
RE: Emulator - by Zekro - 11-07-2012, 02:00 PM
RE: Emulator - by montcer9012 - 11-07-2012, 04:17 PM
RE: Emulator - by carroacelera - 11-07-2012, 04:33 PM
RE: Emulator - by montcer9012 - 11-07-2012, 04:39 PM
RE: Emulator - by carroacelera - 11-07-2012, 04:42 PM
RE: Emulator - by Zekro - 11-07-2012, 04:43 PM
RE: Emulator - by montcer9012 - 11-07-2012, 04:44 PM
RE: Emulator - by carroacelera - 11-07-2012, 04:49 PM
RE: Emulator - by Zekro - 11-07-2012, 04:55 PM
RE: Emulator - by carroacelera - 11-07-2012, 05:01 PM
RE: Emulator - by Zekro - 11-07-2012, 05:27 PM
RE: Emulator - by carroacelera - 11-07-2012, 05:29 PM
RE: Emulator - by montcer9012 - 11-07-2012, 05:41 PM
RE: Emulator - by Zekro - 11-07-2012, 05:43 PM
RE: Emulator - by Runo - 11-11-2012, 04:34 PM
RE: Emulator - by montcer9012 - 11-11-2012, 05:01 PM
RE: Emulator - by Zekro - 11-11-2012, 05:11 PM
RE: Emulator - by Runo - 11-11-2012, 05:59 PM
RE: Emulator - by Zekro - 11-11-2012, 06:22 PM
RE: Emulator - by montcer9012 - 11-11-2012, 06:46 PM
RE: Emulator - by Runo - 11-12-2012, 04:29 AM
RE: Emulator - by hlide - 11-12-2012, 11:36 PM
RE: Emulator - by Runo - 11-13-2012, 12:45 AM
RE: Emulator - by montcer9012 - 11-13-2012, 01:40 AM
RE: Emulator - by hlide - 11-13-2012, 01:45 AM
RE: Emulator - by Runo - 11-13-2012, 10:29 AM
RE: Emulator - by hlide - 11-13-2012, 02:02 PM
RE: Emulator - by Runo - 11-13-2012, 03:07 PM
RE: Emulator - by gid15 - 11-13-2012, 05:17 PM
RE: Emulator - by hlide - 11-13-2012, 09:41 PM
RE: Emulator - by Runo - 11-13-2012, 11:49 PM
RE: Emulator - by Gundark - 11-22-2012, 04:38 PM
RE: Emulator - by Zekro - 11-22-2012, 04:40 PM
RE: Emulator - by Gundark - 11-22-2012, 07:36 PM
RE: Emulator - by Zekro - 11-22-2012, 07:52 PM
RE: Emulator - by Gundark - 11-22-2012, 09:57 PM
RE: Emulator - by Runo - 11-23-2012, 03:52 AM
RE: Emulator - by Gundark - 11-23-2012, 06:18 AM
RE: Emulator - by shin x - 11-23-2012, 09:23 AM
RE: Emulator - by montcer9012 - 11-24-2012, 02:11 AM
RE: Emulator - by Gundark - 11-24-2012, 06:54 AM
RE: Emulator - by shin x - 11-24-2012, 05:05 PM
RE: Emulator - by BlackDaemon - 11-24-2012, 07:57 PM
RE: Emulator - by shin x - 11-24-2012, 08:59 PM
RE: Emulator - by Zekro - 11-24-2012, 09:05 PM
RE: Emulator - by montcer9012 - 11-24-2012, 09:27 PM
RE: Emulator - by shin x - 11-24-2012, 09:55 PM
RE: Emulator - by Runo - 11-25-2012, 12:12 PM
RE: Emulator - by BlackDaemon - 11-25-2012, 12:55 PM
RE: Emulator - by Zekro - 11-25-2012, 01:15 PM
RE: Emulator - by shin x - 11-25-2012, 03:44 PM
RE: Emulator - by Zekro - 11-25-2012, 03:53 PM
RE: Emulator - by shin x - 11-25-2012, 04:30 PM
RE: Emulator - by Zekro - 11-25-2012, 04:39 PM
RE: Emulator - by shin x - 11-25-2012, 04:47 PM
RE: Emulator - by Gundark - 11-25-2012, 05:41 PM
RE: Emulator - by Zekro - 11-25-2012, 05:49 PM
RE: Emulator - by BlackDaemon - 11-25-2012, 05:50 PM
RE: Emulator - by Gundark - 11-25-2012, 06:25 PM
RE: Emulator - by Zekro - 11-25-2012, 06:31 PM
RE: Emulator - by montcer9012 - 11-25-2012, 07:55 PM
RE: Emulator - by shin x - 11-26-2012, 12:53 PM
RE: Emulator - by hlide - 11-26-2012, 04:26 PM
RE: Emulator - by shin x - 11-26-2012, 07:08 PM
RE: Emulator - by Gundark - 11-26-2012, 09:53 PM
RE: Emulator - by montcer9012 - 11-26-2012, 09:56 PM
RE: Emulator - by hlide - 11-27-2012, 02:32 AM
RE: Emulator - by shin x - 11-27-2012, 03:31 PM
RE: Emulator - by Runo - 11-27-2012, 11:02 PM
RE: Emulator - by shin x - 11-28-2012, 12:58 PM
RE: Emulator - by Gundark - 11-29-2012, 01:03 AM
RE: Emulator - by Runo - 11-29-2012, 10:31 AM
RE: Emulator - by shin x - 11-29-2012, 01:08 PM
RE: Emulator - by Gundark - 11-29-2012, 01:49 PM
RE: Emulator - by hlide - 11-29-2012, 09:32 PM
RE: Emulator - by Ekaseo - 11-29-2012, 10:02 PM
RE: Emulator - by Runo - 11-30-2012, 12:12 AM
RE: Emulator - by Zekro - 11-30-2012, 10:52 AM
RE: Emulator - by Gundark - 12-01-2012, 07:18 AM

Forum Jump:


Users browsing this thread: 4 Guest(s)