|
|
|
|
|
by m132
116 days ago
|
|
> The trade-off versus gVisor is that microVMs have higher per-instance overhead but stronger, hardware-enforced isolation. Having worked on kernel and hypervisor code, I really don't see much of a difference in terms of isolation. Could you elaborate on this? |
|
Whereas yeah, you can run gVisor in KVM mode where it does use hardware virtualization, and at that point the isolation boundary is much closer to a microVM's. I believe the real difference then becomes more about what's on either side of that boundary where gVisor gives you a memory-safe Go kernel making ~70 host syscalls, a microVM gives you a full guest Linux kernel behind a minimal VMM. So at least in my mind it comes down to a bit of around different trust chains, not necessarily one strictly stronger than the other.