lkml.org 
[lkml]   [2008]   [Mar]   [2]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: swap file over jffs2 partition
FromBernd Petrovitsch <>
DateSun, 02 Mar 2008 12:55:09 +0100
On Fre, 2008-02-29 at 20:13 +0200, Dimitrios Apostolou wrote:
> Bernd Petrovitsch wrote:
> > On Fre, 2008-02-29 at 04:50 +0200, Dimitrios Apostolou wrote:
[....]
> >> swap...). And to avoid wearing out the flash storage too fast, I 'm 

> > Swapping (and constantly writing logfiles) will wear it out much faster
> > than without. Perhaps not at development time but for sure in the field.
> 
> That's why I want to do it over a wear-levelling layer. Given that the 
> partition is large enough it will hopefully take a while to wear it out.

The wear-levelling only makes all erase blocks/chunks/... wear out at
the same rate (at least more or less). It doesn't avoid or reduce
wearing out, it just distributes it.
Even if you do it: Make sure you have the better flash chips, not the
cheap ones with only 5000 (or so) write cycles. Or even MLCs ....
	Bernd
-- 
Firmix Software GmbH                   http://www.firmix.at/
mobil: +43 664 4416156                 fax: +43 1 7890849-55
          Embedded Linux Development and Services



\
 
 \ /
  Last update: 2008-03-02 12:59    [from the cache]
©2003-2008