Solved

Linux virtual machine / host machine filesystem performance

Posted on 2009-07-02
3
1,274 Views
Last Modified: 2013-11-15
I've seen many benchmarks on filesystem performance, but what I'm wondering is how well a particular filesystem performs in a virtual machine when sitting on top of a different filesystem.  In particular I have several VMs running in QEMU/KVM formatted to ext4 running on top of a 5 disk RAID 5 formatted to xfs.  Performance is questionable but may be due to other factors such as memory allocation.  I'd like to know if this is even an issue, or if keeping host/guest filesystems the same has any performance benefit.
0
Comment
Question by:GoTravel
3 Comments
 
LVL 70

Accepted Solution

by:
garycase earned 250 total points
ID: 24770726
Keeping the filesystems the same doesn't matter.   What DOES make a difference is the virtualization of the disk ==> it takes resources to manage that virtualization, which will slow down the overall performance relative to what you would see with a native disk.

If your virtual host allows assigning a physical disk (or partition) to the VM, that would give you notably better performance.    Alternatively, you'll also get better performance if you set the hypervisor to permanently assign the entire allocated disk space rather than dynamically managing it.
0
 
LVL 88

Assisted Solution

by:rindi
rindi earned 250 total points
ID: 24771034
Another thing that will make a difference is your raid array. If you host many VM's on the same array there will be a lot of input / output going on in that array, particularly if all VM's are being used simultaneously. Therefore you should choose a raid form that is particularly fast. Raid 10 is very fast for both reads and writes, so that would be the form of raid I'd go for. performance will also get better the more disks are used for an array (this also applies for raid 5 read access).
0
 

Author Comment

by:GoTravel
ID: 24798897
Does mapping to a partition hurt the VMs portability?  I'd like to be able to virt-copy them to other machines or to new instances with little headache.
0

Featured Post

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
Last article we focus in how to VMware: How to create and use VMs TAGs – Part 1 so before follow this article and perform the next tasks, you should read the first article how to create the TAG before using them in Veeam Backup Jobs.
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…

831 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