I've tried to migrate several Windows production servers in KVM. I've got 2 of them so unstable that I had to put them back on hardware machines.
Windows has already a long list of trouble on any virtualization system (even Hyper-V), this is not new. I'm not expecting KVM of Proxmox to resolve Windows issues. But we're missing some feedback on the working solutions, or workarounds.
Here is a starting point of my experiences.
Windows Server Std 2003 SP2 32-bit
Windows Server Std 2008 R2 64-bit
Windows 7 Pro 32-bit
Conclusions
Jean-Christophe Heger
Windows has already a long list of trouble on any virtualization system (even Hyper-V), this is not new. I'm not expecting KVM of Proxmox to resolve Windows issues. But we're missing some feedback on the working solutions, or workarounds.
Here is a starting point of my experiences.
Windows Server Std 2003 SP2 32-bit
- Virtio system disk
- no cache / write back: will trigger a BSOD on high load / may create fatal corruptions to the system
- crash test (1): FAIL
- IDE system disk
- no cache: damn slow
- writeback: acceptable performances, working quite well
- Network
- (virtio nic) IP stack dies on heavy load
- (rtl8139) loose some services on heavy load (no errors logged, but fileserver and printserver are not responding any more - the server can still connects to internet). The symtpom is a very heavy CPU, network and I/O load on the guest for a while, and then almost nothing on network. Surely related to SAP or the printing service running on the machine, but does not appear on physical one.
- Memory balloon
- Triggers a BSOD on heavy load
Windows Server Std 2008 R2 64-bit
- Virtio system disk
- no cache / write back: will trigger a BSOD on high load (a bit better than 2003)
- IDE system disk
- no cache: damn slow (8 hours for installation)
- writeback: acceptable performances (~8x faster), working quite well
- Network
- (virtio nic) BSOD on heavy load (file transfer)
- (rtl8139) quite slow for file transfer
Windows 7 Pro 32-bit
- (virtio system disk, network and balloon) did often trigger BSOD while saving a 20MB LibreOffice file on the fileserver, but not always. This does not happen when saving locally. I've tried again 10 times while writing this message, but every test was successful.
- (virtio system disk, network and balloon) crash test (1): OK
Conclusions
- Those tests are related to my use. I could not test all scenarios.
- Experiences were made with many versions of KVM (from ~2 years ago until now). Last versions of KVM brought by Proxmox seem a bit more stable than previous ones.
- Virtio drivers seem related to many trouble (ie BSOD)
- I'm also working on low load guests will all virtio drivers, without any problem for more than on year of use.
- Isolating errors when there is no log is very hard. We could still do many tests. Any suggestion for a reliable crash test is welcome.
Jean-Christophe Heger