zfs/man/man7
George Melikov 522f2629c8 zio_compress: introduce max size threshold
Now default compression is lz4, which can stop
compression process by itself on incompressible data.
If there are additional size checks -
we will only make our compressratio worse.

New usable compression thresholds are:
- less than BPE_PAYLOAD_SIZE (embedded_data feature);
- at least one saved sector.

Old 12.5% threshold is left to minimize affect
on existing user expectations of CPU utilization.

If data wasn't compressed - it will be saved as
ZIO_COMPRESS_OFF, so if we really need to recompress
data without ashift info and check anything -
we can just compress it with zero threshold.
So, we don't need a new feature flag here!

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tony Hutter <hutter2@llnl.gov>
Reviewed-by: Alexander Motin <mav@FreeBSD.org>
Signed-off-by: George Melikov <mail@gmelikov.ru>
Closes #9416
2024-09-19 17:23:58 -07:00
..
dracut.zfs.7 one-word manpage correction: snapshot->rollback (#16294) 2024-07-12 16:27:12 -07:00
vdevprops.7 Add some missing vdev properties (#16346) 2024-07-23 16:34:09 -07:00
zfsconcepts.7 zfsconcepts: add description of block cloning 2023-10-06 09:06:29 -07:00
zfsprops.7 zio_compress: introduce max size threshold 2024-09-19 17:23:58 -07:00
zpool-features.7 ddt: add FDT feature and support for legacy and new on-disk formats 2024-08-16 11:58:59 -07:00
zpoolconcepts.7 Add slow disk diagnosis to ZED 2024-02-08 09:19:52 -08:00
zpoolprops.7 zpoolprops.7: Fix max length of name of user property 2024-08-08 15:23:33 -07:00