Effect of partitioning on wear-leveling

Warner Losh imp at bsdimp.com
Tue Mar 22 02:38:14 UTC 2016


On Mar 21, 2016 8:15 PM, "Jim Thompson" <jim at netgate.com> wrote:
>
>
> > On Mar 21, 2016, at 4:41 PM, Ian Lepore <ian at freebsd.org> wrote:
> >
> > Also, it's been my experience that it's impossible to "wear out" an
> > sdcard.  I once ran a program that just wrote random data continuously
> > at full speed to a 512MB card for several months nonstop.  No noticible
> > effect on the card.  I actually still use that card today (in one of
> > our older products whose filesystem image only needs about 40MB).
>
> Now try random power fails while writing.  It won't last through 1000 of
them. (eMMC is way better

One thing that people forget is that the underlying blocks that are written
are completely independent of what lba is used to write it. So the notion
that you have blocks normally part of /var or /tmp no longer makes sense.
Between writing blocks in different order and garbage collection, modern SD
cards do a good job of wear averaging. How much you've written to the drive
in total drives wear out these days.

Warner


More information about the freebsd-arm mailing list