3

We have just moved our infrastructure from physical servers to virtual machines. Everything is running great and we are happy with the result of the move. We have identified one problem, and that is reading/writing performance. We have an application that compiles files and writes to disk. This is considerably slower on the new virtual machines compared to the physical machines.

Is there a performance bottleneck when writing to a virtual hard drive compared to a physical hard drive?

6
  • Are there multiple virtual hard drives living on the same physical hard drive?
    – andol
    Apr 2, 2010 at 8:38
  • Yes. We have the same application running on 4 Virtual Servers. Apr 2, 2010 at 8:50
  • VMWare is a company, not a product, which product/s are you talking about.
    – Chopper3
    Apr 2, 2010 at 10:18
  • We are using VMWare's Virtual Server Apr 3, 2010 at 8:34
  • Ok, nearly there, what OS are you running it on?
    – Chopper3
    Apr 3, 2010 at 11:30

2 Answers 2

2

This depends on how your storage is accessed by the virtual hosts. Is it local storage in the hosts drive bays, or remote SAN storage over iSCSI/Fibre Channel?

What are the IO speeds you are seeing when benchmarking the physical and virtual instances of these servers?

What are the hardware specs and configuration (drives, controllers, cache, RAID levels, SAS, SCSI) of your previous physical servers, and your new vmware host servers?

There are some overheads to disk throughput on VMs, but not inherently big. It's much more likely to be a shift in how the storage is being made available, contention from multiple VMs accessing the same storage, or a change/problem in the underlying disk storage hardware (e.g. lack of write cache on the vmware hosts).

There's a whole bunch of different ways to improve your IO performance on vmware, but it'll depend on having more info about your current setup.

1

You'll see a performance loss, simply because there are now 4 machines worth of writes going to a single machines worth of disk performance. Good Virtualisation design allows for this issue, at the simplest level with multiple local drives, at a more sophisticated level with a SAN of some sort.

If you've implemented VMware server on a Windows host, there's also the potential issue of the virtual disks being scanned by the real time virus scanner, which destroys performance.

If you're after best performance, it'd be worth looking at implementing the free version of ESXi which avoids the overhead of a Linux or Windows OS intermediary between the guest OS and the hardware

1
  • +1. This is fantastic information. Much appreciated. We have a physical SAN which is where I believe we need to write the files. Thanks again. Apr 3, 2010 at 18:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .