Solved

Slow performance of EXT4 drive using Libvirt/KVM/QEmu

Posted on 2010-09-16
1
1,987 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

2017 Webroot Threat Report

MSPs: Get the facts you need to protect your clients.
The 2017 Webroot Threat Report provides a uniquely insightful global view into the analysis and discoveries made by the Webroot® Threat Intelligence Platform to provide insights on key trends and risks as seen by our users.

Question has a verified solution.

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

Each year, investment in cloud platforms grows more than 20% (https://www.immun.io/hubfs/Immunio_2016/Content/Marketing/Cloud-Security-Report-2016.pdf?submissionGuid=a8d80a00-6fee-4b85-81db-a4e28f681762) as an increasing number of companies begin to…
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
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…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
Suggested Courses

624 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