Online optimizations driven by hardware performance monitoring

Author:

Schneider Florian T.1,Payer Mathias1,Gross Thomas R.1

Affiliation:

1. ETH Zürich, Zurich, Switzerland

Abstract

Hardware performance monitors provide detailed direct feedback about application behavior and are an additional source of infor-mation that a compiler may use for optimization. A JIT compiler is in a good position to make use of such information because it is running on the same platform as the user applications. As hardware platforms become more and more complex, it becomes more and more difficult to model their behavior. Profile information that captures general program properties (like execution frequency of methods or basic blocks) may be useful, but does not capture sufficient information about the execution platform. Machine-level performance data obtained from a hardware performance monitor can not only direct the compiler to those parts of the program that deserve its attention but also determine if an optimization step actually improved the performance of the application. This paper presents an infrastructure based on a dynamic compiler+runtime environment for Java that incorporates machine-level information as an additional kind of feedback for the compiler and runtime environment. The low-overhead monitoring system provides fine-grained performance data that can be tracked back to individual Java bytecode instructions. As an example, the paper presents results for object co-allocation in a generational garbage collector that optimizes spatial locality of objects on-line using measurements about cache misses. In the best case, the execution time is reduced by 14% and L1 cache misses by 28%.

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference30 articles.

1. Perfmon project. http://www.hpl.hp.com/research/linux/perfmon/. Perfmon project. http://www.hpl.hp.com/research/linux/perfmon/.

2. IA-32 Intel Architecture Software Developer's Manual Volume 3: System Programming Guide. 2005. IA-32 Intel Architecture Software Developer's Manual Volume 3: System Programming Guide. 2005.

3. Prefetch inection based on hardware monitoring and object metadata

4. Implementing jalapeño in Java

5. The Jalapeño virtual machine

Cited by 7 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Sampling optimized code for type feedback;Proceedings of the 16th ACM SIGPLAN International Symposium on Dynamic Languages;2020-11-15

2. Efficient Management for Hybrid Memory in Managed Language Runtime;Lecture Notes in Computer Science;2016

3. Exploiting Hardware Monitoring in Software Engineering;Advances in Computers;2014

4. Reconfigurable vertical profiling framework for the android runtime system;ACM Transactions on Embedded Computing Systems;2014-01

5. Detection of false sharing using machine learning;Proceedings of the International Conference on High Performance Computing, Networking, Storage and Analysis;2013-11-17

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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