A method to improve application launch performance in Android devices - CodeShoppy
Even after the introduction of
Android Runtime (ART) in the latest release of Android Lollipop, Android
Operating System still struggles in areas such as application launch
time, especially during sluggish or memory crunch situations. When a new
application is launched in a sluggish condition, low memory killer
(LMK) gets initiated in order to free some memory by killing the already
running applications. The current LMK approach kills application based
on how recently it was used. This approach does not consider various
other user scenarios such as how frequently the application was launched
or how important that application is to user. In our proposed solution,
we aim to improve user experience by reducing or removing the delay at
memory crunch situations with efficient use of LMK.
Market share for android smartphones have been increasing exponentially day by day. With this increase in numbers of phones sold every year, even the demands for a better quality of the android phones are increasing in the competitive market. To meet the high expectations of users, companies are putting good amount of efforts in the improvement of hardware as well as software. While smartphone hardware market is already saturating to an extent, there is a lot of scope for improvement on software design on top of Google’s stock Android for better user experience.
As far as user experience is concerned, application launch time is one of the most important performance parameter for any smartphone device. In general, due to the usage of many applications, a good amount of RAM gets consumed resulting in phone sluggishness. This sluggishness is very much visible to the user especially when a particular application, which user wanted to re-use, is already killed by LMK. In our proposed solution, we intend to provide a better user experience by improving LMK’s algorithm based on user’s usage of various applications. Thereby, enhance user experience by decreasing application launch time of favorite applications Android PHP Projects - Students Projects
Android operating system has an in-built task killer, called low memory killer (LMK). The LMK keeps an eye on the real time RAM usage of all applications. Whenever excess of RAM is consumed, the LMK starts killing applications to free-upsome memory . For the killing of applications, LMK has defined some set of priorities through oom_adj value. This oom_adj is set by android kernel for each process on the Android system. It ranges from -17 at the highest to +15 at the lowest. Therefore, in memory crunch situation, LMK is called and it starts killing applications from the lowest oom_adj i.e. oom_adj value of +15. For this paper, we target only the cached applications that range from +9 to +15. As important applications and services have higher priority than cached applications, so we need not worry about them.
No comments:
Post a Comment