dolphin/Source
Ryan Houdek d58bba2160 Idle loop in GPU loop on dual core systems.
Previously we had decided to busy loop on systems due to Windows' scheduler being terrible and moving us around CPU cores when we yielded.
Along with context switching being a hot spot.
We had decided to busy loop in these situations instead, which allows us greater CPU performance on the video thread.
This can be attributed to multiple things, CPU not downclocking while busy looping, context switches happening less often, yielding taking more time
than a busy loop, etc.

One thing we had considered when moving over to a busy loop is the issues that dual core systems would now face due to Dolphin eating all of their CPU
resources. Effectively we are starving a dual core system of any time to do anything else due to the CPU thread always being pinned at 100% and then
the GPU thread also always at 100% just spinning around. We noted the potential for a performance regression, but dismissed it as most computers are
now becoming quad core or higher.

This change in particular has performance advantages on the dual core Nvidia Denver due to its architecture being nonstandard. If both CPU cores are
maxed out, the CPU can't effectively take any idle time to recompile host code blocks to its native VLIW architecture.
It can still do so, but it does less frequently which results in performance issues in Dolphin due to most code just running through the in-order
instruction decoder instead of the native VLIW architecture.
In one particular example, yielding moves the performance from 35-40FPS to 50-55FPS. So it is far more noticeable on Denver than any other system.
Of course once a triple or quad core Denver system comes out this will no longer be an issue on this architecture since it'll have a free core to do
all of this work.
2014-12-07 05:36:44 +00:00
..
Android Merge pull request #1625 from unknownbrackets/android-minor 2014-12-01 02:54:31 -05:00
Core Idle loop in GPU loop on dual core systems. 2014-12-07 05:36:44 +00:00
DSPSpy Fixed issue with DSP Dump not closing files. 2014-06-23 13:08:43 -07:00
DSPTool msvc: remove some remnants of SDL and DSound from projects and general cleanup. 2014-09-01 21:27:44 -07:00
PCH Windows: Use a shared precompiled header for dolphin code under Source/ 2014-08-14 23:51:13 -07:00
UnitTests UnitTests: add tests for bitwise AVX instructions 2014-12-06 22:28:03 +01:00
VSProps Port dolphin to SFML 2.1 2014-11-25 16:44:38 +00:00
.clang-format UseTab: ForIndentation 2014-05-26 21:28:59 -07:00
CMakeLists.txt Windows: Use a shared precompiled header for dolphin code under Source/ 2014-08-14 23:51:13 -07:00
dolphin-emu.sln Merge pull request #1085 from waddlesplash/refactoring 2014-10-05 21:25:44 -04:00