From 6df8593a29d2c9c3357e3ad0569439b6a2e0c868 Mon Sep 17 00:00:00 2001 From: coolneng Date: Wed, 2 Dec 2020 19:10:01 +0100 Subject: [PATCH] Increase ZFS ARC cache to 1GB --- configuration.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index 91078ae..03e7d3d 100644 --- a/configuration.nix +++ b/configuration.nix @@ -4,9 +4,8 @@ # Kernel configuration boot = { kernelPackages = pkgs.linuxPackages_zen; - kernelParams = [ - "zfs.zfs_arc_max=536870912 zfs.zfs_arc_dnode_limit_percent=50 zfs.zfs_arc_meta_limit_percent=100" - ]; + kernelParams = + [ "zfs.zfs_arc_max=1073741824 zfs.zfs_arc_meta_limit_percent=90" ]; kernelModules = [ "i915" "acpi_call" "kvm-intel" ]; extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; supportedFilesystems = [ "zfs" ];