3 ms·
Hypervisor: small well-defined interface, loosely coupled from the things running inside it, everything running is extremely isolated. OS: sprawling interface,
by lmm 11y ago
Hypervisor: small well-defined interface, loosely coupled from the things running inside it, everything running is extremely isolated.
OS: sprawling interface, tighter integration with what's running on it, provides a lot of shared interfaces for the things running inside.
Hypervisor advantages: much more secure, tenants unlikely to experience resource starvation (because scheduling is probably simple round-robin or similar)
OS advantages: potentially better scheduling (it can prioritize, it knows which processes are doing I/O and which are using CPU), lots of easy ways to do ad-hoc cooperation between tenants (e.g. filesystem, pipes, signals)