Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

  > less overhead than VMs
Make sure to benchmark your workload first -- gVisor's I/O subsystem is a lot slower than the Linux kernel's, so a VM can be materially faster if you're doing a lot of filesystem operations or file I/O.

One of the systems I built at a former employer supported both gVisor and Firecracker for isolation, and the gVisor version was 10-50x slower for a specific class of workload that did ~millions of stat() calls at startup.



Yup, very good point. I think that something like gVisor should probably be your second choice after you've eliminated VMs for whatever reason.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: