After a few snags, my mail VM is now happily running under virtualbox 3.0.8 on a Debian 5 host.
The last issue I’ve resolved was related to high sy% cpu usage that I took me a while to figure out. Top showed sy% at around 20% constantly, this used to be 6-7% at most. Googling didn’t give me any useful results. After looking into other issues I found a forum post by someone mentioning that by default, VMware enables emulation of something called an IO APIC. Virtualbox doesn’t, as it introduces extra overheads.
With nothing to lose, I’ve enabled this on my virtualbox vm with “VBoxManage modifyvm “vm-name” –ioapic on”, and restarted the VM. So far so good. CPU use is back to decent levels, a little higher than before, but I can live with it. CPU time is cheap. As an added bonus the VM is now picking up both CPU cores I had it configured with.
Other gotchas I’ve encountered:
- moving from VMware to Virtualbox, the NIC type emulated changes. So I had to remove the udev interface numbering scheme….
- but first I had to manually enable the NIC with VBoxManage
-the virtual hard drive file from the old VMware host was 200gig, as I’d pre-allocated it all. For the migration I shrank it by doing a vm-vm migration using the VMware convertor. Problem being, the resulting file is far larger than the actual used space in the file. 11gig used, but the file ended up being over 70gig. My theory is that 70gig is the largest the volume ever grew to, so the convertor wouldn’t shrink it any more.
I hope this is of use to someone out there in Google-land.