Yuzu, the Nintendo Switch Emulator, Just Got Updated to Use 50% Less RAM

Apr 11, 2020 at 06:35am EDT
Yuzu

Yuzu, the Nintendo Switch emulator on PC, continues to be developed at neckbreaking pace. The latest improvement revealed only a few hours ago promises to essentially cut the emulator's RAM usage in half, thanks to a complete rewrite of yuzu's memory management code.

This was accomplished by rewriting yuzu’s Virtual Memory Manager (VMM), the software component that allocates, maps, and frees memory that Switch games use. This is a part of the emulator that uses High Level Emulation (HLE) to replicate functionality of the Switch’s "Horizon" Operating System. Previously, yuzu used a rather simplified approach to the VMM, based on Citra 3DS Emulator. Citra’s approach has served us well in getting the emulator working, but it was really designed for a much simpler system that did not scale to the needs of Switch.

In short, this old implementation would arbitrarily allocate and map host (your PC) memory on the fly, without respecting the guest (Nintendo Switch) memory layout. This could result in run-away host memory allocations that were never actually possible on a real Switch.

With the new VMM implementation, we now more accurately implement and respect Switch’s memory layout. As a result, emulation should in general not exceed Switch’s 4GB of dedicated RAM, with the exception of games that eat memory for other purposes (for example, GPU, audio, and OS emulation may still push the emulator beyond this). That being said, you may now expect games to use 2GB to 4GB of RAM on average, rather than double that!

The developers of Yuzu also shared some impressive benchmarks, as you can see below.

Related Story Yuzu Switch PC Emulator Now Runs Super Mario Odyssey and Pokemon Let’s Go in 60FPS; Link’s Awakening Bootable

This update is already live on the early access build, which is accessible by pledging at least $5 per month on Patreon.

Additionally, the creators of Yuzu teased that another big emulator improvement tied to the new virtual memory management (VMM) could materialize soon. We'll let you know when it does.

About the author: With over two decades of experience in gaming journalism, Alessio Palumbo has led the gaming vertical at Wccftech since August 2015. He started working at a young age for Italian websites like Everyeye.it, Gamestar.it, Nextgame.it, and Multiplayer.it before kickstarting the indie English-language publication Worlds Factory as its founder and Editor in Chief. In the last decade, he has coordinated the overall output of Wccftech's gaming section, managed PR relations, assigned reviews, produced daily news coverage, edited gaming content as needed, and delivered game reviews. Arguably, his trademark content is the long series of exclusive developer interviews that have been cited by Wikipedia and by the biggest news media and gaming publications. His passion for technology also makes him knowledgeable when it comes to gaming hardware and tech. His favorite genres include RPGs, MMORPGs, and action/adventure games.

Follow Wccftech on Google to get more of our news coverage in your feeds.