soryu: more swap

This commit is contained in:
Daniel Lovbrotte Olsen 2024-12-05 18:47:44 +01:00
parent 0fc6034632
commit 5b374ef972
2 changed files with 5 additions and 1 deletions

View File

@ -29,7 +29,7 @@
CPUQuota = "300%";
MemoryHigh = "29G";
MemoryMax = "30G";
MemorySwapMax = "25G";
MemorySwapMax = "50G";
ExecStart = "systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=%i -D /mnt/human/machines/ubuntu-ai";
};
# overrideStrategy = "asDropin";

View File

@ -29,6 +29,10 @@
"fs.file-max" = 524288;
};
zramSwap = {
enable = true;
memoryMax = 32 * 1024 * 1024 * 1024; # 16 GB ZRAM
};
disabledModules = [
"services/network-filesystems/tahoe.nix"