about summary refs log tree commit diff
path: root/default.nix
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2023-02-10T22·48+0000
committerAlyssa Ross <hi@alyssa.is>2023-02-11T12·14+0000
commit3c68159b81f9f4f322f19251a30c26344505b66b (patch)
tree94c71817b78784eb5c88b2917fca4bfc286e0224 /default.nix
parentc4ade691e1d92f3f03974bacc1077cce6d8309bf (diff)
chore(whitby): enable zram swap r/5846
Whitby has a lot of memory, but I've still been fighting with the OOM
Killer trying to build a few big packages at the same time.  Besides,
it's generally a good idea to always have swap available even if
there's lots of memory for caching optimisation reasons[1], and zram
swap is efficient enough to basically provide bonus memory for free.

[1]: https://haydenjames.io/linux-performance-almost-always-add-swap-space/

Change-Id: I1fbe60f7975ebfa38e341e0de76848ec79b6fcf0
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8065
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'default.nix')
0 files changed, 0 insertions, 0 deletions