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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 11, 2009 at 01:24:20PM -0600, Eric Sandeen wrote:
> Anybody got actual numbers?  I don't disagree that mkfs.ext4 is slow in  
> the default config, but I don't think it should be slower than mkfs.ext3  
> for the same sized disks.

Easy with guestfish:

  $ guestfish --version
  guestfish 1.0.78
  $ for fs in ext2 ext3 ext4 xfs jfs ; do guestfish sparse /tmp/test.img 10G : run : echo $fs : sfdiskM /dev/sda , : time mkfs $fs /dev/sda1 ; done
  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

Note that because this is using a sparsely allocated disk each write
to the virtual disk is very slow.  Change 'sparse' to 'alloc' to test
this with a non-sparse file-backed disk.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into Xen guests.
http://et.redhat.com/~rjones/virt-p2v

-- 
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux