Solved

Linux virtual machine / host machine filesystem performance

Posted on 2009-07-02
3
1,272 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 87

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

Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

Join & Write a Comment

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
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.
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
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…

757 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

19 Experts available now in Live!

Get 1:1 Help Now