flash file system for production use
Thomas Gleixner
tglx at linutronix.de
Tue Aug 27 15:44:06 EDT 2002
On Tue, 2002-08-27 at 21:03, Michael Palme wrote:
> hello...
>
> i've got a strongarm system with 32mb intel strata flash. i need a
> mechanism for storing configuration files etc in the flashes. for this
> purpose 20mb of the flashes are free. the performance/ stability thing
> is very important for me. i cant wait 10 secs fot mounting/ checking
> etc. i' ve tried jffs2 from CVS and it seems to be "fast" on a nearly
> empty flash partition, but i have no suggestion about what happens in
> hard production use, when the flash will be written over and over again
> and the wear leveling takes place. the device is never shutdown'ed in a
> clean way -- always hard power off...
>
> because i have 20megs free and only small information to store i think
> there is no need for a complex wear leveling mechanism but im not an expert.
>
> what the best solution fot my problems???
>
You have to decide, whats more important stability or preformance. If
you write small but important information and your system has the
possibility of power loss, then you have to use a stable, journalling
flash file system like JFFS2 and accept some performance penalty. The
actual JFFS2 code in CVS is faster than the stable branch. It needs some
serious testing. And there is place for further improvents. You're
heartly intvited to join us and implement some of the things, which are
listed in the TODO file.
--
Thomas
____________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx at linutronix.de
More information about the linux-mtd
mailing list