hydra: ralentir

This commit is contained in:
Astro 2022-05-07 03:51:07 +02:00
parent 7bbf2ad30e
commit 8a42078b88
2 changed files with 6 additions and 4 deletions

View File

@ -22,7 +22,7 @@
nix = { nix = {
useSandbox = false; useSandbox = false;
maxJobs = 4; maxJobs = 2;
buildCores = 16; buildCores = 16;
gc = { gc = {
automatic = true; automatic = true;

View File

@ -44,13 +44,15 @@ in {
}; };
systemd.services.hydra-evaluator.serviceConfig = { systemd.services.hydra-evaluator.serviceConfig = {
CPUWeight = 2; CPUWeight = 2;
MemoryAccounting = true; MemoryHigh = "24G";
MemoryHigh = "32G"; MemoryMax = "32G";
MemoryMax = "40G";
MemorySwapMax = "8G"; MemorySwapMax = "8G";
}; };
systemd.services.nix-daemon.serviceConfig = { systemd.services.nix-daemon.serviceConfig = {
CPUWeight = 5; CPUWeight = 5;
MemoryHigh = "24G";
MemoryMax = "32G";
MemorySwapMax = "8G";
}; };
services.nginx = services.nginx =