Using zram to compress pages did not provide enough memory to run Firefox, Node, and Python for an extended period of time. Here's hoping swap-on-NBD will be fast and reliable enough to work. Note that systemd's default behavior with respect to swap areas is to enable them all rather early in the boot process, before the network is fully configured. As such, we have to use the *noauto* flag to disable the default dependencies and add our own in a later target.
6 lines
215 B
Plaintext
6 lines
215 B
Plaintext
tmpfs /var/lib/rsyslog tmpfs defaults 0 0
|
|
tmpfs /var/log tmpfs defaults 0 0
|
|
tmpfs /var/lib/systemd tmpfs defaults 0 0
|
|
tmpfs /var/lib/NetworkManager tmpfs defaults 0 0
|
|
/dev/nbd1 swap swap noauto,x-systemd.makefs 0 0
|