Deconstructing the Energy Consumption of the Mobile Page Load

Yi Cao, Javad Nejati, Muhammad Wajahat, A. Balasubramanian, Anshul Gandhi
{"title":"Deconstructing the Energy Consumption of the Mobile Page Load","authors":"Yi Cao, Javad Nejati, Muhammad Wajahat, A. Balasubramanian, Anshul Gandhi","doi":"10.1145/3143314.3078587","DOIUrl":null,"url":null,"abstract":"Mobile Web page performance is critical to content providers, service providers, and users, as Web browsers are one of the most popular apps on phones. Slow Web pages are known to adversely affect profits and lead to user abandonment. While improving mobile web performance has drawn increasing attention, most optimizations tend to overlook an important factor, energy. Given the importance of battery life for mobile users, we argue that web page optimizations should be evaluated for their impact on energy consumption. However, examining the energy effects of a web optimization is challenging, even if one has access to power monitors, for several reasons. First, the page load process is relatively short-lived, ranging from several milliseconds to a few seconds. Fine-grained resource monitoring on such short timescales to model energy consumption is known to incur substantial overhead. Second, Web pages are complex. A Web enhancement can have widely varying effects on different page load activities. Thus, studying the energy impact of a Web enhancement on page loads requires understanding its effects on each page load activity. Existing approaches to analyzing mobile energy typically focus on profiling and modeling the resource consumption of the device during execution. Such approaches consider long-running services and apps such as games, audio, and video streaming, for which low-overhead, coarse-grained resource monitoring suffices. For page loads, however, coarse-grained resource monitoring is not sufficient to analyze the energy consumption of individual, short-lived, page load activities. We present RECON (REsource- and COmpoNent-based modeling), a modeling approach that addresses the above challenges to estimate the energy consumption of any Web page load. The key intuition behind RECON is to go beyond resource-level information and exploit application-level semantics to capture the individual Web page load activities. Instead of modeling the energy consumption at the full page load level, which is too coarse grained, RECON models at a much finer component level granularity. Components are individual page load activities such as loading objects, parsing the page, or evaluating JavaScript. To do this, RECON combines coarse-grained resource utilization and component-level Web page load information available from existing tools. During the initial training stage, RECON uses a power monitor to measure the energy consumption during a set of page load processes and juxtaposes this power consumption with coarse-grained resource and component information. RECON uses both simple linear regression and more complex neural networks to build a model of the power consumption as a function of the resources used and the individual page load components, thus providing benefits over individual models. Using the model, RECON can estimate the energy consumption of any Web page loaded as-is or upon applying any enhancement, without the monitor. We experimentally evaluate RECON on the Samsung Galaxy S4, S5, and Nexus devices using 80 Web pages. Comparisons with actual power measurements from a fine-grained power meter show that, using the linear regression model, RECON can estimate the energy consumption of the entire page load with a mean error of 6.3% and that of individual page load activity segments with a mean error of 16.4%. When trained as a neural network, RECON's mean error for page energy estimation reduces to 5.4% and the mean segment error is 16.5%. We show that RECON can accurately estimate the energy consumption of a Web page under different network conditions, such as lower bandwidth or higher RTT, even when the model is trained under a default network condition. RECON also accurately estimates the energy consumption of a Web page after applying popular Web enhancements including ad blocking, inlining, compression, and caching.","PeriodicalId":133673,"journal":{"name":"Proceedings of the 2017 ACM SIGMETRICS / International Conference on Measurement and Modeling of Computer Systems","volume":"21 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2017-06-05","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"24","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 2017 ACM SIGMETRICS / International Conference on Measurement and Modeling of Computer Systems","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3143314.3078587","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 24

Abstract

Mobile Web page performance is critical to content providers, service providers, and users, as Web browsers are one of the most popular apps on phones. Slow Web pages are known to adversely affect profits and lead to user abandonment. While improving mobile web performance has drawn increasing attention, most optimizations tend to overlook an important factor, energy. Given the importance of battery life for mobile users, we argue that web page optimizations should be evaluated for their impact on energy consumption. However, examining the energy effects of a web optimization is challenging, even if one has access to power monitors, for several reasons. First, the page load process is relatively short-lived, ranging from several milliseconds to a few seconds. Fine-grained resource monitoring on such short timescales to model energy consumption is known to incur substantial overhead. Second, Web pages are complex. A Web enhancement can have widely varying effects on different page load activities. Thus, studying the energy impact of a Web enhancement on page loads requires understanding its effects on each page load activity. Existing approaches to analyzing mobile energy typically focus on profiling and modeling the resource consumption of the device during execution. Such approaches consider long-running services and apps such as games, audio, and video streaming, for which low-overhead, coarse-grained resource monitoring suffices. For page loads, however, coarse-grained resource monitoring is not sufficient to analyze the energy consumption of individual, short-lived, page load activities. We present RECON (REsource- and COmpoNent-based modeling), a modeling approach that addresses the above challenges to estimate the energy consumption of any Web page load. The key intuition behind RECON is to go beyond resource-level information and exploit application-level semantics to capture the individual Web page load activities. Instead of modeling the energy consumption at the full page load level, which is too coarse grained, RECON models at a much finer component level granularity. Components are individual page load activities such as loading objects, parsing the page, or evaluating JavaScript. To do this, RECON combines coarse-grained resource utilization and component-level Web page load information available from existing tools. During the initial training stage, RECON uses a power monitor to measure the energy consumption during a set of page load processes and juxtaposes this power consumption with coarse-grained resource and component information. RECON uses both simple linear regression and more complex neural networks to build a model of the power consumption as a function of the resources used and the individual page load components, thus providing benefits over individual models. Using the model, RECON can estimate the energy consumption of any Web page loaded as-is or upon applying any enhancement, without the monitor. We experimentally evaluate RECON on the Samsung Galaxy S4, S5, and Nexus devices using 80 Web pages. Comparisons with actual power measurements from a fine-grained power meter show that, using the linear regression model, RECON can estimate the energy consumption of the entire page load with a mean error of 6.3% and that of individual page load activity segments with a mean error of 16.4%. When trained as a neural network, RECON's mean error for page energy estimation reduces to 5.4% and the mean segment error is 16.5%. We show that RECON can accurately estimate the energy consumption of a Web page under different network conditions, such as lower bandwidth or higher RTT, even when the model is trained under a default network condition. RECON also accurately estimates the energy consumption of a Web page after applying popular Web enhancements including ad blocking, inlining, compression, and caching.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
解构移动页面加载的能量消耗
移动Web页面的性能对于内容提供商、服务提供商和用户来说至关重要,因为Web浏览器是手机上最流行的应用程序之一。众所周知,慢速网页会对利润产生不利影响,并导致用户放弃。虽然提高移动web性能已经引起了越来越多的关注,但大多数优化往往忽略了一个重要因素,即能量。考虑到电池寿命对移动用户的重要性,我们认为应该评估网页优化对能源消耗的影响。然而,检查网络优化的能源影响是具有挑战性的,即使一个人可以访问电力监视器,原因有几个。首先,页面加载过程相对较短,从几毫秒到几秒钟不等。众所周知,在如此短的时间尺度上对资源进行细粒度监控以对能源消耗进行建模会产生大量开销。其次,Web页面很复杂。Web增强可以对不同的页面加载活动产生不同的效果。因此,研究Web增强对页面加载的能量影响需要了解它对每个页面加载活动的影响。分析移动能源的现有方法通常侧重于分析和建模设备在执行过程中的资源消耗。这些方法考虑了长时间运行的服务和应用程序,如游戏、音频和视频流,对于这些服务和应用程序,低开销、粗粒度的资源监控就足够了。然而,对于页面加载,粗粒度的资源监控不足以分析单个短期页面加载活动的能耗。我们提出RECON(基于资源和组件的建模),这是一种建模方法,可以解决上述估算任何Web页面加载的能耗的挑战。RECON背后的关键直觉是超越资源级信息,并利用应用程序级语义来捕获单个Web页面加载活动。RECON没有在整个页面加载级别对能耗进行建模,因为这种建模粒度太粗,而是在更细的组件级别粒度上进行建模。组件是单独的页面加载活动,例如加载对象、解析页面或评估JavaScript。为此,RECON结合了粗粒度的资源利用和现有工具提供的组件级Web页面加载信息。在初始训练阶段,RECON使用一个电源监视器来测量一组页面加载过程中的能耗,并将此能耗与粗粒度的资源和组件信息并置。RECON使用简单的线性回归和更复杂的神经网络来构建功耗模型,作为所使用的资源和单个页面加载组件的函数,从而提供比单个模型更好的功能。使用该模型,RECON可以在不使用监视器的情况下估计按原样加载或应用任何增强后的任何Web页面的能耗。我们在三星Galaxy S4、S5和Nexus设备上使用80个网页对RECON进行了实验评估。与来自细粒度功率计的实际功率测量值的比较表明,使用线性回归模型,RECON可以估算整个页面负载的能耗,平均误差为6.3%,估算单个页面负载活动段的能耗,平均误差为16.4%。当作为神经网络进行训练时,RECON对页面能量估计的平均误差降至5.4%,平均段误差降至16.5%。我们证明,即使模型是在默认网络条件下训练的,RECON也可以准确地估计不同网络条件下网页的能耗,例如较低的带宽或较高的RTT。RECON还在应用了流行的Web增强功能(包括广告拦截、内联、压缩和缓存)后,准确地估计Web页面的能耗。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Session details: Session 5: Towards Efficient and Durable Storage Routing Money, Not Packets: A Tutorial on Internet Economics Accelerating Performance Inference over Closed Systems by Asymptotic Methods Session details: Session 3: Assessing Vulnerability of Large Networks Exploiting Data Longevity for Enhancing the Lifetime of Flash-based Storage Class Memory
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1