除了压缩方式可以从lz4改成zstd,楼主的方案基本没什么可优化的地方了。楼主的方案过设计了,zfs其实最...
I am using a single 17 GB file that I'm copying from an ext4 SSD onto a raidz-1 hdd array of 4 disks. The command I'm running isrsync --info=progress2 test_file <destination>(can rerun withfioif that's preferred). Baseline: SSD -> SSD # rsync --info=progress2 test_file test...
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 ...
ZFS compression operates in recordsize'd chunks (i.e. between 4KiB and 1MiB with ashift=12). Personally I think it's a good idea to set LZ4 as the default compression for the entire pool and then adjust on a per-dataset basis where needed. LZ4 is very cheap on CPU performance...
如果实测LZ4比ZSTD还好的话,那肯定用LZ4了,虽然这个结果和我测得不一样。是否支持多线程取决于Truenas...