Do Unikernels even have real value?
Do Unikernels even have real value?
Posted Jul 28, 2017 7:22 UTC (Fri) by alonz (subscriber, #815)Parent article: IncludeOS: a unikernel for C++ applications
I'm in the camp that considers the entire idea of unikernels to be a net regression in almost all meaningful metrics.
When you ignore the hype, a hypervisor is no different than a run-of-the-mill kernel. It has precisely the same tools at its disposal for dividing resources among tasks (sorry, “domains” is the new buzzword for those) and protecting them from interfering with each other. The only true difference is that hypervisors expose a lower-level API (virtual hardware) vs. kernels' richer interfaces, which actually gives the hypervisor less power to regulate behavior.
When this is combined with unikernels, we have userspace code running in the CPU's protected mode—which means vulnerabilities in this code give attackers even more powerful tools to play with. And this code talks to hardware via minimally-protected interfaces. Nothing to worry about, right?
In short: I hope this remains as an academic exercise. And I doubt any serious cloud providers will allow such magical-thinking solutions near their hardware.
