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

ZSTD-22 is 30 times slower than it should be #4126

Open
aleksazr opened this issue Aug 13, 2024 · 0 comments
Open

ZSTD-22 is 30 times slower than it should be #4126

aleksazr opened this issue Aug 13, 2024 · 0 comments

Comments

@aleksazr
Copy link

I have some binary files which are essentialy identical,
but zstd on level 22 is waaay slower on some of those files:

fast0.bin : 325949144 -> 2216950 (x147.03), 16.6 MB/s, 3339.1 MB/s
fast1.bin : 277326896 -> 2180040 (x127.21), 14.9 MB/s, 3818.3 MB/s
fast2.bin : 307040492 -> 2198873 (x139.64), 16.2 MB/s, 3960.9 MB/s
slow0.bin : 216098880 -> 1765827 (x122.38), 0.54 MB/s, 4015.0 MB/s
slow1.bin : 191787756 -> 1749474 (x109.63), 0.58 MB/s, 3930.7 MB/s
slow2.bin : 162074160 -> 1709061 (x94.83), 0.65 MB/s, 3694.5 MB/s

Also, x64 version of zstd.exe might produce
Assertion failed: cSize < UINT_MAX, file benchzstd.c, line 628

All the details are here (22MB):
https://drive.google.com/file/d/150zVpIC94oyopHPzz9t5EOUmEH3aX-9F/view

oh, there is an upload here also, didn't know that...
zstd slow.zip

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

No branches or pull requests

1 participant