zfs: arc 2048 -> 4096 mb
This commit is contained in:
parent
3447478847
commit
f04213dff4
9
zfs.nix
9
zfs.nix
@ -20,9 +20,12 @@ in
|
|||||||
boot.zfs.package = pkgs.zfs_unstable;
|
boot.zfs.package = pkgs.zfs_unstable;
|
||||||
boot.initrd.kernelModules = [ "zfs" ];
|
boot.initrd.kernelModules = [ "zfs" ];
|
||||||
|
|
||||||
boot.kernelParams = [
|
boot.kernelParams =
|
||||||
# 2048MB
|
let
|
||||||
"zfs.zfs_arc_max=2048000000"
|
mb = 4096;
|
||||||
|
in
|
||||||
|
[
|
||||||
|
"zfs.zfs_arc_max=${mb * 1000000}"
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.supportedFilesystems = [ "zfs" ];
|
boot.supportedFilesystems = [ "zfs" ];
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user