cpio to ext4 seems much slower than to ext2, ext3 or xfs

Richard W.M. Jones rjones at redhat.com
Wed Nov 11 21:12:09 UTC 2009


On Wed, Nov 11, 2009 at 09:05:20PM +0000, Richard W.M. Jones wrote:
>   ext2
>   elapsed time: 5.21 seconds
>   ext3
>   elapsed time: 7.87 seconds
>   ext4
>   elapsed time: 6.10 seconds
>   xfs
>   elapsed time: 0.45 seconds
>   jfs
>   elapsed time: 0.78 seconds

Sod it, let's do all the others too ...

$ for fs in reiserfs nilfs2 ntfs msdos btrfs hfs hfsplus gfs gfs2 ; do guestfish sparse /tmp/test.img 10G : run : echo $fs : sfdiskM /dev/sda , : time mkfs $fs /dev/sda1 ; done
reiserfs
elapsed time: 1.15 seconds
nilfs2
elapsed time: 0.12 seconds
ntfs
elapsed time: 3.09 seconds
msdos
elapsed time: 0.38 seconds
btrfs
elapsed time: 0.07 seconds
hfs
elapsed time: 0.42 seconds
hfsplus
elapsed time: 0.49 seconds
gfs
elapsed time: 5.37 seconds
gfs2
elapsed time: 4.93 seconds

(By the way I really don't think that mkfs time matters that much :-)

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.
http://et.redhat.com/~rjones/virt-df/




More information about the fedora-devel-list mailing list