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


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Emulator Discussion and Support › Development Discussion v
« Previous 1 ... 40 41 42 43 44 ... 117 Next »

Hyper-Threading Performance Problem [Linux]
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Hyper-Threading Performance Problem [Linux]
09-28-2014, 06:15 AM
#1
silver
Unregistered
 
Using Dolphin under linux causes massive performance problems when Hyper-Threading is activated.

I have tested latest dolphin build under (Ubuntu 14.04) with i7-4770k and enabled Hyper-Threading.

The problem here is that the Linux scheduler sometimes assign both dolphin threads to two logical CPU cores which share same physical_id.
As you can see in the attached pictures CPU2 and CPU6 (which are on the same physical core) are both at 100%.
This causes a frame rate drop of ~40% until the assignment changes.
The issue can be fixed by either forcing the task to run on cores with different physical_id or deactivating Hyper-Threading.

I tried to find out why this happens because the linux scheduler should normally be aware of SMT and should avoid those situations!?
Maybe we should let dolphin lock its threads to predefined cores to get around this problem?


Attached Files Thumbnail(s)
   
Reply
« Next Oldest | Next Newest »


Messages In This Thread
Hyper-Threading Performance Problem [Linux] - silver - 09-28-2014, 06:15 AM
RE: Hyper-Threading Performance Problem [Linux] - Shonumi - 09-28-2014, 07:01 AM
RE: Hyper-Threading Performance Problem [Linux] - Fiora - 09-28-2014, 01:47 PM
RE: Hyper-Threading Performance Problem [Linux] - silver - 09-29-2014, 02:29 AM
RE: Hyper-Threading Performance Problem [Linux] - degasus - 09-29-2014, 09:15 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 2 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode