Google’s newly launched Pixel 8 series carries a unique distinction – they are the first Android phones to run Linux kernels with the MGLRU feature enabled by default. This change promises to optimize memory management and boost real-world performance.
MGLRU stands for multi-generational least recently used. It enhances the kernel’s logic for reclaiming memory pages by considering page age and not just least recent use. This smarter approach ensures resources get freed from the optimal processes.
From Mishaal Rahman, Google’s own testing showed MGLRU decreasing app launch times, reducing process kills, lowering kswapd CPU usage, and additional benefits.
MGLRU is now enabled in all Android 14 device kernels, including the Pixel 8’s linux kernel version 5.15. Upcoming Android flagships running android14-6.1 kernels or powered by next-gen Qualcomm and MediaTek chipsets will also leverage MGLRU.
Essentially, MGLRU allows for more efficient memory allocation and reclamation. With mobile devices having limited RAM, optimizing kernel memory management is crucial for smooth multitasking and optimal use of system resources.
By pioneering the enablement of MGLRU in Android 14, Google continues driving platform improvements that ultimately filter down to consumers. Even small low-level optimizations like this can improve real-world end user experience.
Features like MGLRU exemplify Google’s commitment to making Android not just functional, but highly performant. The Pixel 8 series serves as the showcase for the latest optimizations that eventually make their way to many future Android devices.
Under the hood, changes like MGLRU may seem minor. But incremental enhancements add up, and Google’s relentless drive to perfect Android continues moving the ecosystem forward.