Wouldn't that increase performance for people who have quad core processors?
Is it possible for Dolphin to support quad cores?
|
03-26-2011, 02:57 PM
(This post was last modified: 03-02-2012, 07:27 AM by NaturalViolence.)
Current threads that need lots of processing work per second:
-CPU emulator (main thread) -Video (gpu emulation frontend) -DSP (audio emulation frontend) Current threads that I know of that need very little processing work per second (there are more, I assure you): -Input #1 -Input #2 -Input #3 -Input #4 -GUI -Audio backend Normally video/dsp is one thread but with the dsplle on thread option you can put dsp lle audio emulation in it's own thread. That helps in some games depending on whether the main thread is running slower than the audio thread but causes hangs in games which use zelda ucodes (zelda and mario games). Video and audio threads can not be easily multithreaded in a way that would offer any significant speedup. Having separate threads doing work would result in no speedup if the main thread is bottlenecking the whole system (which is often) and also since in emulation all of the opCodes have to be emulated in the order they are received the threads would simply be waiting for each other to finish their work before continuing. It would effectively accomplish nothing. The CPU opCode recompiler could be multithreaded but that would be EXTREMELY difficult and unsafe. It would also have to stall/flush a lot, which would probably diminish the speedup attained from multithreading.
"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 03-27-2011, 04:31 AM
Skid has actually been working on a multithreaded jit recompiler.....but he'll probably finish it around 2015 .
"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 |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)