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

chdman compression is worse with larger hunk size #7135

Closed
whocares0101 opened this issue Aug 24, 2020 · 3 comments
Closed

chdman compression is worse with larger hunk size #7135

whocares0101 opened this issue Aug 24, 2020 · 3 comments
Labels

Comments

@whocares0101
Copy link

1Xtreme (USA)
http://redump.org/disc/15241/

Using mame0223b_64bit on windows 10.
chdman.exe createcd -np 12 -hs 195840

default, 19584
301 MiB

39168
338 MiB

195840
339 MiB

As the numbers show, for this game the compression gets worse with a larger hunk size.
Shouldn't it at least stay about the same size if it's not better compressible?
Just for reference 7z can crush this to 150 MiB so there should still be room for improvement with a larger hunk size.

@ghost
Copy link

ghost commented Aug 25, 2020

CHD is designed to be streamable and quick to decompress, larger hunk size defeats the purpose and will introduce stutter.

Also CHD does some basic duplicate hunk checks, if you increase the size you're less likely to hvae small duplicate hunks, which is probably why compression gets worse.

@angelosa
Copy link
Member

@davidhaywood I'm gonna presume that this is a non-issue -> closing with a yes.

@ghost
Copy link

ghost commented Jan 28, 2021

yes, it's a non-issue, expected behavior

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

No branches or pull requests

2 participants