All of lore.kernel.org
 help / color / mirror / Atom feed
* Do we need dump for ext4?
@ 2008-08-28 14:58 Eric Sandeen
  2008-08-28 18:48 ` Theodore Tso
  2008-08-29 12:36 ` Eric Sandeen
  0 siblings, 2 replies; 14+ messages in thread
From: Eric Sandeen @ 2008-08-28 14:58 UTC (permalink / raw)
  To: ext4 development; +Cc: Ric Wheeler

I was talking to Ric about dump benchmarks, and he was of the impression
that dump may not be used that often anymore, at least in the
enterprise.  (Ric, hope I'm paraphrasing correctly)

Undaunted :) I ran off and tested an artificial backup scenario:

* Untar a kernel tree into 128 different top level dirs
* Make a level 0 backup
* Untar a kernel tree into 128 MORE different top level dirs
* Make a level 1 backup

128 kernel trees uses about 6.5M inodes, and about 80G of space.

I tested ext3 with dump; ext4 with tar, and xfs with xfsdump.

for ext3:
dump -1 -u -f $DUMPDIR/dump1 $DATADIR

for ext4:
tar --atime-preserve --xattr --after-date=$DUMPDIR/dump0.tar -cf
$DUMPDIR/dump1.tar $DATADIR

for xfs:
xfsdump -F -l 1 -f $DUMPDIR/dump0 $DATADIR

DUMPDIR and DATADIR were 2 partitions on the same (fast hardware) lun.

Results:

	level0	level1
        ------	------
ext3	38m52s	42m21s
ext4	57m55s	69m35s
xfs	25m18s	37m44s

Clearly tar on ext4, at least for my incantation, lags.  Is dump for
ext4 anywhere on the todo list, or should it be?  Or am I just running
tar wrong? :)

-Eric

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2008-09-02 15:53 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-28 14:58 Do we need dump for ext4? Eric Sandeen
2008-08-28 18:48 ` Theodore Tso
2008-08-28 19:03   ` Ric Wheeler
2008-08-28 20:04     ` Andreas Dilger
2008-08-28 20:35       ` Theodore Tso
2008-08-28 22:23         ` Andreas Dilger
2008-08-28 22:34           ` Theodore Tso
2008-08-28 23:14             ` Andreas Dilger
2008-08-28 19:13   ` Eric Sandeen
2008-08-29 12:36 ` Eric Sandeen
2008-08-29 14:17   ` Theodore Tso
2008-08-29 18:14     ` Eric Sandeen
2008-08-31  2:43   ` Andreas Dilger
2008-09-02 15:52     ` Eric Sandeen

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.