On Wed, 16 May 2007 13:25:48 +0100, Jamie Lokier wrote:
>
> Is LogFS really slower than JFFS2 in practice?
Not sure. I ran a benchmark before adding compression support in QEMU
with a lightning-fast device. So the results should differ quite a bit
from practice.
http://logfs.org/~joern/logfs/benchmark/benchmark_overview
LogFS was actually faster than JFFS2. So for that particular
unrealistic benchmark, updating the LogFS tree was less expensive than
trying (and failing) to compress and calculating the CRC was for JFFS2.
With compression finished, I would expect LogFS numbers to degrade. If
file data had checksums (not done yet, should be optional for users to
decide) even more so.
> I would have guessed reads to be a similar speed, tree updates to be a
> similar speed to journal updates for sustained non-fsyncing writes,
> and the difference unimportant for tiny individual commits whose index
> updates are not merged with any other. I've not thought about it much
> though.
LogFS isn't that good yet. Right now, writing 10 adjacent blocks to a
file requires 10 tree updates instead of 1. Not full updates though,
just up to the inode.
Quite surprisingly, read speed in the benchmark was significantly better
for LogFS, even after substracting mount time. I don't know if all of
that can be explained with CRC checks or there is more to it.
Jörn
--
I can say that I spend most of my time fixing bugs even if I have lots
of new features to implement in mind, but I give bugs more priority.
-- Andrea Arcangeli, 2000
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]