News for hackers. Stuff that matters.
Re:C5 Instances for EC2 Now Available by pquerna on Monday November 06, 2017 @07:18PM (#15640146)
Intertwined with this announcement of an new instance type, is that it uses a non-Xen hypervisor.

Has anyone booted one yet? Is it KVM or something from scratch that AWS wrote?

Re:C5 Instances for EC2 Now Available by joemag on Monday November 06, 2017 @07:23PM (#15640171)
It's based on KVM: https://aws.amazon.com/ec2/faqs/#compute-optimized

(sorry for crappy link, can't figure out how to link directly to the appropriate question. Search for "What is the underlying hypervisor on C5 instances" question).

Re:C5 Instances for EC2 Now Available by QuinnyPig on Monday November 06, 2017 @08:33PM (#15640441)
There must be something we can test

Maybe find a new regression

Should we try it on a db shard?

Or exercise some discretion...

instance sizes aren’t powers of two

The discount's just 15 percent

We can hand wave that away

It shouldn’t cause a downtime event

Let’s be adults here I say...

Everything xen, everything xen

I don't think so

Everything xen, everything xen

I don't think so

— Bush, Everything Xen

Re:C5 Instances for EC2 Now Available by captainkrtek on Monday November 06, 2017 @07:23PM (#15640172)
https://aws.amazon.com/ec2/faqs/#compute-optimized

" Q. What is the underlying hypervisor on C5 instances?

C5 instances use a new EC2 hypervisor that is based on core KVM technology. "

Re:C5 Instances for EC2 Now Available by talawahdotnet on Monday November 06, 2017 @08:58PM (#15640518)
Very interesting. Has anyone noticed any difference in boot times?

If they are announcing things like a brand new hypervisor ahead of re:Invent one wonders what they are saving for the main event...is it too much to hope for managed Kubernetes?

Re:C5 Instances for EC2 Now Available by talawahdotnet on Monday November 06, 2017 @09:20PM (#15640608)
Just did a quick test. It booted up in about 11s vs around 19s for Xen.

I did notice that it took a while for the status check to go green though. There was a warning message saying that it couldn't connect to the instance. I was able to SSH just fine though.

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/