Skip to contentSkip to conversation

Deep thinking about the Wear-leveling mothed

DISCUSSION Artem Bityutskiy 3 participants 4 messages Jul 30, 2008 – Jul 31, 2008 2 messages not in the archive Memory technology devices (MTD)

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Hi,

Quoted 3 lines · xiaochuan-xu

2. Do we really need wear-leveling when the oldest PEB is far from the upper limit of reliable erasure?
the answer is NO!

I would not be so sure. When UBI looses an erase counter because of an unclean reboot, it assigns average erase counter to that eraseblock. This works fine because UBI maintains a reasonably small Max-Min difference.

Also, I am not sure it is save to erase one eraseblock several million times and do not erase neighbor eraseblocks. There are "radiation" effects in some flashes, when unused eraseblocks slowly "rot" when their neighbor eraseblocks are used a lot.

Signature · 2 lines
Best regards,
Artem Bityutskiy (Битюцкий Артём)
#2 lore raw
Quoted 5 lines · Artem Bityutskiy

Also, I am not sure it is save to erase one eraseblock several million times and do not erase neighbor eraseblocks. There are "radiation" effects in some flashes, when unused eraseblocks slowly "rot" when their
neighbor eraseblocks are used a lot.

I'm sorry but I'm not understand this clearly.

Signature · 3 lines
yours Sincerely,

xiaochuan-xu (许小川)
#3 lore raw
Quoted 10 lines · xiaochuan-xu
Quoted 5 lines · Artem Bityutskiy

Also, I am not sure it is save to erase one eraseblock several million times and do not erase neighbor eraseblocks. There are "radiation" effects in some flashes, when unused eraseblocks slowly "rot" when their
neighbor eraseblocks are used a lot.

I'm sorry but I'm not understand this clearly.

You might be aware of the fact that after erasure of NAND FLASH, you are only allowed to write a page once (or a small number of times).

In principle, the write operation is like a logical AND between the new page content and the old one. That is, writing '0' will result in a '0', writing a '1' leaves the bit unchanged.

However, in this context, you must regard NAND cells as analog devices. What you store is not numbers, but electric charge. Erasing the cells drains the charge (='1'), writing a '0' increases the charge. A charge above a certain threshold is read as '0', below that is read as '1'.

Due to the proximity of the NAND cells, there is some leakage between them. Writing a '0' into a cell leaks a little charge into the neighbouring cells. Also, writing a '1' is not quite perfect and also moves a cell a notch towards '0'. In other words, memory contents deteriorate despite 'correct' digital operations.

The manufacturers put more effort (and silicon area) into separating individual erase blocks than into separating individual pages than into separating individual bits.

But nothing is perfect. Writing a page has a small effect on bits in neighbouring pages and even in neighbouring erase blocks.

This, I think, is what Artem meant. Although it's 'leakage' rather than 'radiation'. :-)

Kind regards,

Iwo

A message that is not in the archive (sent off-list or not yet received): [email protected]

#5 lore raw
Quoted 8 lines · xiaochuan-xu
Quoted 5 lines · Artem Bityutskiy

Also, I am not sure it is save to erase one eraseblock several million times and do not erase neighbor eraseblocks. There are "radiation" effects in some flashes, when unused eraseblocks slowly "rot" when their
neighbor eraseblocks are used a lot.

I'm sorry but I'm not understand this clearly.

In this particular case I meant AG-AND flashes. They had "radiation" effect, which means if you have 2 eraseblocks A and B, and you change A a lot, but do not change B, B may become corrupted at some point.

P.S. I have not idea if these flashes are still produced/used.

Signature · 2 lines
Best regards,
Artem Bityutskiy (Битюцкий Артём)