Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CHD: Fix unnecessary reloads of "hunks" during large reads #18931

Merged
merged 2 commits into from
Mar 16, 2024

Conversation

hrydgard
Copy link
Owner

@hrydgard hrydgard commented Mar 16, 2024

This fixes the worst performance problem of using large hunk sizes with CHDs in PPSSPP.

It seems that with this, performance is good enough that we can remove the warning for bad CHDs, but I still recommend 2048-byte hunk size and will continue to do so in the website instructions.

Fixes #18925

@hrydgard hrydgard added this to the v1.18.0 milestone Mar 16, 2024
@LunaMoo
Copy link
Collaborator

LunaMoo commented Mar 16, 2024

They say it's about file size, but it really differs a lot between games and in most cases 2048 produces smaller size, so the argument is just silly.

@hrydgard hrydgard merged commit 3d2a0b9 into master Mar 16, 2024
18 checks passed
@hrydgard hrydgard deleted the chd-hunk-size-fix branch March 16, 2024 21:01
@hrydgard
Copy link
Owner Author

Well, either way, we had a bug, so fixing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PPSSPP warns about bad performant CHD while using ZSTD
2 participants