Solved

Slow performance of EXT4 drive using Libvirt/KVM/QEmu

Posted on 2010-09-16
1
1,960 Views
Last Modified: 2012-05-10
Hi experts,

How long should it take to format a 650GB drive to ext4? I am starting up my virtual machine using virsh and then formatting the additional drive which takes 7-8 hours. I am worried that performance will be an issue.

The disk part of my libvirt definition looks like this

    <disk type='file' device='disk'>
      <source file='/vm/ubuntu-kvm/root.qcow2'/>
      <target dev='hda' bus='ide'/>
    </disk>
    <disk type='file' device='disk'>
      <source file='/vm/ubuntu-kvm/data.qcow2'/>
      <target dev='hdb' bus='ide'/>
    </disk>

From what I've read I can try disable the cache somehow, but I'm not entire surely how, since the examples given were invoking kvm directly rather than through virsh. Any ideas?
0
Comment
Question by:mstrelan
1 Comment
 
LVL 10

Accepted Solution

by:
mstrelan earned 0 total points
ID: 33698166
Oh I've got it! Now it only takes 3-4 minutes instead of 7-8 hours!

   
     
     
     
   
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

It Is not possible to enable LLDP in vSwitch(at least is not supported by VMware), so in this article we will enable this, and also go trough how to enabled CDP and how to get this information in vSwitches and also in vDS.
In this article, I will show you HOW TO: Perform a Physical to Virtual (P2V) Conversion the easy way from a computer backup (image).
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…
In this video tutorial I show you the main steps to install and configure  a VMware ESXi6.0 server. The video has my comments as text on the screen and you can pause anytime when needed. Hope this will be helpful. Verify that your hardware and BIO…

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now