![]() |
Swapfile - what's the best solution
My N900 appeared sluggish especially with multiple apps open and suddenly started to grind to a halt to such an extent that it needed a reboot. I started to investigate and then noticed in Conky that there was no swap file. I thought that that was wrong and delved into free and confirmed, no swapfile in use. By examining /dev and /etc/tstab I could see that there was a swap partition on the eMMC and one on my microSD which I'd created when I formatted it. Somehow swap got turned off and clearly there was a missing startup script on my device to turn it on at every boot (now rectified!).
Now there should be a swapfile on the eMMC because the device should run without a microSD card in it so it should be designed to work. However, we know that the life of microSD and eMMC is pretty limited in terms of endless writes. Therefore:
TIA |
Re: Swapfile - what's the best solution
Quote:
Of course, having swap on microSD means that one must manually switch the swap back to internal flash before switching cards... Quote:
Quote:
Seriously, that really depends on what you are doing. I've never seen more than 180Mb used swap on my N900, but I don't try to do anything too memory heavy on it either. The default 768Mb should be enough for most purposes. |
Re: Swapfile - what's the best solution
What swapiness setting do you recommend?
|
Re: Swapfile - what's the best solution
Is there an app-setting that you can set swap or would it be command-line only?
|
Re: Swapfile - what's the best solution
There's no GUI App for it.
|
All times are GMT. The time now is 23:53. |
vBulletin® Version 3.8.8