Increase ZFS arc_meta_limit to 100%

This commit is contained in:
coolneng 2020-12-02 03:20:06 +01:00
parent 5c55f3b508
commit 8f6e53235c
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 3 additions and 2 deletions

View File

@ -4,8 +4,9 @@
# Kernel configuration # Kernel configuration
boot = { boot = {
kernelPackages = pkgs.linuxPackages_zen; kernelPackages = pkgs.linuxPackages_zen;
kernelParams = kernelParams = [
[ "zfs.zfs_arc_max=536870912 zfs.zfs_arc_dnode_limit_percent=50" ]; "zfs.zfs_arc_max=536870912 zfs.zfs_arc_dnode_limit_percent=50 zfs.zfs_arc_meta_limit_percent=100"
];
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" ];