LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Bernd Petrovitsch <bernd@firmix.at>
To: Dimitrios Apostolou <jimis@gmx.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: swap file over jffs2 partition
Date: Sun, 02 Mar 2008 12:55:09 +0100	[thread overview]
Message-ID: <1204458909.4078.30.camel@gimli.at.home> (raw)
In-Reply-To: <47C84B40.6000501@gmx.net>

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


  reply	other threads:[~2008-03-02 11:55 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-29  2:50 Dimitrios Apostolou
2008-02-29  8:43 ` Jörn Engel
2008-02-29 17:29   ` Dimitrios Apostolou
2008-02-29 19:57     ` Jörn Engel
2008-02-29  9:19 ` Bernd Petrovitsch
2008-02-29 18:13   ` Dimitrios Apostolou
2008-03-02 11:55     ` Bernd Petrovitsch [this message]
2008-03-02 13:57       ` David Newall
2008-03-03 14:19         ` Bernd Petrovitsch

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1204458909.4078.30.camel@gimli.at.home \
    --to=bernd@firmix.at \
    --cc=jimis@gmx.net \
    --cc=linux-kernel@vger.kernel.org \
    --subject='Re: swap file over jffs2 partition' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).