When playing around with the board I realised the amount of memory (256mb) is not enough for some bigger tasks, i.e. OpenELEC compilation, git clone of some bigger repositories, etc.. This is reported in dmesg as well as the process gcc or git crashes half way through.
Adding swap file (preferably on external hdd) as described in http://archlinuxarm.org/support/guides/ ... g-swapfile
seems to improve this. So does setting swampiness to very low though the tradeoff is overall performance and responsiveness when using swap.
Since this is not a perfect solution (swap file is fairly slow) I'm trying to establish the minimum size of the swap file to use. Currently, mine is set to 256mb.
So how can I find out how much of these 256mb are currently allocated by my running processes? This will allow me to decrease the size of the swap file to absolutely minimum and hopefully improve slightly performance?