Get the App
SLTechnology News&Howtos  ›  IT Information  › 

Android 14 phones will enable Linux kernel MGLRU by default, reducing App startup time

Shulou Source: shulou.com Published: 2023-11-24 21:19:48 10月03日 Update

Thank CTOnews.com netizens soft media Xinyou 1933769 for the clue delivery! CTOnews.com October 18, the Linux 6.1 kernel in December last year introduced a feature called Multi-Generational Least-Recently-Used (MGLRU) that claims to optimize the page recycling mechanism and improve performance under heavy memory loads.

According to the latest findings from Android whistleblower Mishaal Rahman, MGLRU is enabled by default for all Android 14 kernels (android14-5.15and android14-6.1). The core of Google Pixel 8 series is based on android14-5.1GKI, which is the first phone in the world to enable MGLRU by default.

Mishaal Rahman said that Google's benchmark test shows that when MGLRU is enabled, the overall startup time of App will be improved, the overall number of process deaths will be reduced, kswapd CPU usage will be reduced, and so on. The flagship products of the next generation of Qualcomm and MediaTek chipsets should also enable this feature by default.

▲ source Linux Plumbers conference official live broadcast according to Google's demonstration at the Linux Plumbers conference in 2022, after the Pixel 6 phone turns on MGLRU:

The overall startup time of App has been reduced by about 6.60%

The overall killing of backstage decreased by 8.04%.

Kswapd CPU usage decreased by 54.50%

The number of direct recycling decreased by 81.10%.

CTOnews.com partners can check whether MGLRU is enabled or supported on their phones through the adb command:

Cat / proc/config.gz | gunzip | grep 'CONFIG_LRU_GEN'. If CONFIG_LRU_GEN=y is displayed, it is supported but not enabled.

If CONFIG_LRU_GEN_ENABLED=y is displayed, it is enabled.

Tags: Overall kernel feature mobile phone time conference number of times support Android next generation product usage global memory can pass background command benchmark official boy Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno macOS Xiaomi Shulou Tech Info NVidia Huawei