Dolphin, the GameCube and Wii emulator - Forums

Full Version: Questions on LLE and slowdowns
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3
Whats happening is not normal. You should gain speed when you enable "lle on thread" not lose it.
Something is wrong with your pc.
Try disabling hyperthreading in bios. Maybe thats messing with "lle on thread"
when using DSP LLE with Zelda WW, it's normal for it to slow down during battles, so that's no problem with your PC
(07-23-2012, 11:13 PM)Anti-Ultimate Wrote: [ -> ]when using DSP LLE with Zelda WW, it's normal for it to slow down during battles, so that's no problem with your PC

Great to know, thanks.

Also, @Shonumi mentioned that LLE is supposed to be CPU-intensive because of its intent to accurately mimic the behavior of the Wii/GC's DSP. If so, why does it not have more access to the CPU resources? Is it something to do with the code, or is it limited by the frequency of the memory.
If it's the latter, then Intel's processors might have problems with it without serious overclocking because of the Intel's fetish with 1066 memory frequency. Intel, simply, does not allow you to change the IOH frequency to match that of faster RAM like 1600 or 2000 unless you overclock you processor using the reference clock frequency (which will change it automatically to match the new clock frequency) and if that's the case, I think it is something to be put out there for people to know.
Well, you're using an i7, so you have 12 (for the i7 980 at least) threads available. If you're talking about Dolphin using 25% of your total CPU (e.g. that's the % you see when opening Task Manager), then that should be pretty normal. Let me explain. Dolphin is normally a dual-core app; it will dedicate 2 major threads (there are a few minor ones, input is an example), one to emulate video and one to emulate the GC/Wii CPU. The rest of your threads, and cores for that matter, won't get used either at all or not that much. So to say Dolphin is using 25% roughly means its probably using 3 of those 12 threads as best as it can. One for video, CPU, and LLE.

Dolphin can use a third core with LLE audio and LLE on Thread. LLE is is CPU intensive, but Dolphin cannot use more than 3 major threads at the moment, so it's not going to utilize your CPU to the fullest in the sense that you have 12 threads available in total.
(07-24-2012, 12:42 PM)Shonumi Wrote: [ -> ]Well, you're using an i7, so you have 8 threads available. If you're talking about Dolphin using 25% of your total CPU (e.g. that's the % you see when opening Task Manager), then that should be pretty normal. Let me explain. Dolphin is normally a dual-core app; it will dedicate 2 major threads (there are a few minor ones, input is an example), one to emulate video and one to emulate the GC/Wii CPU. The rest of your threads, and cores for that matter, won't get used either at all or not that much. So to say Dolphin is using 25% roughly means its probably using 2 of those 8 threads as best as it can.

Dolphin can use a third core with LLE audio and LLE on Thread. LLE is is CPU intensive, but Dolphin cannot use more than 3 major threads at the moment, so it's not going to utilize your CPU to the fullest in the sense that you have 8 threads available in total.

I see, so it's maxing the threads its using, hence the increase in performance due to overclocking. So, would dedicating a thread to LLE make Dolphin use a third thread? If so, then it's one heck of an intensive set of instructions, then.

Thanks, that explains a lot.

PS: My processor is running 12 threads (980)
Yeah, I ninja edited my post. My math wasn't right, so I googled and looked up how many threads your CPU has. :p If you're using LLE on thread, it should give your around 25% for total CPU utilization for the major threads, the minor threads probably add up to something noticeable, but I'm not sure what.

LLE on Thread will make it use its own thread instead of sharing one with the CPU thread. This should be faster. Just taking a guess, but do you have "Lock Threads to Cores" disabled. It's never been a problem for me, but I've heard that some people have experienced threads jumping too often between cores, which they said led to poorer performance. Try turning on "Lock Threads to Cores".

And yes, LLE is really intensive. The DSP's its own processor on GC/Wii hardware, after all.
(07-24-2012, 12:59 PM)Shonumi Wrote: [ -> ]Yeah, I ninja edited my post. My math wasn't right, so I googled and looked up how many threads your CPU has. :p If you're using LLE on thread, it should give your around 25% for total CPU utilization for the major threads, the minor threads probably add up to something noticeable, but I'm not sure what.

LLE on Thread will make it use its own thread instead of sharing one with the CPU thread. This should be faster. Just taking a guess, but do you have "Lock Threads to Cores" disabled. It's never been a problem for me, but I've heard that some people have experienced threads jumping too often between cores, which they said led to poorer performance. Try turning on "Lock Threads to Cores".

And yes, LLE is really intensive. The DSP's its own processor on GC/Wii hardware, after all.

I'll try that.
Also, do you think that Hyper-threading can cause problems? I'm not an expert here, but I it seems that other processes' thread(s) could be jumping about the cores and causing slowdowns. If so, would locking the CPU to 1 thread/core and locking threads to cores help at all? I think I will try it sometime but I'm afraid of compromised performance (which will mean that I'll need to restart my PC every time I intend to play something that has trouble with slowing down)
Dolphin won't benefit from HyperThreading but i read, that "Lock Threads To Cores" can improve the performance on CPUs with HT.
(07-24-2012, 06:31 PM)DefenderX Wrote: [ -> ]Dolphin won't benefit from HyperThreading but i read, that "Lock Threads To Cores" can improve the performance on CPUs with HT.

Not at all, unless you didn't overclock your CPU so it still uses Turbo Boost.
Anyways, it used to be the opposite some time ago. (e.g. Dolphin slowed down with Lock threads to cores enabled)
(07-24-2012, 06:31 PM)DefenderX Wrote: [ -> ]Dolphin won't benefit from HyperThreading but i read, that "Lock Threads To Cores" can improve the performance on CPUs with HT.

So would it not make a difference to disable Hyper-Threading? I don't know if what I'm saying makes sense, but I think that is I disable Hyper-Threading and then lock threads to cores it will allow entire cores to be reserved for emulation instead of them being buggered with the OS or background processes (since each core will be running 2 threads and requests might cause threads to jump around)
Pages: 1 2 3