From 5c55f3b50808b9445da901ac9927c3891961d6d6 Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 1 Dec 2020 16:54:09 +0100 Subject: [PATCH] Increase ZFS dnode limit to 50% --- configuration.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 400dfa5..e9846d8 100644 --- a/configuration.nix +++ b/configuration.nix @@ -4,7 +4,8 @@ # Kernel configuration boot = { kernelPackages = pkgs.linuxPackages_zen; - kernelParams = [ "zfs.zfs_arc_min=536870912 zfs.zfs_arc_max=536870912" ]; + kernelParams = + [ "zfs.zfs_arc_max=536870912 zfs.zfs_arc_dnode_limit_percent=50" ]; kernelModules = [ "i915" "acpi_call" "kvm-intel" ]; extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; supportedFilesystems = [ "zfs" ];