Saturday, November 6, 2010

KVM vs soft lockups

About half a year ago I started using proxmox with KVM for virtualizing my systems. The product itself is brilliant in my opinion, but still suffers from kvm bugs.

I found that some guests would freeze after live migration from one physical host to another. Dmesg on the VMs showed soft lockups on cpus:

BUG: soft lockup - CPU#3 stuck for 10s

Having googled the problem, I found that the problem appears on hosts with virtio drivers (virtio-net and virtio-disk). The probability is even better if you run an smp guest.

To resolve this problem, just switch back to ide emulation and e1000 for network.

No comments:

Post a Comment