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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Support v
« Previous 1 ... 804 805 806 807 808 ... 1127 Next »

Dolphin...cores
View New Posts | View Today's Posts

Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Dolphin...cores
03-30-2011, 01:20 AM
#1
Baltzatu Offline
Ah-le-le!
***
Posts: 80
Threads: 7
Joined: Feb 2011
Will Dolphin ever use more than 2 cores? If no, why?
"When you have eliminated the impossible, whatever remains, however improbable, must be the truth." - Sherlock Holmes
Find
Reply
03-30-2011, 02:26 AM
#2
silveruniverse Offline
Spiteful
****
Posts: 557
Threads: 7
Joined: Sep 2009
(03-26-2011, 02:57 PM)NaturalViolence Wrote: 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 (their 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.


We cool?
SilverUniverse on deviantART
[Image: sig.png]
Find
Reply
03-30-2011, 02:48 AM
#3
Baltzatu Offline
Ah-le-le!
***
Posts: 80
Threads: 7
Joined: Feb 2011
Thanks for your reply, I haven't seen that post. Ya, we cool. Big Grin
"When you have eliminated the impossible, whatever remains, however improbable, must be the truth." - Sherlock Holmes
Find
Reply
03-30-2011, 04:32 AM
#4
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,009
Threads: 24
Joined: Oct 2009
Thank god I didn't need to dig up that post. Thank you silveruniverse.
"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
03-30-2011, 05:55 AM
#5
neobrain Offline
"Wow, I made my code 1000x faster! That means I can make it 2048x slower now!"
**********
Developers (Some Administrators and Super Moderators)
Posts: 3,209
Threads: 50
Joined: Jun 2009
(03-30-2011, 04:32 AM)NaturalViolence Wrote: Thank god I didn't need to dig up that post. Thank you silveruniverse.

Meh, gotta put my list of usefull explanations online somewhere... I had already included that answer of yours in that list Tongue
My blog
Me on Twitter
My wishlist on Amazon.de
Find
Reply
03-30-2011, 06:32 AM (This post was last modified: 03-30-2011, 06:33 AM by NaturalViolence.)
#6
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,009
Threads: 24
Joined: Oct 2009
Quote:Meh, gotta put my list of usefull explanations online somewhere... I had already included that answer of yours in that list Tongue

We need to do an "Ask me anything" thread and put the good ones on the main site as a Q/A. But I have to be allowed the right to refuse excessively stupid questions Tongue

If I don't know I can always ask you or skid and translate it into non-dev language.
"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
03-30-2011, 09:18 AM
#7
ExtremeDude2 Offline
Gotta post fast
*******
Posts: 8,963
Threads: 274
Joined: Dec 2010
(03-30-2011, 01:20 AM)Baltzatu Wrote: Will Dolphin ever use more than 2 cores? If no, why?

Dolphin can use 3 cores

(03-30-2011, 06:32 AM)NaturalViolence Wrote:
Quote:Meh, gotta put my list of usefull explanations online somewhere... I had already included that answer of yours in that list Tongue

We need to do an "Ask me anything" thread and put the good ones on the main site as a Q/A. But I have to be allowed the right to refuse excessively stupid questions Tongue

If I don't know I can always ask you or skid and translate it into non-dev language.

ANYTHING?
Check out my videos (dead)
[Image: sig-22354.png]
Website Find
Reply
03-30-2011, 02:54 PM (This post was last modified: 03-30-2011, 02:55 PM by NaturalViolence.)
#8
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,009
Threads: 24
Joined: Oct 2009
Quote:Dolphin can use 3 cores

Already explained in my long explanation that silveruniverse quoted.

Quote:ANYTHING?

Sure go ahead. I can at least try.

Anything you're curious about or don't understand what it does/how it works?
"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 »


  • 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