Solved

Slow performance of EXT4 drive using Libvirt/KVM/QEmu

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

The business world is becoming increasingly integrated with tech. It’s not just for a select few anymore — but what about if you have a small business? It may be easier than you think to integrate technology into your small business, and it’s likely…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
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…
Suggested Courses

751 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