diff --git a/Proxmox/reduce-ssd-writes.sh b/Proxmox/reduce-ssd-writes.sh index 6ce155e..80df21d 100755 --- a/Proxmox/reduce-ssd-writes.sh +++ b/Proxmox/reduce-ssd-writes.sh @@ -15,7 +15,7 @@ echo "starting changes" echo 'options zfs zfs_txg_timeout=30' > /etc/modprobe.d/zfs.conf # Set txg_timeout to 30 seconds. This introduces a higher risk of data loss. zfs set atime=off rpool # Turn off atime. -zfs set logbias=throughput rpool # Change logbias to throughput. +zfs set logbias=throughput rpool # Change logbias to throughput. Don't do this if you have a custom log device for your pool. You'll want latency for that. zfs set compression=lz4 rpool # Set compression to lz4 instead of the older LZJB. 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.