zfs: change arc size setting

This commit is contained in:
Simon Gardling 2025-08-25 13:20:11 -04:00
parent 9e39ce41d0
commit b8c5a66cdc
Signed by: titaniumtown
GPG Key ID: 9AB28AC10ECE533D

View File

@ -25,10 +25,13 @@ in
boot.kernelParams = boot.kernelParams =
let let
mb = 20000; gb = 20;
mb = gb * 1000;
kb = mb * 1000;
b = kb * 1000;
in in
[ [
"zfs.zfs_arc_max=${builtins.toString (mb * 1000000)}" "zfs.zfs_arc_max=${builtins.toString b}"
]; ];
boot.supportedFilesystems = [ "zfs" ]; boot.supportedFilesystems = [ "zfs" ];