With this change, we measured up to a 24% reduction in CPU use or power consumption, depending on the limiting factor. The new free resources mean better performance for low core count CPUs such as quad cores, and for systems with limited power budgets such as laptops and handhelds. This allows yuzu to wait for 16.5ms and only spin the remaining 0.17ms, which is four times shorter than the previous default method.īy implementing these new functions, Morph reduced the time the CPU spends in a spinlock, resulting in reduced CPU usage for timing-heavy games like Kirby Forgor □… Kirby and the Forgotten Land, and Super Smash Bros. The Windows 10 SDK has new undocumented functions, NtSetTimerResolution and NtDelayExecution, which allow improving timer resolution down to 0.5ms. Here comes the benefit of removing support for Windows 7 and 8/8.1. The alternative, and old method in use for Windows, is to wait for 16ms and do a busy wait for 0.67ms.ĭuring that 0.67ms, the CPU thread isn’t doing anything and consumes power without actually working. If a game wants to run at a frametime of 16.67ms (60 FPS), you could wait for 17ms two-thirds of the time and 16ms for the remaining one-third, but this has already proved in the past to be terrible for audio accuracy. However, devices running Linux, BSD, and MacOS don’t face this limitation and can achieve μs (microsecond) levels of precision. However, some of these events, like audio, require a high level of timer precision to behave the way games expect, more than Windows would usually allow.īy default, Windows only allows a precision of 1ms since the OS event loop runs at 1000Hz. This requires some backtracking so let’s rewind a little bit.īack in July, we explained how CoreTiming operates in its current form, using a host timer.Ī thread called HostTiming is used to process HLE events such as input and audio. One of the biggest changes this month is the set of improvements in CPU accuracy. Hi yuz-ers! We’ve been working hard as usual, and this March saw improvements in performance, graphics, audio, CPU precision, input, and much more! Making CPUs go the opposite of BRRRR
0 Comments
Leave a Reply. |