mirror of https://github.com/PCSX2/pcsx2.git
VMManager: Increase software thread count on multicore (4+) CPUs
3 is a nice compromise if you have 4 core or more but for some games higher numbers like 8 or even higher would work, however for a lot of games it would perhaps even reduce the performance compared to 3 software rendering threads or in more likelihood have diminishing returns. Keep in mind that this is just a general situation, in actual use it might be less extra performance (if at all) as you have expected.
This commit is contained in:
parent
d28b2fa057
commit
fa75006ca9
|
@ -2120,14 +2120,18 @@ static void SetMTVUAndAffinityControlDefault(SettingsInterface& si)
|
|||
|
||||
if (big_cores >= 3)
|
||||
{
|
||||
Console.WriteLn(" So enabling MTVU.");
|
||||
Console.WriteLn(" Enabling MTVU.");
|
||||
si.SetBoolValue("EmuCore/Speedhacks", "vuThread", true);
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLn(" So disabling MTVU.");
|
||||
Console.WriteLn(" Disabling MTVU.");
|
||||
si.SetBoolValue("EmuCore/Speedhacks", "vuThread", false);
|
||||
}
|
||||
|
||||
const int extra_threads = (big_cores > 3) ? 3 : 2;
|
||||
Console.WriteLn(" Setting Extra Software Rendering Threads to %d.", extra_threads);
|
||||
si.SetIntValue("EmuCore/GS", "extrathreads", extra_threads);
|
||||
}
|
||||
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue