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"; SYSTEMD_NSPAWN_TMPFS_TMP = "0";
}; };
serviceConfig = { serviceConfig = {
CPUQuota = "300%"; CPUQuota = "1400%";
MemoryHigh = "29G"; MemoryHigh = "90G";
MemoryMax = "30G"; MemoryMax = "94G";
MemorySwapMax = "50G"; 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"; 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"; # overrideStrategy = "asDropin";

View File

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