Skip to content

Instantly share code, notes, and snippets.

@sneak
Created March 26, 2019 12:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sneak/58410961f15f693c1be0b318a81dbf16 to your computer and use it in GitHub Desktop.
Save sneak/58410961f15f693c1be0b318a81dbf16 to your computer and use it in GitHub Desktop.
zfs tuning
# set l2arc fill rate to 300MB/sec until full and 100MB/sec thereafter
# more info: https://github.com/zfsonlinux/zfs/wiki/ZFS-on-Linux-Module-Parameters#zfs_compressed_arc_enabled
D="/sys/module/zfs/parameters"
echo 200000000 > $D/l2arc_write_boost
echo 100000000 > $D/l2arc_write_max
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment