Re: [PATCH] fs: Add romfs version 2

From: Lindsay Roberts
Date: Mon Aug 06 2007 - 03:44:24 EST


On 7/26/07, Pavel Machek <pavel@xxxxxx> wrote:
> If the fs is read-only.. can we do some tail packing and get _both_
> speed and space efficiency?

You mean don't block align files of size less than 1k, and
intelligently pack them into the gaps left by files that are aligned?
Does seem that most noticeable performance issues occur on sequential
reads of large files, this sounds like a good idea, but I would
welcome comments on this.

Also I assume romfs currently has a small hidden benefit as a result
of it storing its file data serially after the inode: the initial read
of the inode reads and therefore caches the block containing the
(initial) file data. Obviously with block aligned file data this only
applies if sequential prefetching is performed. I'd be interested to
know if this is an issue worth regarding.

-- Lindsay
-
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/