4 ms·
Which architecture can boot it in 150ms ?!
by iberator 9mo ago
Which architecture can boot it in 150ms ?!
- binsquare 9mo agoMicrovm's
- jumploops 9mo agoBoot is a misleading term, but you can resume snapshotted VMs in single digit ms (and without unikernels, though they certainly help)
- deivid 9mo agoYou can boot a vm without snapshots in < 10ms, just need a minimal kernel.
- hun3 9mo agoStripping away unused drivers (.config) and other "bloats" can get you surprisingly far.
- iberator 9mo agoBut 150ms? That's boot time for dos or minix maybe (tiny kernels). 1s sure.
- deivid 9mo agoYou can do <10ms. I was working to see if I could get it under 1ms, but my best was 3.5ms
- balou23 9mo agoFreeBSD did some work to boot in 25ms. Source: https://www.theregister.com/2023/08/29/freebsd_boots_in_25ms/ https://www.theregister.com/2023/08/29/freebsd_boots_in_25ms...
- gpderetta 9mo agofor example: https://firecracker-microvm.github.io/ https://firecracker-microvm.github.io/
- TacticalCoder 9mo agoAnd most importantly and TFA mentions it several times: stripping unused drivers (and even the ability to load drivers/modules) and bloat brings very real security benefits. I know you were responding about the boot times but that's just the icing on the cake.
- hun3 9mo agoMostly depends on how bloat correlates to attack surface, but you're right
- rwmj 9mo agoI 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.