QtMoko Virtual Memory

Michele Brocco ssj2micvm at gmail.com
Wed Sep 1 11:12:44 CEST 2010

On 9/1/10, Nashvin Gangaram <nashving at gmail.com> wrote:
> Hi
> I was just experimenting the other day, trying to configure my Neo
> Freerunner with QtMoko v24 to use Virtual Memory.  I created a swap
> partition on my MicroSDHC Card, using GParted on PC.  I notice than on
> startup, there is something like a "Activating Swap Configuration... failed"
> message.  So, I just had a couple of questions:
>    - Is it possible for QtMoko to use a swap partition on the SD Card?
>    - How can this be done?
>    - Does swap cause a significant performance increase with QtMoko?

the message is displayed because the default setting in the /etc/fstab
is probably a swap partition that does not match the partition you
created (edit this file to change the settings in order to match your
partitions). Personally I just needed swap sometimes when installing
with opkg some packages because memory was not enough. In terms of
speed that won't change a lot. So it will just prevent the case that
the system is running out of memory. Personally, I use a swap file
instead of a swap partition on the sd card. Using swap may however
reduce the lifetime of our sd card.


More information about the community mailing list