TRIM, iSCSI and %busy waves

Eugene M. Zheganin eugene at zhegan.in
Thu Apr 5 15:15:50 UTC 2018


Hello,

On 05.04.2018 19:57, Steven Hartland wrote:
> You can indeed tune things here are the relevant sysctls:
> sysctl -a | grep trim |grep -v kstat
> vfs.zfs.trim.max_interval: 1
> vfs.zfs.trim.timeout: 30
> vfs.zfs.trim.txg_delay: 32
> vfs.zfs.trim.enabled: 1
> vfs.zfs.vdev.trim_max_pending: 10000
> vfs.zfs.vdev.trim_max_active: 64
> vfs.zfs.vdev.trim_min_active: 1
> vfs.zfs.vdev.trim_on_init: 1
>
Well, I've already seen these. How do I tune them ? The idea of just 
tampering with them and seeing what will happen doesn't look like a 
bright one to me. Do I increase or decrease them ? Which ones do I have 
to avoid ?

Eugene.



More information about the freebsd-stable mailing list