Linux Kernel Patch Archives - TechGoing https://www.techgoing.com/tag/linux-kernel-patch/ Technology News and Reviews Mon, 07 Nov 2022 03:22:14 +0000 en-US hourly 1 https://wordpress.org/?v=6.4.4 Microsoft provides patch for Linux kernel to add nested hypervisor support https://www.techgoing.com/microsoft-provides-patch-for-linux-kernel-to-add-nested-hypervisor-support/ Mon, 07 Nov 2022 03:22:10 +0000 https://www.techgoing.com/?p=43284 Microsoft’s latest patch for the Linux kernel is designed to extend kernel support by allowing running on nested Microsoft (MSHV) hypervisors, i.e., running multiple instances of Linux and even running additional operating systems within a running virtual machine system. Jinank Jain of Microsoft’s Linux team issued a set of patches on Wednesday to add support […]

The post Microsoft provides patch for Linux kernel to add nested hypervisor support appeared first on TechGoing.

]]>
Microsoft’s latest patch for the Linux kernel is designed to extend kernel support by allowing running on nested Microsoft (MSHV) hypervisors, i.e., running multiple instances of Linux and even running additional operating systems within a running virtual machine system.

Jinank Jain of Microsoft’s Linux team issued a set of patches on Wednesday to add support for running Linux on nested Microsoft hypervisors. There are specific Hypercalls that need to be redirected to the L0 hypervisor instead of the L1 hypervisor, and this patch series is making changes to them.

With just over 100 lines of new code, the handling of nested Hypercalls in the Microsoft/MSHV support code has been implemented to allow the creation of nested hypervisor support, i.e. Hyper-V running Hyper-V again in a Hyper-V virtual machine.

This work is currently resting on this patch series. If the code review goes well, this nested Microsoft Hypervisor support may gain traction in the Linux v6.2 kernel cycle.

The post Microsoft provides patch for Linux kernel to add nested hypervisor support appeared first on TechGoing.

]]>
Linux gets Intel CPU size-core optimization again, performance catching up with Windows11 https://www.techgoing.com/linux-gets-intel-cpu-size-core-optimization-again-performance-catching-up-with-windows11/ Sun, 28 Aug 2022 02:21:52 +0000 https://www.techgoing.com/?p=19978 When Intel announced the Alder Lake CPU architecture core design, the company said Windows 11 has been optimized for that size core design, along with the latest Thread Director technology to help with task scheduling, so real-world performance is better than Linux and Windows 10. The latest tests conducted on Ubuntu using Linux kernel version […]

The post Linux gets Intel CPU size-core optimization again, performance catching up with Windows11 appeared first on TechGoing.

]]>
When Intel announced the Alder Lake CPU architecture core design, the company said Windows 11 has been optimized for that size core design, along with the latest Thread Director technology to help with task scheduling, so real-world performance is better than Linux and Windows 10.

The latest tests conducted on Ubuntu using Linux kernel version 5.18 show that the performance of the Alder Lake-S Core i9-12900K on Linux and on Windows 11 is no longer too different. There is no longer a big difference in performance.

And recently, Intel Linux engineer Ricardo Neri submitted a new patch to the Linux kernel that improves task scheduling between the P-core (performance core) and the E-core (energy efficient core).

"On processors with a mix of higher frequency SMT cores and lower frequency non-SMT cores (e.g. Intel hybrid processors), if multiple SMT peer processors are busy, the lower priority CPU will pull tasks from the higher priority core.

Do not use a different priority for each SMT peer. Instead, adjust the asym_packing load balancer to identify SMT kernels with multiple busy siblings and let the lower priority CPUs pull tasks.

Removing these artificial priorities avoids redundant migrations and allows the lower priority cores to check all SMT peers for the busiest queues."

In addition, Intel’s upcoming 13th-generation Raptor Lake and future 14th-generation Meteor Lake CPUs are expected to use a similar hybrid architecture, so optimizations for Linux will be seen in later generations as well.

The post Linux gets Intel CPU size-core optimization again, performance catching up with Windows11 appeared first on TechGoing.

]]>