News for hackers. Stuff that matters.
Re:C5 Instances for EC2 Now Available by nnx on Monday November 06, 2017 @08:11PM (#15640360)
What’s the benefit of KVM over Xen these days?
Re:C5 Instances for EC2 Now Available by _msw_ on Monday November 06, 2017 @10:26PM (#15640854)
It's difficult to make an simple comparison because neither hypervisor is used "out of the box" by EC2. For example, a lot of hypervisor benchmark comparisons focus on I/O performance, but the latest generation EC2 instances offload networking and storage processing to hardware. This is the case for both for instances that use Xen and C5 that uses the new KVM-based hypervisor.

Since both hypervisors have very good support for hardware virtualization technology, it becomes more of an architecture decision. Practically speaking, it is a little bit easier to build a very small footprint hypervisor with the core KVM code than Xen.

Re:C5 Instances for EC2 Now Available by alpb on Monday November 06, 2017 @08:22PM (#15640403)
I am also curious. I found this article which might help a little bit: https://www.theregister.co.uk/2017/01/30/google_cloud_kicked...
Re:C5 Instances for EC2 Now Available by abdulla on Monday November 06, 2017 @09:57PM (#15640754)
KVM can take better advantage of hardware acceleration than Xen. Xen requires a modified guest, which traps back to the host more frequently.
Re:C5 Instances for EC2 Now Available by wmf on Monday November 06, 2017 @10:03PM (#15640776)
Re:C5 Instances for EC2 Now Available by abdulla on Tuesday November 07, 2017 @02:34AM (#15641608)
This is based on a cursory examination of [1], so I may be off-base. But Xen appears to rely on the host for many things that can be, and often are, hardware accelerated in KVM. Searching for CONFIG_XEN_PVHVM, it doesn't appear to cover much.

[1] https://github.com/torvalds/linux/blob/master/arch/x86/xen/