Set size of the ZFS ARC cache to [1GB, 8GB]

This commit is contained in:
coolneng 2024-02-08 17:34:59 +01:00
parent 490d2e9ffa
commit 7a43470f18
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 1 additions and 1 deletions

View File

@ -7,7 +7,7 @@ with pkgs;
boot = {
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
kernelParams =
[ "zfs.zfs_arc_max=2147483648" "zfs.zfs_arc_meta_limit_percent=90" ];
[ "zfs.zfs_arc_max=8589934592" "zfs.zfs_arc_min=1073741824" ];
blacklistedKernelModules = [ "btusb" "bluetooth" ];
supportedFilesystems = [ "zfs" ];
zfs = {