首页> 外文会议>ACM SIGPLAN Conference on Programming Language Design and Implementation >And Then There Were None: A Stall-Free Real-Time Garbage Collector for Reconfigurable Hardware
【24h】

And Then There Were None: A Stall-Free Real-Time Garbage Collector for Reconfigurable Hardware

机译:然后没有:无稳定的实时垃圾收集器,用于可重新配置硬件

获取原文

摘要

Programmers are turning to radical architectures such as reconfigurable hardware (FPGAs) to achieve performance. But such systems, programmed at a very low level in languages with impoverished abstractions, are orders of magnitude more complex to use than conventional CPUs. The continued exponential increase in transistors, combined with the desire to implement ever more sophisticated algorithms, makes it imperative that such systems be programmed at much higher levels of abstraction. One of the fundamental high-level language features is automatic memory management in the form of garbage collection. We present the first implementation of a complete garbage collector in hardware (as opposed to previous "hardware-assist" techniques), using an FPGA and its on-chip memory. Using a completely concurrent snapshot algorithm, it provides single-cycle access to the heap, and never stalls the mutator for even a single cycle, achieving a deterministic mutator utilization (MMU) of 100%. We have synthesized the collector to hardware and show that it never consumes more than 1% of the logic resources of a high-end FPGA. For comparison we also implemented explicit (malloc/free) memory management, and show that real-time collection is about 4% to 17% slower than malloc, with comparable energy consumption. Surprisingly, in hardware real-time collection is superior to stop-the-world collection on every performance axis, and even for stressful micro-benchmarks can achieve 100% MMU with heaps as small as 1.01 to 1.4 times the absolute minimum.
机译:程序员正在转向激进的架构,例如可重新配置的硬件(FPGA)以实现性能。但是,这种系统在具有贫困抽象的语言中非常低的级别编程,是比传统CPU更复杂的数量级。晶体管的持续指数增加,与实现更复杂的算法的愿望相结合,使得这种系统必须以更高的抽象所编程。基本高级语言特征之一是垃圾收集形式的自动内存管理。我们介绍了使用FPGA及其片上存储器的硬件​​中的完整垃圾收集器的第一次实现(而不是先前的“硬件辅助”技术)。使用完全并发的快照算法,它提供了对堆的单周期访问,并且永远不会停止均匀脉冲仪,即使是单个循环,实现了100%的确定性突变者使用(MMU)。我们已经合成了集电器到硬件,并表明它永远不会消耗高端FPGA的超过1%的逻辑资源。为了比较,我们还实现了显式(Malloc / Free)内存管理,并显示实时收集比Malloc的实时收集约为4%至17%,具有相当的能量消耗。令人惊讶的是,在硬件实时收集方面优于停止 - 世界上的每一个性能轴,甚至用于压力微基准,甚至可以实现100%MMU,堆积小至1.01至1.4倍绝对最小。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号