From b96652db97bcd84581fe189fd6593306f619e97e Mon Sep 17 00:00:00 2001 From: Daniel Olsen Date: Sun, 23 Mar 2025 23:30:53 +0100 Subject: [PATCH] soryu: more ram --- hosts/soryu/ai.nix | 8 ++++---- hosts/soryu/configuration.nix | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/hosts/soryu/ai.nix b/hosts/soryu/ai.nix index 6f66cf4..ba0a83b 100644 --- a/hosts/soryu/ai.nix +++ b/hosts/soryu/ai.nix @@ -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"; diff --git a/hosts/soryu/configuration.nix b/hosts/soryu/configuration.nix index f2816ab..10c540c 100644 --- a/hosts/soryu/configuration.nix +++ b/hosts/soryu/configuration.nix @@ -31,7 +31,7 @@ zramSwap = { enable = true; - memoryMax = 32 * 1024 * 1024 * 1024; # 16 GB ZRAM + memoryMax = 96 * 1024 * 1024 * 1024; # 96 GB ZRAM }; disabledModules = [