New on LowEndTalk? Please Register and read our Community Rules.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
pv or hvm
CloudxtnyHost
Member, Host Rep
Obviously in this day and age most processors will support either PV or HVM and although PV has the advantage of being a little bit quicker, HVM provides full virtualisation.
What are your guys opinions?
Comments
I like HVM...
Thehackbox can you expand on why it is your preference ?
Windows support and the ability to run a custom kernel.
hvm
PV
It's much faster and easier to install an OS.
HVM is nice if you want to run Windows or some odd ISO.
I agree with the easier part, but HVM isn't "much slower" than PV, provided you use the paravirtualized ("PV-on-HVM") drivers. See this slideshow from one of the Xen developers for details -- the bottom line is that PV is about 5% faster for PV-favorable workloads, and much slower than HVM for workloads that favor nested-paging. The memory any VM sees needs to be translated to physical RAM, and nested-paging is a processor feature that performs this address translation in hardware.
From the slideshow, for example, for PBZIP2 (parallel bzip2), HVM is 12.5% faster than PV; for SPECjbb2005 (server-side java), HVM is 5% slower than PV; for iperf, HVM 32-bit has 45% higher throughput than PV 32-bit, but HVM 64-bit is about 3% slower than PV 64-bit.
I was talking about a reformat.
Like installing a PV template vs installing from ISO.
Those are interesting numbers on PV vs HVM though.
i need dat archlinux
Like installing a PV template vs installing from ISO.
Oh OK, I see On that I am with you 100% -- installing/getting HVM to work can be a MONSTER headache.
Any real reason to go with HVM over KVM? What about PV over OpenVZ?
Not possible with OpenVZ.
I mean what's the reasons to go with PV instead of OpenVZ
I am bored of this threads...
Custom kernels (as long as it's modified to support Xen PV), memory management is like a real servers instead of allocation based limits, VPNs work without the host enabling tap/tun/the kernel modules needed for that VPN server, etc. You can run OpenVZ inside Xen PV.
agree.. lets change it to lxc vs other..
Hm, why don't more people offer Xen-PV?
Kairus,
I believe the normal Xen offering would be Xen-PV.
Yes, from my empirical browsing it's the 2nd most common after OVZ, followed by KVM (catching up fast), Xen-HVM and the remaining laggards (VMWare, etc.)
I believe the newer linux kernels (2.6.32+) have built-in support, so building a custom kernel shouldn't normally be required. For example, here's part of
dmesg
from the Ubuntu 3.2.0.-20-virtual kernel:And to expand upon the discussion I had with @Clinton earlier in the thread about the ease of installing PV vs. HVM, PV "just works"; the newer kernels also support PV-over-HVM on Xen HVM, but it works best only with Xen 4.0+ -- even that required adding some modules to the initramfs. I couldn't get PV-over-HVM to work on Xen 3.4 -- the disk worked, but the NIC (eth0) wouldn't.
CentOS no longer comes with Xen anymore
That could be more interesting...