From: Artem Bityutskiy <dedekind1@gmail.com>
To: Tanya Brokhman <tlinder@codeaurora.org>,
"Jeff Lauruhn (jlauruhn)" <jlauruhn@micron.com>
Cc: linux-mtd@lists.infradead.org,
"linux-arm-msm@vger.kernel.org"
<linux-arm-msm@vger.kernel.org>"linux-mtd@lists.infradead.org"
<linux-mtd@lists.infradead.org>,
Richard Weinberger <richard@nod.at>
Subject: Re: [RFC/PATCH 0/5 v2] mtd:ubi: Read disturb and Data retention handling
Date: Fri, 07 Nov 2014 11:21:34 +0200 [thread overview]
Message-ID: <1415352094.958.294.camel@sauron.fi.intel.com> (raw)
In-Reply-To: <54563211.6070409@codeaurora.org>
On Sun, 2014-11-02 at 15:30 +0200, Tanya Brokhman wrote:
> > If NAND why not use ECC to monitor for disturb?
>
> We don't want just to monitor, we want to prevent cases where ecc cant
> be fixed. You said it yourself later on "BCH ECC will tell you if bits
> have changed and will correct up to 5". The goal is to prevent more then
> 5 errors that can't be fixed.
>
> NAND is a great storage unit, but you have to follow the rules. Please
> refer to Micron datasheet MT29F2G08ABAEAH4 page 100. NAND is made up of
> blocks(2048 in this case), each block has a number of pages. The block
> is the smallest erasable unit and the only way to change 0's to 1's.
> Pages are the smallest programmable unit and can only change 1's to 0's.
> P/E cycling (100,000 in this case) wears out the block. We provide
> 64bytes of spare area for BCH ECC and NAND management. BCH ECC will
> tell you if bits have changed and will correct up to 5.
> >
> > Read disturb is a recoverable failure. It doesn't affect the cells in the page you are reading it affects the cells on either side of the page you are reading. P/E cycling for this device is 100,000. You can program once and read many many times.
> >
> > Data retention is the loss of charge on the cells. Technically you can only change a 0 to 1 by erasing the whole block. However, data retention is the loss of charge in a cell over time. In this case data retention is 10 years.
> > Data retention gets worse as temperature goes up.
>
> Exactly! We're aware of all you described above. This is exactly why we
> need to handle both read disturb and data retention.
Hi Tanya,
just a friendly notice: did you notice that you drop all the CCs in the
reply? Even the person you replied to was not in "To". I guess it is
worth checking your e-mail client's settings.
Jeff, my main concern about the patches is whether they really address
NAND problems, and whether the complexity they introduce are worth it.
The counter-approach is to just read the entire flash periodically, and
just scrub the PEBs (physical eraseblocks) which have have enough
bit-flips (more than a configured threshold per ECC unit, say 1 or 2).
I tried to explain my concerns in here:
http://lists.infradead.org/pipermail/linux-mtd/2014-November/056385.html
http://lists.infradead.org/pipermail/linux-mtd/2014-November/056386.html
Thanks!
next prev parent reply other threads:[~2014-11-07 9:21 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-26 13:49 [RFC/PATCH 0/5 v2] mtd:ubi: Read disturb and Data retention handling Tanya Brokhman
2014-10-26 20:39 ` Richard Weinberger
2014-10-27 8:41 ` Tanya Brokhman
2014-10-27 8:56 ` Richard Weinberger
2014-10-29 11:03 ` Tanya Brokhman
2014-10-29 12:00 ` Richard Weinberger
2014-10-31 13:12 ` Tanya Brokhman
2014-10-31 15:34 ` Richard Weinberger
2014-10-31 15:39 ` Richard Weinberger
2014-10-31 22:55 ` Jeff Lauruhn (jlauruhn)
[not found] ` <54563211.6070409@codeaurora.org>
2014-11-07 9:21 ` Artem Bityutskiy [this message]
2014-11-02 13:25 ` Tanya Brokhman
2014-11-06 8:07 ` Artem Bityutskiy
[not found] ` <545B66BA.4090904@codeaurora.org>
[not found] ` <1415350722.958.286.camel@sauron.fi.intel.com>
2014-11-11 20:36 ` Tanya Brokhman
2014-11-11 21:39 ` Richard Weinberger
2014-11-12 12:07 ` Artem Bityutskiy
2014-11-12 13:01 ` Richard Weinberger
2014-11-12 13:32 ` Artem Bityutskiy
2014-11-12 15:37 ` Richard Weinberger
2014-11-12 11:55 ` Artem Bityutskiy
2014-11-13 12:13 ` Tanya Brokhman
2014-11-13 13:36 ` Artem Bityutskiy
2014-11-23 8:13 ` Tanya Brokhman
2014-11-02 13:23 ` Tanya Brokhman
2014-11-02 13:54 ` Richard Weinberger
2014-11-02 14:12 ` Tanya Brokhman
2014-11-02 17:02 ` Richard Weinberger
2014-11-02 17:18 ` Tanya Brokhman
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=1415352094.958.294.camel@sauron.fi.intel.com \
--to=dedekind1@gmail.com \
--cc=jlauruhn@micron.com \
--cc=linux-arm-msm@vger.kernel.org \
--cc=linux-mtd@lists.infradead.org \
--cc=tlinder@codeaurora.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox