baremetal builders: filesystem optimizations

This commit is contained in:
Yureka 2024-07-28 19:20:23 +02:00
parent f737c957a5
commit 5474832b07

View file

@ -60,7 +60,10 @@ in
fileSystems."/mnt" = { fileSystems."/mnt" = {
device = "/dev/disk/by-label/hydra"; device = "/dev/disk/by-label/hydra";
fsType = "xfs"; 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 # We want the tmp filesystem on the same filesystem as the hydra store, so that builds can use reflinks
fileSystems."/tmp" = { fileSystems."/tmp" = {
device = "/mnt/tmp"; device = "/mnt/tmp";