All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Barada <peter.barada@gmail.com>
To: linux-mtd@lists.infradead.org
Subject: Re: expect bit flip within endurance if ECC is required?
Date: Thu, 02 Aug 2012 11:56:13 -0400	[thread overview]
Message-ID: <501AA31D.9000402@gmail.com> (raw)
In-Reply-To: <CAFV5biAp8__BZQmBHd8EpHD2amrycy59CR2kweEtsu2xtQ4ucA@mail.gmail.com>

On 08/02/2012 11:24 AM, peterlingoal wrote:
> Hi all,
>
> I have some questions about minimum ECC and NAND endurance, please help me here:
>
> My understanding of endurance is that a NAND and survive the number of
> cycles of erase/write/read before any error occurs. But I am not clear
> about the definition of error, is it correctable error (bit flip less
> than minimum ECC) or uncorrectable error (more than minimum ECC)? For
> e.g. if a NAND with endurance of 100,000 cycles and requires minimum
> 4bit ECC, shall I expect bit flipping (but less than 4 bits) within
> the 100,000 cycles?
>
> If my understand is correct, does it mean that the chip with same
> endurance but higher minimum ECC requirement is more likely to have
> bit flipping faster than the chip with same endurance but less minimum
> ECC?
Yes.  the number of bits of ECC implies the rate of correctable errors -
more bits of ECC imply more bits per read that can flip (and are
corrected by the ECC).  Older large-geometry SCL nand parts wouldn't
show a single bit flip until that block is near its end of life whereas
newer small-geometry SLC/MLC show bit flips much more often - the CBER
(correctable bit error rate) is much higher with newer NAND devices.

The strength of the ECC is such that the UBER (uncorrectable bit error)
can be held low - 10E-15 or so over the life of the device.  Note that
to maintain retention and usable UBER, chip manufacturers define
temperature ranges, and not only retiring blocks after a maximum number
of erasures, but also require "refreshing" blocks (garbage collect valid
data from the block into another) after a set number of reads from a
block - across power cycles.

-- 
Peter Barada
peter.barada@gmail.com

      reply	other threads:[~2012-08-02 15:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-02 15:24 expect bit flip within endurance if ECC is required? peterlingoal
2012-08-02 15:56 ` Peter Barada [this message]

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=501AA31D.9000402@gmail.com \
    --to=peter.barada@gmail.com \
    --cc=linux-mtd@lists.infradead.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 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.