Reset /etc/modprobe.d/zfs.conf to installation defaults

Aug 30, 2023
88
12
8
Luxembourg
Can someone tell me how to reset /etc/modprobe.d/zfs.conf back to the default that would be generated on installation? Running PVE v8.3.0

Way back I was trying to sort out ZFS performance and I've lost track so I want to reset it back and see how things are now, and the file looks like this at the moment:

Code:
# options zfs zfs_arc_max=10737418240
# options zfs zfs_prefetch_disable=0
options zfs zfs_dirty_data_max=1073741824

From the docs I see that the default is now 10% of RAM, but what's the best way to calculate what that is for the host? I've actually upgraded its RAM from 64GB to 128GB, so I suppose it would have needed adjusting anyway.