builders aarch64: useTmpfs only for hopeful-rivest
We're getting out of RAM on goofy-hopcroft commonly: https://grafana.nixos.org/d/rYdddlPWk/node-exporter-full?orgId=1&var-job=node&var-node=goofy-hopcroft.builder.nixos.org:9100&from=now-30d&to=now&viewPanel=panel-78 While it does have double the RAM than hopeful-rivest, the 40 jobs can eat really lots of /tmp. Some particular jobs even eat many gigabytes each. As hopeful-rivest seems OK-ish, I'm leaving tmpfs in there for now: https://grafana.nixos.org/d/rYdddlPWk/node-exporter-full?orgId=1&var-job=node&var-node=hopeful-rivest.builder.nixos.org:9100&from=now-30d&to=now&viewPanel=panel-78
Vladimír Čunát committed
Aug 28, 2025 at 08:00 UTC
c9aa0893ba46cd3424a08b3d9771a19b0e1f0faf
2 files changed
+6
-14
builders/instances/hopeful-rivest.nix
+6
@@ -9,6 +9,12 @@
9
system-features = [ "big-parallel" ];
10
};
11
12
+ # 128G RAM only, but seems to be OK in practice
13
+ boot.tmp = {
14
+ useTmpfs = true;
15
+ tmpfsSize = "128G";
16
+ };
17
+
18
networking = {
19
hostName = "hopeful-rivest";
20
domain = "builders.nixos.org";
builders/profiles/hetzner-rx220.nix
-14
@@ -1,9 +1,3 @@
1
-{
2
- config,
3
- lib,
4
- ...
5
-}:
6
-
1
{
2
imports = [
3
../boot/efi-grub.nix
@@ -13,14 +7,6 @@
7
boot.supportedFilesystems.zfs = true;
8
networking.hostId = "91312b0a";
9
16
- # 96G for build roots, 160G for working memory
17
- boot.tmp = {
18
- useTmpfs = true;
19
- # 128G tmpfs, 128G RAM for standard builders
20
- # 128G tmpfs, 128G RAM for big parallel builders
21
- tmpfsSize = if lib.elem "big-parallel" config.nix.settings.system-features then "128G" else "128G";
22
- };
23
-
10
boot.initrd.availableKernelModules = [
11
"nvme"
12
"usbhid"