All of lore.kernel.org
 help / color / mirror / Atom feed
From: Atlant Schmidt <aschmidt@dekaresearch.com>
To: "'dedekind1@gmail.com'" <dedekind1@gmail.com>
Cc: 'Matej Kupljen' <matej.kupljen@gmail.com>,
	Brian Norris <computersforpeace@gmail.com>,
	linux-mtd <linux-mtd@lists.infradead.org>
Subject: RE: Unstable bits and JFFS2
Date: Fri, 13 Apr 2012 12:40:30 -0400	[thread overview]
Message-ID: <0A40042D85E7C84DB443060EC44B3FD3351F9CADBE@dekaexchange07.deka.local> (raw)
In-Reply-To: <1334334462.13160.10.camel@sauron.fi.intel.com>

Artem:

> Yeah, thanks for correcting. Yeah, read/write-disturb may make bits
> to become unstable, but we assume this is a slow process which will
> gradually make more and more bits flip and ECC will take care of
> that. So I think Matej can exclude this.

  Unfortunately, ECC can only fix those PEBs that
  are actually read. If one of the PEBs in your
  filesystem is being used entirely to contain
  obscure data that only gets read once in a
  blue moon (i.e., very rarely), then multiple
  read-/write-disturbs can hit accumulate in
  that PEB and when it is finally read, it may
  already contains too many errors to be
  corrected by the ECC.

  We've seen this exact scenario occur with the
  current UBI/UBIfs and will be implementing a
  userland "scrubbing" system to ensure that
  every PEB gets read at least once in a while
  (e.g., weekly or whatever interval seems right).

                              Atlant

-----Original Message-----
From: Artem Bityutskiy [mailto:dedekind1@gmail.com]
Sent: Friday, April 13, 2012 12:28
To: Atlant Schmidt
Cc: 'Matej Kupljen'; Brian Norris; linux-mtd
Subject: RE: Unstable bits and JFFS2

On Wed, 2012-04-04 at 06:54 -0400, Atlant Schmidt wrote:
> Matej:
>
> > Artem, you said that this unstable bits only happen
> > during power cuts, is this right? Would those appear
> > also on simulated power cuts, the ones that integck
> > can produce?
>
>   (Note: This isn't Artem replying.)
>
>   Unstable bits can happen anytime, but *REAL* power-cuts
>   while writing are certainly a great way to produce them;
>   after all, if you've only transferred half the electrons
>   to the floating gate when power goes away, well, that
>   Flash cell is now a roll-of-the-quantum-dice each time
>   you read it.
>
>   Simulated power cuts (that just stop the software
>   processing at arbitrary and random points) can't
>   produce this effect.
>
>   But any time a read-disturb or write-disturb takes place,
>   there's some probability that a Flash cell will be left
>   with a "near-threshold" charge on the floating gate, so
>   unstable bits are a fact of life that must be faced by
>   any software that drives NAND Flash memory chips. This
>   is, of course, especially true of MLC chips and even
>   more-true for TLC chips (with three bits per cell).

Yeah, thanks for correcting. Yeah, read/write-disturb may make bits to
become unstable, but we assume this is a slow process which will
gradually make more and more bits flip and ECC will take care of that.
So I think Matej can exclude this.

--
Best Regards,
Artem Bityutskiy

This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message.

Thank you.

Please consider the environment before printing this email.

  reply	other threads:[~2012-04-13 16:40 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-28 11:16 Unstable bits and JFFS2 Matej Kupljen
2012-04-02 17:12 ` Brian Norris
2012-04-04  9:17   ` Matej Kupljen
2012-04-04 10:54     ` Atlant Schmidt
2012-04-10  7:22       ` Matej Kupljen
2012-04-13 16:27       ` Artem Bityutskiy
2012-04-13 16:40         ` Atlant Schmidt [this message]
2012-04-13 17:01           ` Artem Bityutskiy
2012-04-14  4:21             ` Ricard Wanderlof
2012-04-22 14:25               ` Artem Bityutskiy
2012-04-13 18:36         ` Wolfram Sang
2012-04-13 19:49           ` Artem Bityutskiy

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=0A40042D85E7C84DB443060EC44B3FD3351F9CADBE@dekaexchange07.deka.local \
    --to=aschmidt@dekaresearch.com \
    --cc=computersforpeace@gmail.com \
    --cc=dedekind1@gmail.com \
    --cc=linux-mtd@lists.infradead.org \
    --cc=matej.kupljen@gmail.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.