Update comments.
This commit is contained in:
parent
33e839261b
commit
c0b808b793
|
@ -14,7 +14,8 @@ echo “options zfs zfs_txg_timeout=30” > /etc/modprobe.d/zfs.conf # Set txg_t
|
|||
zfs set atime=off rpool # Turn off atime.
|
||||
zfs set logbias=throughput rpool # Change logbias to throughput.
|
||||
zfs set compression=lz4 rpool # Set compression to lz4 instead of the older LZJB.
|
||||
zfs set recordsize=16K rpool
|
||||
zfs set recordsize=16K rpool # This works better with lots of little writes, and seems to be recommended for VMs on SSDs unless your workload is many large writes.
|
||||
|
||||
# ZFS seems to recommend smaller recordsizes for VMs if you're running on SSDs in general depending on the workload:
|
||||
# https://openzfs.github.io/openzfs-docs/Performance%20and%20Tuning/Workload%20Tuning.html#virtual-machines
|
||||
# https://openzfs.github.io/openzfs-docs/Performance%20and%20Tuning/Workload%20Tuning.html#zvol-volblocksize
|
||||
|
|
Loading…
Reference in New Issue