From 46a90b129ea45a8f5206d032d48243b8e2dfa07a Mon Sep 17 00:00:00 2001 From: Josh Mudge Date: Sun, 11 May 2025 04:06:16 +0000 Subject: [PATCH] Update Proxmox/reduce-ssd-writes.sh --- Proxmox/reduce-ssd-writes.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.