[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.LFD.1.10.0805021328200.5994@woody.linux-foundation.org>
Date: Fri, 2 May 2008 13:33:12 -0700 (PDT)
From: Linus Torvalds <torvalds@...ux-foundation.org>
To: Jörn Engel <joern@...fs.org>
cc: Stephen Rothwell <sfr@...b.auug.org.au>,
Andrew Morton <akpm@...ux-foundation.org>,
David Woodhouse <dwmw2@...radead.org>,
Arnd Bergmann <arnd@...db.de>, linux-kernel@...r.kernel.org
Subject: Re: LogFS merge
On Fri, 2 May 2008, Jörn Engel wrote:
>
> Currently performance sucks badly on block device flashes (usb stick,
> etc.) when creating/removing/renaming files. The combination of logfs
> and the built-in logic can result in 1-2MB of data written to create a
> single empty file. Yuck!
Can you talk about why, and describe these kinds of things? Is it just
because of deep directory trees and having to rebuild the tree from the
root up, or is it something else going on?
> Fragmentation is neither actively avoided nor actively enforced.
I was more thinking about the fragmentation in terms of how much free
space you need for reasonable performance behavior - these kinds of things
tend to easily start behaving really badly when the disk fills up and you
need to GC all the time just to make room for new erase blocks for the
trivial inode mtime/atime updates etc.
Maybe logfs doesn't have that problem for some reason, but in many cases
there are rules like "we will consider the filesystem full when it goes
over 90% theoretical fill", and it's interesting to know.
> I guess the above could go into Documentation/filesystems/logfs.txt.
> And some more.
I did try looking at gitweb to see if I could find some documentation
file. I didn't find anything.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists