formats boot.kernelParams for ZFS configuration to enable compressed ARC and set maximum ARC size
This commit is contained in:
parent
1442638609
commit
b2768c334a
@ -71,8 +71,10 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
# If you want to keep compression settings
|
# If you want to keep compression settings
|
||||||
boot.kernelParams = [ "zfs.zfs_compressed_arc_enabled=1" ];
|
boot.kernelParams = [
|
||||||
boot.kernelParams = [ "zfs.zfs_arc_max=17179869184" ]; # 16 GiB
|
"zfs.zfs_compressed_arc_enabled=1" # Enable compressed ARC
|
||||||
|
"zfs.zfs_arc_max=17179869184" # 16 GiB
|
||||||
|
];
|
||||||
|
|
||||||
fileSystems = {
|
fileSystems = {
|
||||||
# backup ZFS mount points
|
# backup ZFS mount points
|
||||||
|
Loading…
x
Reference in New Issue
Block a user