-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Comments
I can confirm the observed behavior on the provided files. Analysis of File Content:
Benchmark on a Local LaptopCompression Performance for
|
do you get "Assertion failed: cSize < UINT_MAX, file benchzstd.c, line 628"? |
nope, never. If this |
I got it on the first try, slow0.bin, today. I'm now using some other computer than back in August. In August it was Intel, now is AMD, both times Windows 11. |
Which version are you using ? |
The one from zstd.slow.zip (zstd64.exe) - which I got here from the ZSTDbench.bat file: |
Ok, one more suggestion. Execute this .bat file: @echo off this will open several command prompts at once, and on one of my comps this sometimes results in all of them showing the error. |
Are you monitoring your system to be sure it can sustain such a high demand ? |
Yes. It uses 1GB per proccess, so 6 GB total, and I have 20GB RAM |
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
zstd slow.zip
The text was updated successfully, but these errors were encountered: