浏览器并行性能-能量预测建模:以伺服为例
Parallel Performance-Energy Predictive Modeling of Browsers: Case Study of Servo
摘要:
Mozilla Research正在开发Servo,一种并行Web浏览器引擎,以利用Web渲染管道中的并行性和并发性的好处。匿名化提高了pinterest.com的性能,但没有提高google.com的性能。这是因为浏览器的工作负载取决于它所呈现的网页。在许多情况下,创建、删除和协调并行工作的开销超过了它的任何好处。在本文中,我们使用监督学习的网页原语和Web浏览器的并行性能之间的关系建模。我们发现了一个特征空间,这是一个网页中可用的并行性的代表,并使用七个关键功能来描述它。此外,我们考虑使用自动标记算法的不同级别的性能改进的能源使用权衡。这样的模型允许我们预测网页中可用的并行度,并决定是否要并行呈现网页。这种建模对于提高浏览器的性能和最大限度地减少其能源使用至关重要。我们评估我们的模型使用伺服的布局阶段作为一个案例研究。在四核Intel Ivy Bridge(i7- 3615 QM)笔记本电脑上的实验表明,在本研究中考虑的535个网页上,我们可以分别提高高达94.52%和46.32%的性能和能源使用。展望未来,我们将发现将此模型应用于浏览器架构的其他阶段以及其他性能和能源关键型设备的机会。
英文摘要:
Mozilla Research is developing Servo, a parallel web browser engine, to exploit the benefits of parallelism and concurrency in the web rendering pipeline. Parallelization results in improved performance for pinterest.com but not for google.com. This is because the workload of a browser is dependent on the web page it is rendering. In many cases, the overhead of creating, deleting, and coordinating parallel work outweighs any of its benefits. In this paper, we model the relationship between web page primitives and a web browser's parallel performance using supervised learning. We discover a feature space that is representative of the parallelism available in a web page and characterize it using seven key features. Additionally, we consider energy usage trade-offs for different levels of performance improvements using automated labeling algorithms. Such a model allows us to predict the degree of parallelism available in a web page and decide whether or not to render a web page in parallel. This modeling is critical for improving the browser's performance and minimizing its energy usage. We evaluate our model by using Servo's layout stage as a case study. Experiments on a quad-core Intel Ivy Bridge (i7-3615QM) laptop show that we can improve performance and energy usage by up to 94.52% and 46.32% respectively on the 535 web pages considered in this study. Looking forward, we identify opportunities to apply this model to other stages of a browser's architecture as well as other performance- and energy-critical devices.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。