3 ms·
Are unikernels a performance/efficiency tool? Squeezing more nodes into a single host with minimal overhead. Or are they a tool to achieve simplicity/elegance?
by johngalt 5y ago
Are unikernels a performance/efficiency tool? Squeezing more nodes into a single host with minimal overhead.
Or are they a tool to achieve simplicity/elegance? Fewer moving parts to troubleshoot at the OS layer, and smaller but more formal composition.
- birdyrooster 5y agoEveryone moved to containerize their code and then security organizations in corporations have been putting the brakes on that and pushing for virtualization layer for additional isolation in multi tenant environments. Since every container ends up being a virtual machine anyways, the only way to slim down is unikernel.
- pjmlp 5y agoThe irony of having Kata Containers or Hyper-V Isolation, because containers alone are not enough.
- tenebrisalietum 5y agoYep. I think this is how it works. Kernel becomes a library the application uses instead of something that jumps over the CPU context. Application runs as root with the rump kernel or unikernel liked in. Only portions of kernel actually used need to be present. System calls become function calls. Multitasking support provided by a threading library. You shouldn't run multiple applications in a unikernel. If you have a number of servers running a hypervisor as a base OS, and your applications on its VMs are network-centric like web servers, load balancers, database services, or microservices, and you don't really use the user-level security of a traditional OS, this can enhance performance by eliminating the user-kernel CPU context switch and consume less RAM.