From: "Pierre Etchemaïté" <petchema@concept-micro.com>
To: reiserfs-list@namesys.com
Subject: Re: 2.6.16-rc6-mm2: slow writes on reiser4.
Date: Sun, 2 Apr 2006 01:15:45 +0200 [thread overview]
Message-ID: <20060402011545.e0213e6e.petchema@concept-micro.com> (raw)
In-Reply-To: <4420FFA2.1090908@namesys.com>
Le Tue, 21 Mar 2006 23:41:22 -0800, Hans Reiser <reiser@namesys.com> a écrit :
> It may be that we need to port some of
> the block allocation optimizations from V3 to V4 (Jeff's work) to help
> with 90% full filesystems.
Talking of that, I've read about a localized performance problem of
reiserfs 3 in backuppc's mailing list (that is otherwise similar in
performance with xfs for that task). I wonder if it was ever reported
to you, as suggested in this mailing list...
http://sourceforge.net/mailarchive/message.php?msg_id=8646808
My understanding is that backuppc is hitting reiserfs3 hard links worse
case.
Backuppc creates a huge pool of all versions of all files from all
backups, compressed, organized using MD5 hashing (handling collisions
of course), and hardlinked from their different backup views. [Some
metadata is stored separately, so that several files with same content
but different metadata can still be shared on disk. But I digress]
At night, a sweeping process takes place to remove too old backups
(according to user policy), and maybe check if some more background
sharing/compression can be done.
If I remember well, v3 puts directory entries and their corresponding
inodes next to each other on disk. When hardlinks are created, new
directory entries are created, pointing to the same inode. If the first
directory entry is removed, the inode could be no longer stored near
any of the entries pointing to it.
Since backuppc is routinely removing directory entries in FIFO order,
it's almost guaranteed to happen every time. Hence a very bad inodes
distribution on disk after some time...
I don't know what xfs does exactly (blocks of preallocated inodes ?) but
it does better in this case.
Hope it helps,
Pierre.
next prev parent reply other threads:[~2006-04-01 23:15 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-21 21:16 2.6.16-rc6-mm2: slow writes on reiser4 Laurent Riffard
2006-03-22 7:41 ` Hans Reiser
2006-03-22 18:51 ` Laurent Riffard
2006-03-22 19:04 ` Hans Reiser
2006-03-23 18:44 ` Jindrich Makovicka
2006-03-23 21:32 ` Nate Diller
2006-03-28 20:19 ` Laurent Riffard
2006-03-28 20:34 ` Hans Reiser
2006-03-28 20:56 ` Hans Reiser
2006-03-28 22:49 ` Philippe Gramoullé
2006-03-29 6:16 ` Laurent Riffard
2006-03-29 14:30 ` Philippe Gramoullé
2006-04-01 23:15 ` Pierre Etchemaïté [this message]
2006-03-22 17:48 ` Laurent Riffard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060402011545.e0213e6e.petchema@concept-micro.com \
--to=petchema@concept-micro.com \
--cc=reiserfs-list@namesys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.