@cryptotaxi247 / infra-1 / commits / e0bf40aa

builders: enable huge pages with tmpfs on /tmp

Closes: #684

Martin Weinelt committed May 23, 2025 at 05:35 UTC e0bf40aac4958977b8abe86fdf12c190186a8237
1 file changed +3
builders/common/system.nix
+3
@@ -17,4 +17,7 @@
17
18 # use memory more efficiently at the cost of some compute
19 zramSwap.enable = true;
20 +
21 + # enable huge pages for tmpfs on /tmp
22 + boot.tmp.tmpfsHugeMemoryPages = "within_size";
23 }