Help - Search - Members - Calendar
Full Version: swap partition
OESF Portables Forum > General Forums > General Discussion
sorry to bring up again a discussion about swap partition...

from this article -->

can we move the partition /home (which is /dev/mtdblock3) to a flash card (SD or CF) and make /dev/mtdblock3 a swap partition?

so finally on the SL5600 (don't know about the C-xxx):
* ~25M for the system (root partition)
* ~32M of RAM + ~32M of swap = 64M of memory
* and whatever for the home partition
It's a bad idea. You're better off using the CF or SD slot for swap. You can create a swap file on the card of 32 megs or whatever size you want. At least the flash card can be replaced when it wears out quickly due to overuse...

Or best of all, use a microdrive.
Is NAND flash memory even supported by the swap filesystem? I didn't think it was and probably won't be because of the issue DrWowe raised. JFFS2 does write balancing so that no one area of flash gets worn out before another, but even if the swap filesystem did this, I imagine it would write so many times that it would quickly wear the flash out.

Besides which, writing to NAND flash is really slow.
I heard this would destroy soonly CF, SD or the intenal jffs2 Flash. Maybe you this according to previos discussions. But maybe newbees cant relocate past discussions and should be aware of installing swap.
anyone has configured NBD?
if so give a shout...
Is this any better than putting a swap file on an nfs/samba mounted device?
Also' it's probably not much good for a portable device, unless you have contstantt wifi access (not in the UK sad.gif )

Swap device present, move 20 meters,swap device go bye bye, zaurus crashes instantly sad.gif
Is this any better than putting a swap file on an nfs/samba mounted device?

NBD could be more efficient, because its a very simple protocol. NFS/SMB would add considerable communication overhead.

Might work okay if the device is being used in a fixed location.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.