Re: UBIFS vs Logfs (was [RFC PATCH] UBIFS - new flash file system)
From: JÃrn Engel
Date: Wed Apr 09 2008 - 17:33:16 EST
On Wed, 9 April 2008 23:09:07 +0200, Pavel Machek wrote:
>
> I'd like compressed filesystem for maps and lingvistic data... but
> will the flash flesystems have 'reasonable' performance when used on
> harddrive?
If someone implemented readpages(), that might be possible - depending
on your definition of 'reasonable' and your workload.
Writes will hit the disk roughly in order. When readahead requests a
bunch of pages, there is some chance of them being adjacent and having
the block layer combine most of the bios into a few large ones.
The main drawbacks are:
- No reservations. If data is written in random order or several
writers chew away in parallel, write order will be fairly pessimal.
- No readahead yet. Wouldn't be hard to do.
- Garbage collection completely ignores fragmentation. If segments are
needed and one contains a nice long extend from a single file, that
data will be written elsewhere, often split between two segments.
Rinse, repeat and fragmentation will increase over time.
- File creation/deletion currently will cause disk heads to jump in
triangles. This hurts write performance on most flash media as well,
so it will get changed reasonably soon.
All of those are solvable. Some will definitely be solved because the
help performance on flash media as well. Other may or may not.
JÃrn
--
When people work hard for you for a pat on the back, you've got
to give them that pat.
-- Robert Heinlein
--
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/