ESX, now known as ESXi, runs a customized version of the Linux kernel, specifically a stripped-down version that is optimized for virtualization tasks. The exact version can vary with releases, but it typically uses a kernel from the 2.6.x series, tailored to enhance performance and security for virtual machines.
This approach works because it allows VMware to leverage the stability and features of the Linux kernel while minimizing overhead. By customizing the kernel, VMware can ensure that only essential components are included, which reduces the attack surface and improves boot times. For instance, ESXi's architecture allows for efficient resource management, enabling multiple virtual machines to run concurrently with minimal latency.
When comparing ESXi to other hypervisors like Hyper-V or KVM, one key difference is that ESXi is a bare-metal hypervisor, meaning it runs directly on hardware without an underlying OS. This can lead to better performance and resource utilization. In contrast, KVM runs as a module within the Linux kernel, which can introduce some overhead. Choosing between these options often depends on the specific environment and requirements, such as existing infrastructure or desired management tools.