Solved

Slow performance of EXT4 drive using Libvirt/KVM/QEmu

Posted on 2010-09-16
1
1,968 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
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…

813 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

16 Experts available now in Live!

Get 1:1 Help Now