Proxmox, Windows and virtual disk cache modes

Posted on

Proxmox, Windows and virtual disk cache modes – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.

But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about windows, debian, kvm-virtualization, performance, proxmox.

I run Proxmox 2.0, and installed Windows 2003 R2 (32-bit) server on it. I’ve use VIRTIO disk and NIC virtual devices (and installed appropriate drivers into Windows), and everything’s fine. Physical server is HP DL 180 G6 with RAID 410i (256 Mb battery-backed cache, 4 x 300 Gb 15K SAS disks in RAID10). Server is UPS-backed (of course) so it won’t suddenly be poweroff.

Now I see I can set disk mode in Proxmox to ‘default (no cache)’, ‘Direct sync’, ‘Write through’, ‘Write back’, ‘Write back (unsafe)’, and I can also on/off cache mode in Windows iŠµself. I’d like to optimize Windows Server IO speed, so I’d like to use ‘write back’-ed disks, while at the same time it looks like I don’t need Windows cache on disks at all.

What’s the better strategy for my case? What mode I need to set for virtual disks in Proxmox, and what setting are better to use inside Windows Server in VM?

By the way, what if I install Debian in another VM on the same Proxmox – what disks modes should I set in Proxmox for better IO performance of Debian?

Solution :

From IBM’s KVM performance optimisation best practice ( http://publib.boulder.ibm.com/infocenter/lnxinfo/v3r0m0/topic/liaat/liaatbpblockioperf.htm ), you should:

  • setup a LVM storage in Proxmox to run VMs straight from logical volumes,
  • keep the default ‘no cache’ option in Proxmox,
  • enable deadline scheduler on your disks

About the best settings to use in Windows, I’d love to know too as I should install a really similar setup in a couple of weeks…

Leave a Reply

Your email address will not be published.