@cryptotaxi247 / infra-1 / commits / 1c4bbfd4

rhea: more zramSwap, again

Vladimír Čunát committed May 15, 2024 at 14:38 UTC 1c4bbfd4c2aff78c3ceb4a99d27306fef97ef432
1 file changed +1 -1
delft/rhea/configuration.nix
+1 -1
@@ -36,7 +36,7 @@
36
37 # hydra-evaluator causes very sharp spikes in RAM usage on trunk-combined
38 zramSwap.enable = true;
39 - zramSwap.memoryPercent = 80;
39 + zramSwap.memoryPercent = 120;
40
41 nix.gc.automatic = true;
42 nix.gc.options = ''--max-freed "$((400 * 1024**3 - 1024 * $(df -P -k /nix/store | tail -n 1 | ${pkgs.gawk}/bin/awk '{ print $4 }')))"'';