User Tools

Site Tools


zfs

ZFS Tuning

zfs set logbias=throughput zfs_pool_name/zfs_fs
zfs set compression=lzjb zfs_pool_name/zfs_fs
Testing
echo "metaslab_unload_delay/D" | mdb -k
echo "metaslab_unload_delay/W0t300" | mdb -kw
Keep loaded metaslabs loaded for longer without unloading
/etc/system:
set zfs:metaslab_unload_delay=300
Identify disks with slow service times
iostat -xnMCz 1 | awk '($1 > 10 || $2 > 10) && $8 > 10 {print}'
 
kstat -n dnlcstats
 
sysdef
 
mdb -k 
::kmastat
::mdbstat
zfs.txt · Last modified: 2020/02/17 12:37 by ss_wiki_admin