[CentOS-virt] Bad Disk Performance of domU

Wed May 20 16:35:26 UTC 2009
Francisco Pérez <fperez.x at gmail.com>

LVM on dom0 or domu?

2009/5/20 Christopher G. Stach II <cgs at ldsys.net>

> ----- "Francisco Pérez" <fperez.x at gmail.com> wrote:
>
> > I guess the bad performance it goes with the writing. For example on
> > decompression of a big tar.gz, installing rpm packages. Also on
> > restoring a MySQL Database...
> >
> > The first clue when i knew that something were wrong was on the FS
> > formating stage. It took really long time to format 40 GB to ext3. I
> > did the same on other machine with a sata disk... surprise! same
> > software and hardware config except for the inferior disk type and did
> > it in no time.
>
> It sounds like your the virtual disk file is sparse.  If that's the case,
> you traded performance for space.  It not only has to deal with the
> underlying filesystem, but it allocates the space on demand and hits that
> filesystem's journal.  Try an LVM logical disk and see how that performs.
>
> --
> Christopher G. Stach II
>
>
> _______________________________________________
> CentOS-virt mailing list
> CentOS-virt at centos.org
> http://lists.centos.org/mailman/listinfo/centos-virt
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos-virt/attachments/20090520/d0cf6bea/attachment-0005.html>