【24h】

A Parallel, Real-Time Garbage Collector

机译:并行,实时垃圾收集器

获取原文

摘要

We describe a parallel, real-time garbage collector and present experimental results that demonstrate good scalability and good real-time bounds. The collector is designed for shared-memory multiprocessors and is based on an earlier collector algorithm, which provided fixed bounds on the time any thread must pause for collection. However, since our earlier algorithm was designed for simple analysis, it had some impractical features. This paper presents the extensions necessary for a practical implementation: reducing excessive interleaving, handling stacks and global variables, reducing double allocation, and special treatment of large and small objects. An implementation based on the modified algorithm is evaluated on a set of 15 SML benchmarks on a Sun Enterprise 10000, a 64-way UltraSparc-Ⅱ multiprocessor. To the best of our knowledge, this is the first implementation of a parallel, real-time garbage collector. The average collector speedup is 7.5 at 8 processors and 17.7 at 32 processors. Maximum pause times range from 3 ms to 5 ms. In contrast, a non-incremental collector (whether generational or not) has maximum pause times from 10 ms to 650 ms. Compared to a non-parallel, stop-copy collector, parallelism has a 39% overhead, while realtime behavior adds an additional 12% overhead. Since the collector takes about 15% of total execution time, these features have an overall time costs of 6% and 2%.
机译:我们描述了一个并行的实时垃圾收集器,并给出了实验结果,这些结果证明了良好的可伸缩性和良好的实时范围。收集器是为共享内存多处理器设计的,它基于较早的收集器算法,该算法在任何线程必须暂停进行收集的时间上提供了固定的界限。但是,由于我们较早的算法是为简单分析而设计的,因此它具有一些不切实际的功能。本文介绍了实际实现所必需的扩展:减少过多的交织,处理堆栈和全局变量,减少双重分配以及对大小对象的特殊处理。在64位Ultrawayrc-Ⅱ多处理器Sun Enterprise 10000上,基于15个SML基准对一套基于改进算法的实现进行了评估。据我们所知,这是并行实时垃圾收集器的第一个实现。 8个处理器的平均收集器速度为7.5,32个处理器的平均收集器速度为17.7。最大暂停时间范围是3毫秒到5毫秒。相反,非增量收集器(无论是世代与否)的最大暂停时间为10毫秒至650毫秒。与非并行停止复制收集器相比,并行性的开销为39%,而实时行为的开销则为12%。由于收集器占用了大约15%的总执行时间,因此这些功能的总时间成本分别为6%和2%。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号