• 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 ... 1004 1005 1006 1007 1008 ... 1197 Next »

Multi-Core Performance speedup with(out) hyperthreading
View New Posts | View Today's Posts

Pages (2): 1 2 Next »
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
Multi-Core Performance speedup with(out) hyperthreading
05-21-2010, 08:58 AM
#1
Nightdweller
Unregistered
 
Hi,

i am new around here, so someone else may have posted this somewhere else.
Anyhow - i thought it might save some people time and frustration.

I have an I7 920 quad core machine with hyperthreading turned on, and an nvidia gtx 275.

I tried various configuration settings until i learned that the directx plugin worked considerable better then the open-gl version, but i wasn't getting good framerates, i tried my sports resort and i was getting something like 30 fraps on the table tennis.

After getting no where for a while i tried running it on my girlfriends mobile, and even though its has a far inferior processor and graphics card - it worked faster!

I played around with the settings and then i noticed that every now and then i get much improved performance, and then slow again - regardless of the settings i changed.

On a hunch i set the emulator affinity int task manager to core 0 and core 2 (core 1 is really the hyperthreading core 0) and things started working much faster.

So, went to the bios, turned off hyperthreading and now everything is fast all the time.

I also did some additional settings with the "lock threads to cores" option, on my machine it is slower and task manager shows activity on all four cores. on dual core machines i tried - locking is faster.

btw: turning off hyperthreading is strictly faster then any other config i tested, looks like the emulator behaves better when all the cores are real ones.
Reply
05-21-2010, 10:50 AM
#2
iwantzelda Offline
Junior Member
**
Posts: 6
Threads: 1
Joined: Jul 2009
Hey.

I have an i7 920 and a gtx 295. Can you advise me in non-technical terms how to maximise the speed? Currently on Super Mario Galaxy I only get 30FPS on average which is 50% speed which surprised me given that I thought my machine was powerful.
Find
Reply
05-21-2010, 11:15 AM
#3
Nightdweller
Unregistered
 
(05-21-2010, 10:50 AM)iwantzelda Wrote: Hey.

I have an i7 920 and a gtx 295. Can you advise me in non-technical terms how to maximise the speed? Currently on Super Mario Galaxy I only get 30FPS on average which is 50% speed which surprised me given that I thought my machine was powerful.

well, your question is a technical one, i am pretty sure it only has a technical answer....what do you want to know?
Reply
05-21-2010, 12:00 PM
#4
NaturalViolence Offline
It's not that I hate people, I just hate stupid people
*******
Posts: 9,013
Threads: 24
Joined: Oct 2009
This is already a well known issue. Anyone with a processor with HT whether it's an i7/i5/i3 or a P4 needs to turn it off or they'll only get half of their potential speed. This isn't always true depending on the build and setup but for most people it's true.
"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
05-21-2010, 12:19 PM
#5
achaw Offline
Googler
***
Posts: 172
Threads: 7
Joined: Apr 2010
Try turning off with latest build and slow down worst....i have an i3 540 procesor...
OS: Windows 7 x64
CPU: i5 2500k @ 4 Ghz
RAM: 4GB Gskill Pi Black DDR3 1600mhz
GPU: Zotac 750ti 2GB
HARD DRIVE: Samsung SpinPoint F3 1TB + Caviar Green 2TB
CONTROLLERS: 2 Wiimote (Motion Plus Integrated) / 2 Nunchuks
Find
Reply
05-21-2010, 06:49 PM
#6
iwantzelda Offline
Junior Member
**
Posts: 6
Threads: 1
Joined: Jul 2009
(05-21-2010, 11:15 AM)Nightdweller Wrote: well, your question is a technical one, i am pretty sure it only has a technical answer....what do you want to know?
What does: 'emulator affinity int task manager to core 0 and core 2' mean?

Also, what is your overal conclusion? Simply turn off hyperthreading in the BIOS? Or do I have to do this emulator affinity stuff/other things?

I don't know much about computers. Undecided

Thanks. Heart
Find
Reply
05-21-2010, 09:02 PM
#7
Nightdweller
Unregistered
 
(05-21-2010, 06:49 PM)iwantzelda Wrote:
(05-21-2010, 11:15 AM)Nightdweller Wrote: well, your question is a technical one, i am pretty sure it only has a technical answer....what do you want to know?
What does: 'emulator affinity int task manager to core 0 and core 2' mean?

Also, what is your overal conclusion? Simply turn off hyperthreading in the BIOS? Or do I have to do this emulator affinity stuff/other things?

I don't know much about computers. Undecided

Thanks. Heart


hi,
Well, yes - you should turn off hyperthreading in the bios if you want to get better performance. it's a fairly safe thing to do as long as you don't touch anything else while you're in the bios.

you'll have to look for specific instructions for your specific board/bios on how to turn off hyperthreading (or you could look around the menus and try to find "hyperthreading" Smile
it usually around menus that have to do with the processor.

as for setting affinity, if you're using windows 7/vista (and maybe xp - not sure) you can open task manager, right click on dolphin process in the process list, click set affinity and select cores 0 and 2, it's basically the same as turning off hyperthreading, but you'd have to do it again every time you start the emulator.
Reply
05-21-2010, 09:24 PM
#8
Ocean Offline
Senior Member
*******
Posts: 1,209
Threads: 39
Joined: Jan 2010
Only enabling affinity for cores is tedious because it doesn't stick. It's much easier to go in bios, select advanced options, then select hyperthreading and disable it. HT will have no advantage in dolphin and your 920 can run it at full speed without it. During present time there is no need for more than 2 or 3 cores/threads utilized (1 dsp processor, 1 video, 1 for windows/linux/osx background processes).

Even a good dual core, like core 2 duo/core i3 will run dolphin full speed with adequate gpu, if you have i3 you don't need hyperthreading enabled either.
[Image: 1678862.png]
[Image: 2qbcgw2.jpg]
Find
Reply
05-22-2010, 06:46 AM
#9
ashir
Unregistered
 
(05-21-2010, 09:24 PM)Ocean Wrote: Only enabling affinity for cores is tedious because it doesn't stick.

In fact it is possible thanks to a wonderful program called Core Affinity Resident.

You just ajust the program core affinity and every time you launch that program Core Affinity Resodent will auto ajust the core affinity, so you don't have to do it manually...

http://coreaffinity.megabyet.net/coreaffinity.htm
Reply
07-11-2010, 04:51 PM
#10
DiscoPants Offline
Junior Member
**
Posts: 16
Threads: 5
Joined: Jul 2010
How i dont have that menue on my dolphin emulator... how do u turn it off
Find
Reply
« Next Oldest | Next Newest »
Pages (2): 1 2 Next »


  • 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