• 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 ... 302 303 304 305 306 ... 1175 Next »

Dolphin Works better with physical cores than Virtual cores?
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Dolphin Works better with physical cores than Virtual cores?
06-02-2017, 12:25 AM
#1
matheusstaffa Offline
Trying to keep calm
***
Posts: 223
Threads: 25
Joined: Nov 2016
I was testing CEMU recently and saw in their forums that using afinity with physical cores only, would improve emulation speed and it really does.
I'm want to know if that happens on Dolphin too.
Thanks for the help!
My specs:
Operating System: Windows 10 x64
Processor/CPU: intel I7 3770 3.4 Ghz
Video Card/GPU: Nvidia GeForce 1060 6GB
Memory/RAM: 16 GB
Dolphin Revision Currently Using: 5.0-xxxx X64 (always the latest) and the latest Ishiiruka for custom textures.

I'm still learning english. Please, be patient with me. And, if i make a mistake, please correct me, i will learn a lot this way!  Big Grin
Find
Reply
06-02-2017, 02:20 AM
#2
AnyOldName3 Offline
First Random post over 9000
*******
Posts: 3,506
Threads: 1
Joined: Feb 2012
It's not exactly that setting affinity to physical cores makes things go faster (as you can't actually do that, anyway), but instead that because certain pairs of virtual cores share a physical core. If you know that virtual cores 0 and 1 are on the same physical core, and 2 and 3 are on another, and 4 and 5 are on a third core etc. then you can guarantee that you aren't putting two threads on the same physical core if you set their affinity to odd numbers only, for example. For some workloads, this isn't necessary (for example if most of the work done is actually just waiting for memory accesses, a second thread can slip into the empty CPU cycles that would otherwise be wasted, or on a good super-scalar CPU there are enough ALUs to go round) but when both threads want the same resources at the same time, they'll be slower when assigned to the same physical core.
OS: Windows 10 64 bit Professional
CPU: AMD Ryzen 5900X
RAM: 16GB
GPU: Radeon Vega 56
Find
Reply
06-02-2017, 02:57 AM
#3
Helios Offline
Stellaaaaaaa
**********
Developers (Some Administrators and Super Moderators)
Posts: 4,395
Threads: 15
Joined: May 2012
I wouldn't worry about this.

Modern OSes are usually very good about thread scheduling. In my testing on Linux and KVM'd Windows with various thread pinning configs, Dolphin doesn't really see much of a performance boost.
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