Only Relative Speed Matters

Author:

Pourghassemi Behnam1,Amiri Sani Ardalan1,Chandramowlishwaran Aparna1

Affiliation:

1. University of California, Irvine, CA, USA

Abstract

Causal profiling is a novel and powerful profiling technique that quantifies the potential impact of optimizing a code segment on the program runtime. A key application of causal profiling is to analyze what-if scenarios which typically require a large number of experiments. Besides, the execution of a program highly depends on the underlying machine resources, e.g., CPU, network, storage, so profiling results on one device does not translate directly to another. This is a major bottleneck in our ability to perform scalable performance analysis and greatly limits cross-platform software development. In this paper, we address the above challenges by leveraging a unique property of causal profiling: only relative performance of different resources affects the result of causal profiling, not their absolute performance. We first analytically model and prove causal profiling, the missing piece in the seminal paper. Then, we assert the necessary condition to achieve virtual causal profiling on a secondary device. Building upon the theory, we design VCoz, a virtual causal profiler that enables profiling applications on target devices using measurements on the host device. We implement a prototype of VCoz by tuning multiple hardware components to preserve the relative execution speeds of code segments. Our experiments on benchmarks that stress different system resources demonstrate that VCoz can generate causal profiling reports of Nexus 6P (an ARM-based device) on a host MacBook (x86 architecture) with less than 16% variance.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Networks and Communications,Hardware and Architecture,Software

Reference28 articles.

1. Cisco annual internet report (2018--2023) white paper Feb 2017. https://www.statista.com/statistics/371894/ average-speed-global-mobile-connection/. Cisco annual internet report (2018--2023) white paper Feb 2017. https://www.statista.com/statistics/371894/ average-speed-global-mobile-connection/.

2. Android emulator May 2020. https://developer.android.com/studio/run/emulator. Android emulator May 2020. https://developer.android.com/studio/run/emulator.

3. Android NDK May 2020. https://developer.android.com/ndk. Android NDK May 2020. https://developer.android.com/ndk.

4. Appetize May 2020. https://appetize.io/. Appetize May 2020. https://appetize.io/.

5. Average global mobile network connection speeds from 2016 to 2021 May 2020. https://www.cisco.com/c/en/us/ solutions/collateral/executive-perspectives/ annual-internet-report/white-paper-c11--741490.html. Average global mobile network connection speeds from 2016 to 2021 May 2020. https://www.cisco.com/c/en/us/ solutions/collateral/executive-perspectives/ annual-internet-report/white-paper-c11--741490.html.

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3