如果实测LZ4比ZSTD还好的话,那肯定用LZ4了,虽然这个结果和我测得不一样。是否支持多线程取决于Truenas带的软件二进制包,现在lz4和zstd都支持多线程的。比如我现在用的centos 8 stream版本自带的是v1.8.3,当启用压缩时候,zfs会调用它,但至于用不用多线程,zfs的代码说了算,要么给用户一个设置选
zstdA new compression algorithm from the creator of lz4. Zstd offers better compression, but slower than lz4 The recommended setting for compression is currentlylz4, which is the default method chosen when compression is set toon. However, we recommend specifying the setting so it's clear which ...
feature@lz4_compress active local datastore feature@multi_vdev_crash_dump enabled local datastore feature@spacemap_histogram active local datastore feature@enabled_txg active local datastore feature@hole_birth active local datastore feature@extensible_dataset active local datastore feature@embedded_data ...
While the dataset on ext4 consumed 191GB, the lz4 compression of ZFS yielded a dataset of only 69GB. That’s a huge difference, a factor of 2.8, which could save a decent amount of money over time for large datasets. Conclusion It appears that it was indeed a good time to revisit ...
it doesn't seem to do much. I'm getting a compressratio of only 1.01 using either zstd or lz4 on most of my datasets. If you know you're going to have places that are going to benefit from compression, use it there, but I'm tempted to turn it off for a lot of my stuff (med...
然后,zfs发送-R -p将以预期的方式进行操作。您的情况需要一个上游特性,通常只有单个快照需要递归发送...
feature@lz4_compress active local zpooldemo feature@multi_vdev_crash_dump enabled local zpooldemo feature@spacemap_histogram active local zpooldemo feature@enabled_txg active local zpooldemo feature@hole_birth active local zpooldemo feature@extensible_dataset active local zpooldemo feature@embedded_data ...
zfs create -s -V 100G -o compression=lz4 rpool/zvols/ubuntu-23.10 Install ubuntu in the zvol using virt-manager. Reboot the vm and watch it failing to boot: Using raw images instead leads to a perfectly bootable system. Include any warning/errors/backtraces from the system logs ...
除了压缩方式可以从lz4改成zstd,楼主的方案基本没什么可优化的地方了。楼主的方案过设计了,zfs其实最...
lz4_zfs.c lzjb.c metaslab.c mmp.c multilist.c objlist.c pathname.c range_tree.c refcount.c rrwlock.c sa.c sha2_zfs.c skein_zfs.c spa.c spa_checkpoint.c spa_config.c spa_errlog.c spa_history.c spa_log_spacemap.c spa_misc.c spa_stats.c space_map.c space_reftree...