• bregma 2 hours ago

    So, if I understand correctly, a "unikernel" is what we used to call an "executive" except it is intended to be run as a guest on a virtual machine provided by a full-fledged traditional kernel/userspace OS instead of on bare metal.

    The article does reintroduce some concepts that were commonplace when I was first learning computers and it gives them some new names. I like that good ideas can still be useful after years of not being the latest fad, and it's great that someone can get new credit for an old idea with just a little bit of marketing spin.

    • g-b-r 43 minutes ago

      They can generally be run on bare metal, to my knowledge.

      I personally don't remember exactly what was meant with "executive".

    • deivid 6 hours ago

      This is really well written, thanks for sharing.

      I didn't understand the point of using Unikraft though, if you can boot linux in much less than 150ms, with a far less exotic environment

      • iberator 4 hours ago

        Which architecture can boot it in 150ms ?!

        • rwmj 15 minutes ago

          I think "in a VM" was elided. It's easy to tune qemu + Linux to boot up a VM in 150ms (or much less in fact).

          Real hardware is unfortunately limited by the time it takes to initialize firmware, some of which could be solvable with open source firmware and some (eg. RAM training) is not easily fixable.

          • jumploops 3 hours ago

            Boot is a misleading term, but you can resume snapshotted VMs in single digit ms

            (and without unikernels, though they certainly help)

            • hun3 2 hours ago

              Stripping away unused drivers (.config) and other "bloats" can get you surprisingly far.

              • iberator an hour ago

                But 150ms? That's boot time for dos or minix maybe (tiny kernels). 1s sure.

              • binsquare 3 hours ago

                Microvm's

              • pjmlp 4 hours ago

                Security, it isn't only memory footprint.

              • hun3 2 hours ago

                Hypervisor as a microkernel

                • rantingdemon 3 hours ago

                  I would like to follow the tutorial but it mentions a playground.

                  Am I missing something as I cannot find a link or instructions for the playground.

                  • chloeburbank 3 hours ago

                    once you login with github there's a start button on top left for that

                    • rantingdemon an hour ago

                      Thanks

                  • tuananh 3 hours ago

                    the missing piece of unikernel is debuggability & observability

                    - it need to be easy to replicate on dev machine & easy to debug - it needs to integrate well with current obs stack. easy to debug in production.

                    without clear debuggability & observability, i would never put it into production

                  • traxler 6 hours ago

                    I've found the idea of unikernels interesting for several years now, is there a tl;dr on why they don't seem to have taken off, like at all? Or is it all happening behind some doors I don't have access to?

                    • gucci-on-fleek 5 hours ago

                      I think that part of it is that relatively few people use bare-metal servers these days, and nested virtualisation isn't universally supported. I also found this technical critique [0] compelling, but I have no idea if any of it is accurate or not.

                      [0]: https://www.tritondatacenter.com/blog/unikernels-are-unfit-f...

                      • traxler 5 hours ago

                        When I first heard about unikernels my hope/thought was that people would go back to using more bare-metal servers for unikernels.

                        • tuananh 3 hours ago

                          there is a workaround for nested virt requirements.

                          you can use PVM patch and para-virtualization. I've seen several startup using that approach to be able to create VM on small/cheap EC2 instances.

                        • pjmlp 4 hours ago

                          They kind of did, that is basically how serverless works.

                          Managed runtimes on top of hypervisors.

                        • chloeburbank 3 hours ago

                          cool stuff