SVAGC: Garbage Collection with a Scalable Virtual Address Swapping Technique

SVAGC: Garbage Collection with a Scalable Virtual Address Swapping Technique
复制标题

DOI:
10.1109/cluster51413.2022.00047
复制
发表时间:
2022-09
期刊:
2022 IEEE International Conference on Cluster Computing (CLUSTER)
影响因子:
--
通讯作者:
Ismail Ataie;Weikuan Yu
Ismail Ataie;Weikuan Yu
中科院分区:
其他
文献类型:
--
作者:
Ismail Ataie;Weikuan Yu

文献摘要

相似文献

包括Java和Scala在内的托管编程语言在数据分析和移动的应用程序中非常流行。然而,由于自动内存管理检测和回收空闲可用内存所引起的开销,它们经常面临具有挑战性的问题。已经观察到,在它们的垃圾收集(GC)期间,过长的暂停可以占总执行时间的高达40%。因此,减轻GC开销已成为满足当今应用程序需求的一个活跃的研究主题。本文提出了一种称为SwapVA的新技术,以改善GC的复制/移动阶段的数据复制,并减少GC暂停时间,从而减轻GC开销的问题。我们的贡献是双重的。首先,引入SwapVA系统调用作为零拷贝技术来加速GC拷贝/移动阶段。其次,为了证明其有效性,我们将SwapVA集成到SVAGC中,作为多核系统上可扩展的全GC的实现。根据我们的研究结果,在Sparse.large/4(默认输入大小的四分之一)和Sigverify基准测试中,所提出的解决方案可以将具有大型对象的应用程序中的GC暂停分别减少70.9%和97%。
Managed programming languages including Java and Scala are very popular for data analytics and mobile applications. However, they often face challenging issues due to the overhead caused by the automatic memory management to detect and reclaim free available memory. It has been observed that during their Garbage Collection (GC), excessively long pauses can account for up to 40 % of the total execution time. Therefore, mitigating the GC overhead has been an active research topic to satisfy today's application requirements. This paper proposes a new technique called SwapVA to improve data copying in the copying/moving phases of GCs and reduce the GC pause time, thereby mitigating the issue of GC overhead. Our contribution is twofold. First, a SwapVA system call is introduced as a zero-copy technique to accelerate the GC copying/moving phase. Second, for the demonstration of its effectiveness, we have integrated SwapVA into SVAGC as an implementation of scalable Full GC on multi-core systems. Based on our results, the proposed solutions can dramatically reduce the GC pause in applications with large objects by as much as 70.9% and 97%, respectively, in the Sparse.large/4 (one quarter of the default input size) and Sigverify benchmarks.