<p>I am running zram-swap as described above on WasabiNet nodes, both 5.8GHz mesh backhaul and 2.4GHz mesh APs, and I can confirm that certain processes do not like to be swapped out, freezing or behaving erratically as a result.  hostapd, wpa_supplicant, olsrd, crond/busybox, and whatever your captive portal agent is (nodogsplash or coovachilli), all certainly shouldn't be swapped out.  Possibly commotiond too, although I've not had opportunity to test that.</p>

<p>So, the zram_swap method described above lacks a bit in robustness.  I think the mlock command can be used to prevent specific processes from being swapped out, although I'm uncertain of whether OpenWRT has this tool integrated.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href='https://github.com/opentechinstitute/commotion-openwrt/issues/40#issuecomment-26734917'>view it on GitHub</a>.<img src='https://github.com/notifications/beacon/HSS0tS4nfORw_XnPQF8f0SpjGpYv_prl9qYmfYTxwcDTK3rYv4A64CZ0a9PM_sMU.gif' height='1' width='1'></p>