From 9f8b9dc5b752e63c2e67af17c5383df23fdc8c33 Mon Sep 17 00:00:00 2001 From: Christoph Cullmann Date: Sat, 26 Apr 2025 15:20:13 +0200 Subject: [PATCH] try other zfs settings --- share/common.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/share/common.nix b/share/common.nix index ab38421..350f66b 100644 --- a/share/common.nix +++ b/share/common.nix @@ -114,7 +114,6 @@ in # tweak ZFS boot.extraModprobeConfig = '' - options zfs zfs_arc_meta_limit_percent=100 options zfs zfs_arc_min=134217728 options zfs zfs_arc_max=4294967296 options zfs zfs_txg_timeout=30 @@ -135,11 +134,11 @@ in system.activationScripts.zfsTuning = { text = '' # only one level of metadata caching - ${pkgs.zfs}/bin/zfs set primarycache=metadata zpool + ${pkgs.zfs}/bin/zfs set primarycache=all zpool ${pkgs.zfs}/bin/zfs set secondarycache=none zpool - # use always direct IO to avoid ARC overhead - ${pkgs.zfs}/bin/zfs set direct=always zpool + # use allow direct IO + ${pkgs.zfs}/bin/zfs set direct=standard zpool ''; };