[Pkg-zfsonlinux-devel] Bug#837049: Please configure zfs_arc_max in postinst

Lumin cdluminate at gmail.com
Thu Sep 8 09:59:56 UTC 2016


Package: zfsutils-linux
Version: 0.6.5.7-2
Severity: minor

Hi,

We never know on what machine will the user deploy ZFS, and
it may be expensive to run zfs under the default arc config.
For example, my laptop has 4G memory and nearly half of
it would be gone after zfs being loaded.

With reference to Archlinux/ZFS and Gentoo wiki/ZFS,
I suggest that a little enhancement should be made to postinst --
let the user input a zfs_arc_max value and then put it
into /etc/modprobe.d/zfs.conf. If user input nothing then
nothing will happen.

Maybe it should also be registered as a conffile.

-- 
Best,
Lumin



More information about the Pkg-zfsonlinux-devel mailing list