Re: Lifetime of flash memory



John Richard Moser wrote:
David Vrabel wrote:

John Richard Moser wrote:

The question I have is, is this really significant? I have heard quoted
that flash memory typically handles something like 3x10^18 writes;

That's like, uh, 13 orders of magnitudes out...

Yeah I did more searching, it looks like that was a mass overstatement.
There was one company that did claim to have developed flash memory
with that size (I think it was 3.8x10^18) but it looks like typical
drives are 1.0x10^6 with an on-chip wear-leveling algorithm.

That is still high. Modern flash drives will do 100.000 writes for SLC (single-level cells) or 10.000 writes for MLC (multi-level cells) [1].

Assuming
the drive is like 256 megs with 64k blocks, that's still 129 years at
one write per second.

This is also assuming _perfect_ wear leveling. There are real world drives with crappy (or even buggy) wear levelling. I've seen CF cards die with much less writting than this.

Even then, with just 10.000 writes, this is already reduced to 1.29 years, assuming 64kb/sec average writting.

If you take into consideration that you can actually write 6Mbytes/sec on a modern CF card, you can fry a 256Mb card in just 5 days, if you write continuously.

--
Paulo Marques - www.grupopie.com

Pointy-Haired Boss: I don't see anything that could stand in our way.
Dilbert: Sanity? Reality? The laws of physics?

[1] check out: http://www.kingston.com/products/DMTechGuide.pdf
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



Relevant Pages

  • Re: ZFS melting under postgres...
    ... You don't need battery backup for ... flash memory. ... I did think of that but is a CF card faster than a good SAS or SATA ... drives). ...
    (freebsd-current)
  • Re: ZFS melting under postgres...
    ... flash memory. ... I did think of that but is a CF card faster than a good SAS or SATA ... seek-intensive operations on file systems, ... seek-intensive RAID0 with two 15K drives, while 20-30MB/s is not a problem for the comparable priced/sized SSD drive. ...
    (freebsd-current)
  • Re: USB drives and Flash cards not working!
    ... Under Device Manager my USB drives show up with an "!". ... My Computer won't see any USB storage devices like flash memory sticks ... When/if I put an SD, SDHC, or Compact Flash card into a card reader I ...
    (microsoft.public.windowsxp.hardware)
  • Re: USB storage devices quit working!
    ... Under Device Manager my USB drives show up with an "!". ... but none of the flash memory storage area. ... When/if I put an SD, SDHC, or Compact Flash card into a card reader I get ...
    (microsoft.public.windowsxp.general)
  • Seeking advice on planned new build
    ... Sound Card: ... Power Supply: PC Power & Cooling Silencer 610 or 750 ... the two optical drives to give them all better air circulation). ...
    (alt.comp.hardware.pc-homebuilt)