Performance Analysis and Optimization of Full Garbage Collection in Memory-hungry Environments

Author:

Yu Yang1,Lei Tianyang2,Zhang Weihua1,Chen Haibo2,Zang Binyu2

Affiliation:

1. Fudan University, Shanghai, China

2. Shanghai Jiao Tong University, Shanghai, China

Abstract

Garbage collection (GC), especially full GC, would non- trivially impact overall application performance, especially for those memory-hungry ones handling large data sets. This paper presents an in-depth performance analysis on the full GC performance of Parallel Scavenge (PS), a state-of-the-art and the default garbage collector in the HotSpot JVM, using traditional and big-data applications running atop JVM on CPU (e.g., Intel Xeon) and many-integrated cores (e.g., Intel Xeon i). The analysis uncovers that unnecessary memory accesses and calculations during reference updating in the compaction ase are the main causes of lengthy full GC. To this end, this paper describes an incremental query model for reference calculation, which is further embodied with three schemes (namely optimistic, sort-based and region-based) for different query patterns. Performance evaluation shows that the incremental query model leads to averagely 1.9X (up to 2.9X) in full GC and 19.3% (up to 57.2%) improvement in application throughput, as well as 31.2% reduction in pause time over the vanilla PS collector on CPU, and the numbers are 2.1X (up to 3.4X), 11.1% (up to 41.2%) and 34.9% for Xeon i accordingly.

Funder

National Youth Top-notch Talent Support Program of China and Singapore NRF

NSFC

National High Technology Research and Development Program of China

Publisher

Association for Computing Machinery (ACM)

Subject

Computer Graphics and Computer-Aided Design,Software

Reference31 articles.

1. An efficient parallel heap compaction algorithm

2. Apache. Apache gira: an iterative gra processing system built for high scalability. http://gira.apache.org/. Apache. Apache gira: an iterative gra processing system built for high scalability. http://gira.apache.org/.

3. Immix

4. The DaCapo benchmarks

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

1. Spark Performance Optimization Analysis in Memory Tuning On GC Overhead for Big Data Analytics;Proceedings of the 2019 8th International Conference on Networks, Communication and Computing;2019-12-13

2. The Coming Age of Pervasive Data Processing;2019 18th International Symposium on Parallel and Distributed Computing (ISPDC);2019-06

3. CalmWPC: A buffer management to calm down write performance cliff for NAND flash-based storage systems;Future Generation Computer Systems;2019-01

4. MURS: Mitigating Memory Pressure in Service-Oriented Data Processing System;2017 IEEE International Conference on Web Services (ICWS);2017-06

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

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

www.globalauthorid.com

TOP

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