From 5474832b07f6f2b6f593db40d5bde32245f970cf Mon Sep 17 00:00:00 2001 From: Yureka Date: Sun, 28 Jul 2024 19:20:23 +0200 Subject: [PATCH] baremetal builders: filesystem optimizations --- services/baremetal-builder/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/services/baremetal-builder/default.nix b/services/baremetal-builder/default.nix index ee3dbdf..9bca15f 100644 --- a/services/baremetal-builder/default.nix +++ b/services/baremetal-builder/default.nix @@ -60,7 +60,10 @@ in fileSystems."/mnt" = { device = "/dev/disk/by-label/hydra"; fsType = "xfs"; + options = ["logbsize=256k"]; }; + boot.kernel.sysctl."fs.xfs.xfssyncd_centisecs" = "12000"; + # We want the tmp filesystem on the same filesystem as the hydra store, so that builds can use reflinks fileSystems."/tmp" = { device = "/mnt/tmp";