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