soryu: more ram

This commit is contained in:
Daniel Olsen 2025-03-23 23:30:53 +01:00
parent 4ca2440280
commit b96652db97
2 changed files with 5 additions and 5 deletions

View File

@ -26,10 +26,10 @@
SYSTEMD_NSPAWN_TMPFS_TMP = "0";
};
serviceConfig = {
CPUQuota = "300%";
MemoryHigh = "29G";
MemoryMax = "30G";
MemorySwapMax = "50G";
CPUQuota = "1400%";
MemoryHigh = "90G";
MemoryMax = "94G";
MemorySwapMax = "40G";
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

@ -31,7 +31,7 @@
zramSwap = {
enable = true;
memoryMax = 32 * 1024 * 1024 * 1024; # 16 GB ZRAM
memoryMax = 96 * 1024 * 1024 * 1024; # 96 GB ZRAM
};
disabledModules = [