Re: NAND flash misery
- From: Dombo <dombo@xxxxxxxxxxxxxxxxxx>
- Date: Mon, 30 Jun 2008 11:55:13 +0200
David Brown schreef:
Vladimir Vassilevsky wrote:
Guess how many bad blocks are typical for NAND flash of several GB capacity? As many as 2 percent! There could be the whole areas of hundreds of megabytes of the contiguous bad cells, as well as the random scatter.
It is possible to do the extensive read/write test to find the most of the unreliable blocks; but it takes many hours.
I didn't encounter this problem until we started to use the high capacity CF cards. The bad blocks were very rare for the cards of 1GB and below. Since the flash iself is hidden behind the IDE interface and a compatible file system, and the read/write performance is critical, it is generally impossible to apply an error correction scheme.
I was under impression that flash is more reliable then HDD; now I see that it is not so. Do you know how reliable are the IDE flash drives?
NAND flash always has defects in manufacturing - the devices are designed to cope with a certain level of faults to make manufacturing cheaper (the same applies to many other types of chips, and hard disks). Each sector in NAND has extra space for error correction and detection (IIRC, 512 byte sectors are actually 528 bytes in size). Bad blocks can be detected and marked during manufacture and testing, and blocks that go bad (due to wearing out) are detected in use and the data moved to different blocks.
The same thing is done with hard disks - the controller detects bad blocks, and re-maps them. There are a few differences, however - on hard disks, you get bad blocks in manufacturing but it is rare that a good block goes bad in use. With flash, the controller can almost always spot a bad block and recover the data (since it's normally a single bit failure, the ECC will fix it), while on a hard disk you lose data.
Modern hard disks rely (heavily) on ECC too, likewise a hard disk can spot blocks becoming bad before they become unrecoverable. In other words: the situation for traditional hard disks is not that different.
.
- References:
- NAND flash misery
- From: Vladimir Vassilevsky
- Re: NAND flash misery
- From: David Brown
- NAND flash misery
- Prev by Date: Help with Zilog ZDS II: need debugging tips
- Next by Date: Re: NAND flash misery
- Previous by thread: Re: NAND flash misery
- Next by thread: Re: NAND flash misery
- Index(es):
Relevant Pages
|
|