深度参数对移动App能耗影响的实证研究
An Empirical Study on the Impact of Deep Parameters on Mobile App Energy Usage
摘要:
通过配置参数调优来提高软件性能是软件维护过程中常见的活动。除了延迟等传统性能指标外,移动应用程序开发人员还对减少应用程序的能源使用感兴趣。某些移动应用程序具有用于参数调优的集中位置,类似于数据库和操作系统,但移动应用程序通常会在源代码中分散数百个参数。这些“深度”参数与应用程序能耗之间的相关性尚不清楚。研究人员已经在特定模块中研究了深部参数的能量效应,但我们对移动深部参数的能量影响缺乏系统的认识。在本文中,我们实证调查这一主题,结合系统的能源测量开发人员的调查。我们对25名Android开发者的动机调查表明,开发者不理解,并且在很大程度上忽视了深层参数的能量影响。为了评估这种做法的潜在影响,我们提出了一个深度参数能量分析框架,可以分析应用程序中深度参数的能量影响。我们的框架识别深度参数,根据我们的参数值选择方案对其进行变异,并执行可靠的能量影响分析。将该框架应用于16个流行的Android应用程序,我们发现深度参数引起的能源效率低下是罕见的。我们发现,在1644个深度参数中,只有2个参数的不同值可以显著提高其应用程序的能源效率。详细分析发现,大多数深层参数要么没有能量影响,要么能量影响有限,要么只有在极端值下才有能量影响。我们的研究表明,开发人员在移动应用程序中选择深度参数值时忽略能源影响通常是安全的。
英文摘要:
Improving software performance through configuration parameter tuning is a common activity during software maintenance. Beyond traditional performance metrics like latency, mobile app developers are interested in reducing app energy usage. Some mobile apps have centralized locations for parameter tuning, similar to databases and operating systems, but it is common for mobile apps to have hundreds of parameters scattered around the source code. The correlation between these "deep" parameters and app energy usage is unclear. Researchers have studied the energy effects of deep parameters in specific modules, but we lack a systematic understanding of the energy impact of mobile deep parameters. In this paper we empirically investigate this topic, combining a developer survey with systematic energy measurements. Our motivational survey of 25 Android developers suggests that developers do not understand, and largely ignore, the energy impact of deep parameters. To assess the potential implications of this practice, we propose a deep parameter energy profiling framework that can analyze the energy impact of deep parameters in an app. Our framework identifies deep parameters, mutates them based on our parameter value selection scheme, and performs reliable energy impact analysis. Applying the framework to 16 popular Android apps, we discovered that deep parameter-induced energy inefficiency is rare. We found only 2 out of 1644 deep parameters for which a different value would significantly improve its app's energy efficiency. A detailed analysis found that most deep parameters have either no energy impact, limited energy impact, or an energy impact only under extreme values. Our study suggests that it is generally safe for developers to ignore the energy impact when choosing deep parameter values in mobile apps.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。