C5 Instances for EC2 Now Available
aws.amazon.com
aws.amazon.com
Has anyone booted one yet? Is it KVM or something from scratch that AWS wrote?
(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).
" Q. What is the underlying hypervisor on C5 instances?
C5 instances use a new EC2 hypervisor that is based on core KVM technology. "
[1] https://github.com/torvalds/linux/blob/master/arch/x86/xen/
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.
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
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?
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.
Note, that you will need to select Northern Virginia, Oregon or Ireland to see C5 prices. By default (at least for me) the pricing page loads Ohio, which doesn't have C5 yet.
Also, I wouldn't assume Amazon pays anything close to list price, or even necessarily runs publicly announced parts.
And, since the competition adopted the same terminology, it's now a quasi standard to call them vcpus.
This is a fun question. Processors that have hyperthreading duplicate the parts of the CPU needed to maintain state, but they don't duplicate the parts that run the actual logic. So if you compare a single core hyperthreaded processor with a dual core processor without hyperthreading the dual core one will be faster.
However it gets a bit more complicated than that. Oftentimes processors sit idle while waiting for the rest of the system to catch up- for instance it may have to wait for memory to get loaded from RAM. Processors with hyperthreading see a boost in performance here because they can run the second thread while waiting for the operations needed to run the first thread- thus making these processors about 30% more efficient.
So while more cores are definitly better, if you are comparing two processors with the same number of cores and all else is equal the ones with hyperthreading will perform better.
One thing to note is that AWS provides vCPUs in pairs, so even though they are giving you the number of threads you can always be sure you're getting individual cores along with them.
Since Intel processors have HTT and many workloads benefit from it, it makes sense to map the underlying physical execution units 1:1 as vCPUs. For c5.18xlarge, all of the logical processors of the system (72 threads on 36 cores) are provided as vCPUs.
If a workload does not scale well with threads, you can essentially turn them off by disabling CPUs in the OS, like maxcpus=(vcpus/2) for Linux based OSes. (e.g., maxcpus=36 for c5.18xlarge).
Is he referring to specific titles? It's been a while, but to me, the max lobby size for multiplayer games was stuck at ~70 concurrent players (sending all updates to everyone is n^2).
Can AWS provide CFN template with all valid instance types, that I can import in a CFN?
Maybe some other programmatic way as an API or CLI, i.e.:
aws ec2 describe-instance-typesBe sure to pick a region where they're available, like us-east-1.