In general, disk performance on a domU will always be lower than on a dom0.� That being said, I agree with Christopher that is sounds like you are using a sparse disk file.� <br><br>Did you create this VM with virt-install?� If so, you can pass the --nonsparse option to virt-install when creating the VM to allocate all the disk space when creating the VM.� <br>

<br>Matt<br><br>--<br>Mathew S. McCarrell<br>Clarkson University '10<br><br><a href="mailto:mccarrms@gmail.com">mccarrms@gmail.com</a><br><a href="mailto:mccarrms@clarkson.edu">mccarrms@clarkson.edu</a><br>
<br><br><div class="gmail_quote">On Wed, May 20, 2009 at 12:35 PM, Francisco P�rez <span dir="ltr"><<a href="mailto:fperez.x@gmail.com">fperez.x@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

LVM on dom0 or domu?<br><br><div class="gmail_quote">2009/5/20 Christopher G. Stach II <span dir="ltr"><<a href="mailto:cgs@ldsys.net" target="_blank">cgs@ldsys.net</a>></span><div><div></div><div class="h5"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">


<div>----- "Francisco P�rez" <<a href="mailto:fperez.x@gmail.com" target="_blank">fperez.x@gmail.com</a>> wrote:<br>
<br>
</div><div>> I guess the bad performance it goes with the writing. For example on<br>
> decompression of a big tar.gz, installing rpm packages. Also on<br>
> restoring a MySQL Database...<br>
><br>
> The first clue when i knew that something were wrong was on the FS<br>
> formating stage. It took really long time to format 40 GB to ext3. I<br>
> did the same on other machine with a sata disk... surprise! same<br>
> software and hardware config except for the inferior disk type and did<br>
> it in no time.<br>
<br>
</div>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.<br>



<font color="#888888"><br>
--<br>
</font><div><div></div><div>Christopher G. Stach II<br>
<br>
<br>
_______________________________________________<br>
CentOS-virt mailing list<br>
<a href="mailto:CentOS-virt@centos.org" target="_blank">CentOS-virt@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
</div></div></blockquote></div></div></div><br>
<br>_______________________________________________<br>
CentOS-virt mailing list<br>
<a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
<br></blockquote></div><br>