Question for #Garage #zfs #sysadmin #FreeBSD #MastoAdmin peeps: Our S3 MinIO rep...

@thedarktangent@defcon.social

Question for #Garage #zfs #sysadmin #FreeBSD #MastoAdmin peeps:

Our S3 MinIO replacement for #Mastodon is Garage. We can set a block size (default is 1M) that is much closer to average file size, let’s say we set it to 32k.

We can either add compression in Garage (the default) or at ZFS.

Questions:
- Which is better for compression? Garage managing the compression before writing the 32k blocks, or ZFS compressing the 32k block down to something else?

- Is there anything to tune on ZFS like setting g recordsize=32k to match block size?

Searching is not revealing anything useful. 🙏