Increase ZFS ARC cache to 1GB

This commit is contained in:
coolneng 2020-12-02 19:10:01 +01:00
parent 8f6e53235c
commit 6df8593a29
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 2 additions and 3 deletions

View File

@ -4,9 +4,8 @@
# 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_meta_limit_percent=100" [ "zfs.zfs_arc_max=1073741824 zfs.zfs_arc_meta_limit_percent=90" ];
];
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" ];