Swap partition on Firewalla Blue
Hi,
Has anyone modified their Swap partition? I have been working through restart issues and, while I have cleaned up the majority by limiting the number of devices I still see random restarts with out of memory errors.
I have noticed the Swap partition is less than the installed memory:
pi@Firewalla:~ (Firewalla) $ free -h
total used free shared buff/cache available
Mem: 994M 780M 105M 5.0M 108M 111M
Swap: 621M 275M 345M
The general consensus for linux with less than 2G is memory is a Swap that is twice the installed memory. I am thinking of bumping it up and wondering:
1. Has anyone tried this?
2. If so, any challenges or learnings?
Thanks.
-
The swap you see is not the typical swap to disk "swap".
Since this is an embedded platform, you shouldn't swap to disk, it may significantly reduce your performance. A better way to deal with the problem is to look at the devices and reduce the load (such as p2p or p2p like flows), and I assume this is exactly what you are doing.
Please sign in to leave a comment.
Comments
1 comment