Posts

Showing posts from March, 2023

High Performance Linux Kernel 6.12 LTS for Hyper-V

Image
I made this high performance Linux Kernel 6.12 LTS for Hyper-V for my self learning lab. Why Hyper-V? Because it's availabe for free in Windows Pro since 8.1 Pro. It is also Type 1 hypervisor, similar to VMware ESX or KVM, so it's much more faster than Type 2 hypervisor such as VMWare Workstation or VirtualBox. It boots in 6 seconds and whole OS needs less than 400MB of RAM. The kernel config is based on latest Oracle UEK8 kernel configuration that is applied to kernel 6.12 LTS. The high performance is gained by enabling and disabling some kernel options/components: Enabled: Hyper-V DRM, instead of Hyper-V framebuffer; AES-NI and AVX hardware accelerated encryption method as built-in, not module; etc. Disabled: 32 bit support; non AMD cpu (I compiled this kernel using native flag in AMD Zen4); Virtualization host; Many physical hardware drivers; NVME; KVM; Xen; Vmware; ACPI thermal, CPU frequency, power supply; Linux security models (SELinux, AppArmor, etc....