Set size of the ZFS ARC cache to [1GB, 8GB]
This commit is contained in:
parent
490d2e9ffa
commit
7a43470f18
|
@ -7,7 +7,7 @@ with pkgs;
|
||||||
boot = {
|
boot = {
|
||||||
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||||
kernelParams =
|
kernelParams =
|
||||||
[ "zfs.zfs_arc_max=2147483648" "zfs.zfs_arc_meta_limit_percent=90" ];
|
[ "zfs.zfs_arc_max=8589934592" "zfs.zfs_arc_min=1073741824" ];
|
||||||
blacklistedKernelModules = [ "btusb" "bluetooth" ];
|
blacklistedKernelModules = [ "btusb" "bluetooth" ];
|
||||||
supportedFilesystems = [ "zfs" ];
|
supportedFilesystems = [ "zfs" ];
|
||||||
zfs = {
|
zfs = {
|
||||||
|
|
Loading…
Reference in New Issue