Increase ZFS ARC cache to 1GB
This commit is contained in:
parent
8f6e53235c
commit
6df8593a29
|
@ -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" ];
|
||||||
|
|
Loading…
Reference in New Issue