4 ms·
I forgot about Xen, is it still popular I thought everything moved to KVM in the last 10years?
by Thaxll 4y ago
I forgot about Xen, is it still popular I thought everything moved to KVM in the last 10years?
- sofixa 4y agoNot really. VMware vSphere and KVM based virtualisations are by far the most popular. Xen's last holdout was AWS' custom version of it, but that has been replaced since a few generations ago with the KVM-based Nitro. So it's basically a niche thing, mostly used by those who already had it/know it (VMware vSphere is going down that road as well, it's basically legacy today).
- eixiepia 4y agoYes it's still popular in some places, and lots of new development is going on. Xen is superior to KVM in my opinion.
- AshamedCaptain 4y agoI'd actually _like_ to use Xen, but as far as I can see is just dead in all but name. To name one example, nested virtualization support is not only hopelessly broken, it's MORE broken in recent releases than it was a decade ago. You can see right here how the feature kept getting broken by every other release until nothing worked anymore: https://wiki.xenproject.org/wiki/Nested_Virtualization_in_Xen https://wiki.xenproject.org/wiki/Nested_Virtualization_in_Xe.... And Xen is literally the only virtualizer out there that does not support nested virtualization, which is a rather critical feature since many (dev) stacks assume one has hardware virtualization, and Windows is going to require it sooner than later.
- naasking 4y agoIf nested virtualization isn't used by their main customers I'm not sure it's that critical to them
- plam503711 4y agoXen Project is far being dead (there's a lot of activity in the mailing list, and now, thanks to new contributors like Vates/XCP-ng, there's also more initiatives to have a decent project tracking, see https://gitlab.com/groups/xen-project/-/epics?state=opened&page=1&sort=start_date_desc https://gitlab.com/groups/xen-project/-/epics?state=opened&p... for example). Regarding nested virt, you are mostly right: it's only "working-ish" for basic things, but indeed, it's broken when you start to use anything heavy in your nested VM. The main reason nobody fixed it is because it's not really used: as any other open source project, you find what you need if you contribute. Obviously, as soon someone will need this and willing to contribute, it will change :)
- plam503711 4y ago"The reports of my death are greatly exaggerated" Regards, Xen.
- Joker_vD 4y agoIt must be Delphi's brother then: not quite dead, but calling them alive too would be a stretch. What a wonderful world full of undead technologies we live in.
- gwd 4y agoXen and KVM are different beasts. Xen can implement things like a CPU scheduler exclusively focused on VMs, while KVM has to deal with the normal Linux scheduler for processes. Xen can do advanced defense-in-depth techniques like driver domains -- something impossible to implement on KVM. Xen has a mature security response process; if you're a cloud provider, or ship anything with Xen inside of it, you can be notified of security issues typically two weeks before the public disclosure; and we're quite thorough about what we issue security alerts for. For KVM, you just have to hope that your functionality is worth issuing a CVE about, and unless you're a distro, you're only going to be told after it's been made public. Xen is a microkernel, so you can run it on tiny embedded devices for which Linux / KVM would be too big. Xen is small enough that it's actually feasible to do Functional Safety Certification on it. That's why Xen is still used by QubesOS, the NSA, and various defense contractors; why a number of cloud providers (including say, Ghandi.net) use Xen; why Xilinx has their own Xen distribution; and why Xen is in the reference implementation for ARM's automotive stack -- in addition to being officially supported by SUSE, and being the driving engine behind Citrix Hypervisor and XCP-ng.
- schainks 4y agoSpin up an EC2 node recently?
- monocasa 4y agoI was under the impression that Amazon has a custom, proprietary hypervisor these days that's simply compatible with Xen's hypervisor<->guest interfaces.
- schainks 4y agoThe Xen project members list suggests otherwise: https://xenproject.org/about-us/project-members/ https://xenproject.org/about-us/project-members/ Even if it is a custom hypervisor, AWS likely derived it from Xen and sponsors the project to continue doing so.
- deleted 4y ago[deleted]
- plam503711 4y agoIt's not a custom Xen: it's *is* Xen (AFAIK, with possibly their own patch queue for some specific needs on top of it). What's custom is the toolstack around it :)
- paulfurtado 4y agoSince 2017, all new aws instance types have been "nitro", which is based on kvm https://www.brendangregg.com/blog/2017-11-29/aws-ec2-virtualization-2017.html https://www.brendangregg.com/blog/2017-11-29/aws-ec2-virtual... AWS does continue to support older instance types, however, but only legacy workloads are using them. They actually now even run the XEN based legacy instance types on nitro. https://perspectives.mvdirona.com/2021/11/xen-on-nitro-aws-nitro-for-legacy-instances/ https://perspectives.mvdirona.com/2021/11/xen-on-nitro-aws-n...
- robcohen 4y agoQubesOS uses Xen