Re: Reiser4 status: benchmarked vs. V3 (and ext3)

From: Hans Reiser (reiser@namesys.com)
Date: Sun Jul 27 2003 - 07:38:23 EST


Daniel Egger wrote:

>Am Mit, 2003-07-23 um 23.02 schrieb Hans Reiser:
>
>
>
>>In brief, V4 is way faster than V3, and the wandering logs are indeed
>>twice as fast as fixed location logs when performing writes in large
>>batches.
>>
>>
>
>How do the wandering logs compare to the "wandering" logs of the log
>structured filesystem JFFS2? Does this mean I can achieve an implicit
>wear leveling for flash memory?
>
Forgive me for answering your question with a question, but, wouldn't
you want to do it at the block device layer? If no, then it would not
be hard to code a block allocation plugin for it. Probably the main
problem would be with the super block and bitmaps, which have fixed
locations (and are written twice but we don't normally care because they
are small and insignificant to performance.)

>
>
>
>>We are able to perform all filesystem operations fully atomically,
>>while getting dramatic performance improvements. (Other attempts at
>>introducing transactions into filesystems are said to have failed for
>>performance reasons.)
>>
>>
>
>How failsafe is it to switch off the power several times? When the
>filesystem really works atomically I should have either the old or the
>new version but no mixture.
>
It is safe.

> Does it still need to fsck or is the
>transaction replay done at mount time?
>
mount time.

> In case one still needs fsck,
>what's the probability of needing user interaction?
>
0, but an application can still write to two files, and if it does not
use our atomic infrastructure (at this time none of them do;-) ), the
two separate files will not be certain to be updated as one atom atomically.

>How long does it
>need to get a filesystem back into a consistent state after a powerloss
>(approx. per MB/GB)?
>
I don't have numbers, someone else will have to answer/measure it for you.

>
>Background: I'm doing systems on compactflash cards and need a reliable
>filesystem for it. At the moment I'm using a compressed JFFS2 over the
>mtd emulation driver for block devices which works quite well but has a
>few catches...
>
>
>

-- 
Hans

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jul 31 2003 - 22:00:32 EST