[maemo-developers] [maemo-developers] swapfile is a huge improvement!

From: Juha Yrjölä juha.yrjola at nokia.com
Date: Sun Jan 15 18:42:35 EET 2006
On Sat, 2006-01-14 at 10:10 -0500, ext Dave Neuer wrote:

> > Not really, since the flash controller on an MMC card is supposed to do
> > wear-levelling. The FAT blocks, for example, would die pretty quickly
> > otherwise, since they're written to very often.
> 
> So, is there any benefit to JFFS2 on MMC other than compression (which
> I guess for swap is either not necessary or even counter-productive)?

Some MMC card manufacturers might have a poor wear-levelling
implementation.  In these cases a wear-levelling file system might be
appropriate.  However, if such cards should exist, they would die pretty
quickly (relatively speaking) with regular FAT usage, too, so I'm
guessing they're pretty rare.

If someone has a cheapo card, they should be able to check if the
wear-levelling works by writing and rewriting the same block on the card
100,000+ times (through the block layer, not through a file system). =)
If the block doesn't go bad, wear-levelling does indeed work.

Cheers,
Juha



More information about the maemo-developers mailing list