elaborate TODO about OOM: consider placing nix builds in their own subdir

This commit is contained in:
Colin 2023-06-24 22:13:23 +00:00
parent aae783876b
commit cb721ac70e

View File

@ -61,6 +61,8 @@
- these use significant /tmp space.
- either place /tmp on encrypted-cleared-at-boot storage
- which probably causes each CPU load for the encryption
- or have nix builds use a subdir of /tmp like /tmp/nix/...
- and place that on non-encrypted clear-on-boot (with very lax writeback/swappiness to minimize writes)
- **or set up encrypted swap**
- encrypted swap could remove the need for my encrypted-cleared-at-boot stuff