From: Miles Nordin <carton@Ivy.NET>
To: linux-mtd@lists.infradead.org
Subject: Re: Run UBIFS on top of IDE mode NAND disk?
Date: Thu, 23 Apr 2009 14:48:55 -0400 [thread overview]
Message-ID: <oqprf3ryso.fsf@castrovalva.Ivy.NET> (raw)
In-Reply-To: <000001c9bd90$e726cdb0$0470150a@cisco.com> (Subodh Nijsure's message of "Tue, 14 Apr 2009 23:10:40 -0700")
[-- Attachment #1: Type: text/plain, Size: 2082 bytes --]
>>>>> "sn" == Subodh Nijsure <sunijsur@cisco.com> writes:
sn> Hi, I have board with 4GB NAND memory chip
sn> Can I (Should I) run UBIFS on of it and gain more of
sn> wear-levelling or its not worth it?
I tried to do this with 16GB USB sticks. There is currently some
limit in the mtd-utils around 2GB or 3GB. I think you will have to
wait for the 64-bit ioctl patches to go in.
I would not expect bad-block remapping of ubifs layer to work at all
over an IDE device because IDE error handling is too goofy, and once a
bad block is showing through the proprietary wear-leveling layer, the
proprietary wear leveler may not be working sanely any more. Probably
once the stick/board/whatever-it-is develops one bad block which shows
through the wear leveling, you will have to throw it out.
The reason I wanted to use it on my USB stick was not only for wear
leveling but because ubifs does checksums so I'll know if the cheapo
stick is corrupting my data silently.
And I think ubi has a scrub feature (which it claims is constantly
running in the background, thus much better than 'zpool scrub'. on
ZFS they leave it as user's bother to initiate scrubs and thus user's
fault rather than the developers' if scrubs cut performance in half).
Also I hoped a log-structured filesystem would perform faster for
writing and have fewer of the weird problems described here:
http://sqlite.org/atomiccommit.html
that plague overwrite filesystems like ext3/XFS/JFS/HFS+. I wanted to
try it out.
In general it looks to me like a really good idea to use the flash
filesystems over a layer of proprietary wear-leveling, but
supplimenting the proprietary wear leveling might not be the best
argument for doing it (because if the proprietary wear leveling is bad
in any but a few specific ways(like the old 16MB-chunk way), then you
are screwed anyway). There are other good reasons for doing it
though. Unfortunately there are scalability issues w.r.t. flash size,
and almost no one is doing this yet so it's likely to be clumsy. I've
given up on it for a few years.
[-- Attachment #2: Type: application/pgp-signature, Size: 304 bytes --]
prev parent reply other threads:[~2009-04-23 18:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-15 6:10 Run UBIFS on top of IDE mode NAND disk? Subodh Nijsure
2009-04-15 6:17 ` Artem Bityutskiy
2009-04-15 16:29 ` Jamie Lokier
2009-04-16 5:30 ` Artem Bityutskiy
2009-04-23 18:48 ` Miles Nordin [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=oqprf3ryso.fsf@castrovalva.Ivy.NET \
--to=carton@ivy.net \
--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.