Microsoft Makes Improvement to Linux Kernel Module Caching in 6.13
Microsoft has enhanced kernel module performance in the upcoming Linux 6.13 release by implementing caching improvements using large read-only execute pages, aimed at reducing TLB pressure and optimizing loading times.
Read original articleMicrosoft has contributed significant improvements to kernel modules in the upcoming Linux 6.13 release, particularly through enhancements in memory management. A notable change, implemented by Microsoft engineer Mike Rapoport, involves caching kernel module code into huge pages, which is expected to enhance performance by reducing instruction Translation Lookaside Buffer (TLB) pressure. This feature is currently supported for x86_64 architectures and utilizes large read-only execute (ROX) pages for executable memory allocations. The process involves creating a writable copy of the module text for modifications before transferring it to ROX memory once finalized, thus optimizing module loading times. The changes were part of a larger set of performance optimizations included in the memory management pull request led by Andrew Morton. The Linux 6.13 kernel is anticipated to be released in early 2025, promising a range of new features and improvements.
- Microsoft has improved kernel module performance in Linux 6.13 through caching enhancements.
- The changes involve using large read-only execute (ROX) pages for module text allocations.
- The new caching method aims to reduce TLB pressure and improve overall performance.
- Initial support for these features is limited to x86_64 architectures.
- The Linux 6.13 release is expected in early 2025, featuring various optimizations.
Related
Linux 6.11 Kernel Features Deliver a Lot for New/Upcoming Intel and AMD Hardware
The Linux 6.11 kernel, releasing in mid-September 2024, enhances Intel and AMD hardware with improved graphics, processor support, security features, and introduces initial support for RISC-V and LoongArch architectures.
Linux 6.12 Features Super Real-Time, Sched_ext, Intel Xe2 and Pi 5
Linux 6.12 will introduce real-time PREEMPT_RT support, initial Intel Xe2 graphics and Raspberry Pi 5 support, and various enhancements, with a stable Long Term Support release expected in November.
Linux 6.12 Released with Real-Time Capabilities, Sched_Ext, AMD RDNA4 and More
Linux 6.12 has been released as the expected LTS version for 2024, featuring real-time support, enhanced graphics support, and various bug fixes, with Linux 6.13 anticipated to introduce more features.
Real-time Linux leads kernel v6.12's list of new features
Linux kernel version 6.12 introduces real-time "PREEMPT_RT" support, an extensible scheduler, improved hardware compatibility, updates to file systems, and is expected to be a Long-Term Support version.
Linux 6.13 KVM Eliminates an "Awful Idea", Many x86_64 Improvements
Linux 6.13 enhances KVM by addressing security issues, adding hibernation support for ARM, accelerating operations for RISC-V, and optimizing memory management for x86_64, improving overall functionality across architectures.
Related
Linux 6.11 Kernel Features Deliver a Lot for New/Upcoming Intel and AMD Hardware
The Linux 6.11 kernel, releasing in mid-September 2024, enhances Intel and AMD hardware with improved graphics, processor support, security features, and introduces initial support for RISC-V and LoongArch architectures.
Linux 6.12 Features Super Real-Time, Sched_ext, Intel Xe2 and Pi 5
Linux 6.12 will introduce real-time PREEMPT_RT support, initial Intel Xe2 graphics and Raspberry Pi 5 support, and various enhancements, with a stable Long Term Support release expected in November.
Linux 6.12 Released with Real-Time Capabilities, Sched_Ext, AMD RDNA4 and More
Linux 6.12 has been released as the expected LTS version for 2024, featuring real-time support, enhanced graphics support, and various bug fixes, with Linux 6.13 anticipated to introduce more features.
Real-time Linux leads kernel v6.12's list of new features
Linux kernel version 6.12 introduces real-time "PREEMPT_RT" support, an extensible scheduler, improved hardware compatibility, updates to file systems, and is expected to be a Long-Term Support version.
Linux 6.13 KVM Eliminates an "Awful Idea", Many x86_64 Improvements
Linux 6.13 enhances KVM by addressing security issues, adding hibernation support for ARM, accelerating operations for RISC-V, and optimizing memory management for x86_64, improving overall functionality across architectures.