Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Linux virtual machine / host machine filesystem performance

Posted on 2009-07-02
3
Medium Priority
?
1,280 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 1000 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 1000 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

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

When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
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 …
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…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

916 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