Re: Repacker for reiser4?

2004-09-13 Thread Will Smith
Markus Törnqvist wrote:
Is the repacker available for reiser4?  I can see code in
it works with echo 1  /sys/fs/reiser4/hda2/repacker/start afaik, but
I haven't tried it myself yet, as my backups are a bit out of date.

Thanks Markus.
As far as I can tell (can anybody confirm/deny), it's up to userspace
to manually toggle the 'direction' flag as required before starting
the repacker - the direction seems to default to 0 ('backward') on each 
mount.

It works fine for me on 600Mb of test data which I have heavily 
fragmented with a test script.

A 'diff -r' reports no differences with the original data (stored
in ext3), and I can see the tree-frag and data-frag values
falling in measurefs.ext4.
I hope to do some timings over the next few days of how fragmentation
degrades performance of both ext3 and reiser4, given the same
sequence of operations on each filesystem.  And then, whether the
repacker fixes things for reiser4.  Naturally, ext3 fragmentation
cannot be fixed :)
Will Smith


Re: Repacker for reiser4?

2004-09-13 Thread Markus Törnqvist
On Tue, Sep 14, 2004 at 01:42:42AM +0800, Will Smith wrote:

As far as I can tell (can anybody confirm/deny), it's up to userspace
to manually toggle the 'direction' flag as required before starting
the repacker - the direction seems to default to 0 ('backward') on each 
mount.

Sure seems that way...

sequence of operations on each filesystem.  And then, whether the
repacker fixes things for reiser4.  Naturally, ext3 fragmentation
cannot be fixed :)

I heard a rumor that ext3's fragmentation is fixed by fsck, can anyone
deny or confirm this?

How do you measure ext3's fragmentation, btw?
(An old reiserfs user asking ;)

-- 
mjt