Solved

Linux virtual machine / host machine filesystem performance

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

This is similar to the error described in my previous Article, but with a different source problem and a different solution. When trying to scan and stage the ESXi 6.0 updates using VMware Update Manager, we can get "error code 90"
VM backup deduplication is a method of reducing the amount of storage space needed to save VM backups. In most organizations, VMs contain many duplicate copies of data, such as VMs deployed from the same template, VMs with the same OS, or VMs that h…
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…

929 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

12 Experts available now in Live!

Get 1:1 Help Now