Increase ZFS dnode limit to 50%

This commit is contained in:
coolneng 2020-12-01 16:54:09 +01:00
parent 96285e4b11
commit 5c55f3b508
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 1 deletions

View File

@ -4,7 +4,8 @@
# Kernel configuration # Kernel configuration
boot = { boot = {
kernelPackages = pkgs.linuxPackages_zen; 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" ]; kernelModules = [ "i915" "acpi_call" "kvm-intel" ];
extraModulePackages = with config.boot.kernelPackages; [ acpi_call ]; extraModulePackages = with config.boot.kernelPackages; [ acpi_call ];
supportedFilesystems = [ "zfs" ]; supportedFilesystems = [ "zfs" ];