Notices



Future versions of Android may go easier on app killing

AVN News Feed

Post New ThreadReply
 
Thread Tools
  #1  
Old 04-19-2022, 10:40 PM
phillynewsnow's Avatar
phillynewsnow phillynewsnow is offline   Thread Starter  
Site Moderator - Staff

 
Join Date: October 11th, 2009
Posts: 4,640
Thanks: 0
Thanked 668 Times in 568 Posts
Downloads: 0
Uploads: 0


View phillynewsnow's Profile   Edit Options Edit Profile Picture View phillynewsnow's Photo Album Add phillynewsnow's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
Future versions of Android may go easier on app killing

Future versions of Android may go easier on app killing



One of the most frustrating experiences on an Android phone is when apps are killed in the background. Notifications might stop coming through, whatever you were last doing is gone, and it’s an entirely randomized behavior. Some Android phones are better than others, but pretty much all of them will experience it at some point. But a future change in Android, maybe even Android 13, may mean that your apps may not be killed as quickly in the future.

The feature, called “Multi-Generational Least Recently Used” (or MGLRU), has already been rolled out on Chrome OS for some time now, with the company maintaining MGLRU over “a number of different kernels between 4.14 and 5.15”. One Googler says that it’s become “the default for tens of millions of users”, and now it seems that the feature is making its way to Android. A commit on the Android Gerrit shows that Google has merged the change for Android 13’s Generic Kernel Image (GKI), and another commit shows that soon, it may even be possible to enable it via adb. That second commit hasn’t been merged yet, but it’s currently under review.

The feature achieves two major goals that Android users should be very interested in. The first is that Google identified a 40% reduction in kswapd CPU usage, and the second is that Google identified a decrease in 18% of out-of-memory (OOM) app killings on Android. The same Google engineer says that the company tested MGLRU on “one million” Android devices, which seems to be in reference to the Android Runtime on Chrome OS Virtual Machine (ARCVM) which powers Android 11 on Chrome OS. “We’ve seen substantial improvements in terms of CPU utilization and memory pressure resulting in fewer OOM kills and reduced UI latency”, they wrote.

As for what all of this means, it’s fairly simple. kswapd is the process that manages virtual memory, meaning that if there’s a 40% reduction in its CPU usage, that’s a lot of potential processing headroom being freed up. As for the out-of-memory app killings, that speaks for itself, and will obviously be an immediately tangible benefit to end-users. We’ve seen plenty of devices that struggle with memory management and delivering notifications on time or app killing in the background.

Currently, it’s not clear if Google will test the feature out on some users for Android 13, let alone enable it by default, but it’s going to be a benefit to users when it does roll out. We’ll be keeping a close eye on this development to see if anything changes in the future.

Source: Android Gerrit (1), (2)

Thanks to XDA Recognized Developer luca020400 for his assistance in this article!


The post Future versions of Android may go easier on app killing appeared first on xda-developers.



More...
Reply With Quote
Post New ThreadReply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Google is reportedly killing off its future Pixelbook plans phillynewsnow AVN News Feed 0 09-12-2022 05:03 PM
Zoom is killing its Chrome OS app in favor of PWA phillynewsnow AVN News Feed 0 06-19-2022 02:10 PM
Verizon LG Velvet receives Android 12, other carrier versions still waiting phillynewsnow AVN News Feed 0 04-18-2022 09:54 AM
Google’s new app makes it easier for iOS users to switch to Android phillynewsnow AVN News Feed 0 04-14-2022 06:14 AM
Android versions of WinMo apps roopull General Questions 12 12-03-2009 04:46 PM


All times are GMT -5. The time now is 10:49 AM.

Layout Options | Width: Fixed
Contact Us - SPJ Bulletin - Archive - Privacy Statement - Terms of Service - Top