So wait are you telling me this code does not set the thread affinity?
Code:
Common::SetCurrentThreadAffinity(1); // Force to first core
#if defined(_M_X64)
EMM::InstallExceptionHandler(); // Let's run under memory watch
g_video_backend->Video_Prepare();
Common::SetCurrentThreadName("FIFO-GPU thread");
}
Common::SetCurrentThreadAffinity(1); // Force to first core
g_bStarted = true;
Common::SetCurrentThreadName("Emuthread - Starting");
{
if (cpu_info.num_cores > 3) // Force to third, non-HT core
Common::SetCurrentThreadAffinity(4);
else // Force to second core
Common::SetCurrentThreadAffinity(2);
}
(01-20-2013, 02:08 PM)NaturalViolence Wrote: [ -> ]So wait are you telling me this code does not set the thread affinity?
No one said that?
Does this option set the thread affinity on startup or not?
Perhaps I'm misinterpreting someone but it seems to me like Rachel was disagreeing with that.
(01-21-2013, 05:23 AM)NaturalViolence Wrote: [ -> ]Does this option set the thread affinity on startup or not?
Perhaps I'm misinterpreting someone but it seems to me like Rachel was disagreeing with that.
Yes, LTTC sets the affinity of the important threads.
And stop being offtopic!
This thread is for posting data of LTTC vs. process affinity performance!
Um, maybe I'm missing something, but, from the discussion above, isn't LTTC doing the exact same thing as setting process affinity, just in a more user friendly way? Why would there be any performance difference when they do the same thing (outside of the few microseconds from running the setup code above)?
(01-22-2013, 08:25 AM)Kolano Wrote: [ -> ]Um, maybe I'm missing something, but, from the discussion above, isn't LTTC doing the exact same thing as setting process affinity, just in a more user friendly way? Why would there be any performance difference when they do the same thing (outside of the few microseconds from running the setup code above)?
No. They aren't the same thing.
Thread != Process.
i3 550 @ 4,07
With LTTC i have slightly more FPS than without it, although it's same as setting affinity to 1+3 "cores" (HT causes slowdown, yeah). But in other hand i need manually set affinity every time i run Dolphin, it's annoying. Is there any way to run application with custom affinity?
Create a batch file.
Code:
echo off
start /HIGH /affinity 55 "" "emulatorPATH" /e "GamePATH" /b
then change the number after /AFFINITY
Is there a way to set affinity in OS X? I tried doing some research but couldn't find much on Google. The LCTT option gave me a huge performance boost and now that it's gone in the latest dev builds, most games are unplayable for me.
I don't think it's because of lltc, more like because of glsl-master merge :-(