From 7a43470f18bc1409a45086c65ff8eb6623e0745c Mon Sep 17 00:00:00 2001 From: coolneng Date: Thu, 8 Feb 2024 17:34:59 +0100 Subject: [PATCH] Set size of the ZFS ARC cache to [1GB, 8GB] --- configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index ee713b8..4f0d4a9 100644 --- a/configuration.nix +++ b/configuration.nix @@ -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 = {