You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been benchmarking the decompression speed of ZSTD at various compression levels. The documentation states that the decompression speed doesn't change much with the compression level. While that is roughly the case, I was still able to find that the decompression speed decreases up till compression level 6. Beyond level 6, it increases. What is the reason for this?
The text was updated successfully, but these errors were encountered:
Thanks for your reply.
How does the compression level affect the number of sequences produced? I believe that the parameters that compression levels affect increase/decrease in a monotonic manner as we increase the compression level. What then leads to the decompression being slowest at level 5/6?
This is more complex than that, and is difficult to summarize in one sentence. libzstd produces one format, but actually consists of a collection of different algorithms, each with their own speed / ratio trade offs to occupy their slot in the curve.
One would have to look at the implementation details of each variant to understand why the nb of produced sequences differ per algorithm, and in the end, it makes sense. But it's way more complex than a simple monotonic increase.
I have been benchmarking the decompression speed of ZSTD at various compression levels. The documentation states that the decompression speed doesn't change much with the compression level. While that is roughly the case, I was still able to find that the decompression speed decreases up till compression level 6. Beyond level 6, it increases. What is the reason for this?
The text was updated successfully, but these errors were encountered: