Add Jit Cache Regions! #615
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Instead of one big 2048MB JIT Cache that'd crash the emulator when maxed out, we now have it where we add 256MB JIT Cache regions when needed, helping reduce allocated memory where games don't use the JIT cache for it, and helping bigger games that DO need JIT cache bigger than 2048MB!
(SSBU goes past the 2048MB JIT Cache limit that would normally crash Ryujinx ^)
Also I added a BSD socket that Baba is You's networking for downloading custom levels uses.
Download the artifacts for this pull request:
Only for Developers
I'd be interested in seeing if this has any performance impact.
I'll do some testing in TotK later.
I think you should make regions size editable from ui. A bigger size would make less allocation operations hence less disk resources usage.
it doesn't impact disk at all, it's all in ram
@MrCuriowls As LotP1 said, this is the ram cache that slowly gets filled by a game running different/new functions.
@LotP1 As for performance... Maybe a very tiny difference due to it having to look through a smaller area of RAM for cached functions... But this change mainly just reduces ram usage.
I even tried for fun 512kb region sizes. I got up to 1436 regions in Smash but no performance drops or lag when making the new regions :P
I hope these commits fixes Mario & Luigi Brothership Crash
@MrCuriowls this is unrelated to the brothership crash
Please stop with the copium, if the game was being fixed the PR description would say it, all you're doing is giving people false hope so they can say "I thought brothership was fixed" when they find out it's still as broken as it was before.