View Single Post
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#286
About swap size (just my personal 2 cents):
I have 2x.1.5GB. And I sometimes get into trouble after some longer uptime that my personal swap refresh script bites two/three times a day. And that sucks as it really slugs it down.
In general sixwheelebeast is right about swap size. But with our small amount of RAM a lot of swap is needed.
It surely depends on setup and how many daemons running and so on. Furthermore I am completely on devel repo.
My swap usage (/proc/swaps) tells me sometimes over 450MB actively used.

If you have a normal usage pattern, 800MB may be enough. But this is just default size. It may be enough for a day (for me not, depending on run time and usage) but it will need an every night swap refresh. Which I would like to avoid as this is also heavily wearing the flash (and I have data too on SD card, not to loose)
I have set my 'daemon' to check written swap amount once in the night and only refresh when more than 55% (configurable) already used up.

So if I had a bigger SD (now still just 16) I would go even higher, 2 x.3 GB even that would not make really sense regarding memory usage, but for my use case yes. And it does not hurt.
Btw I am using default swappiness settings from swappolube.

That's all?
Amen.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature