Skip to content
Discussion options

You must be logged in to vote

Some background info on ZSTD:
Simply put: in normal ZSTD compression, zstd handles all aspects of compression. From cutting your file into blocks, compressing them and so forth.
With ZSTD on ZFS, Only the ZSTD compression function is run over the blocks that are generated by ZFS.

The compression results of those two is not 1-to-1 comparable or at least will vary significantly depending on the recordsize set in ZFS. Why? Because compression logic gets more efficient the more data it has too compress.

Due to above reasons, it's always best to compare compression algorithms through zfs. Because you can't ignore the effect of the ZFS codestack itself on compression.

It appears that zstd is m…

Replies: 12 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by behlendorf
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@PrivatePuffin
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #11293 on December 22, 2020 01:38.