首页> 外文会议>IEEE International Conference on Autonomic Computing >Addressing Memory Pressure in Data-intensive Parallel Programs via Container Based Virtualization
【24h】

Addressing Memory Pressure in Data-intensive Parallel Programs via Container Based Virtualization

机译:通过基于容器的虚拟化解决数据密集型并行程序中的内存压力

获取原文

摘要

Out-of-memory (OOM) errors and excessive garbage collection (GC) activities are common issues in dataintensive parallel programs, which cause not only poor performance but also execution failures. A recent study [1] proposed a new programming model to address the memory pressure in data-parallel programs. The proposed iTask proactively reclaims memory to avoid OOM errors and reduce GC time. Although effective, it requires extensive changes to the parallel program.In this paper, we show that lightweight virtualization, such as OS containers, can address the memory pressure in data-parallel programs with much less effort. Virtualization provides two key benefits: 1) tasks running in a container can set a large heap size to avoid OOM errors without worrying about thrashing the physical host; 2) tasks that are under memory pressure and incur significant GC activities can be temporarily “suspended” by depriving the hosting containers of resources, and can be resumed later when other tasks complete and release their resources. Experimental results using Docker containers and Hadoop benchmarks show that this simple approach effectively avoids OOM errors and suppresses wasteful GC.
机译:内存不足(OOM)错误和过多的垃圾回收(GC)活动是数据密集型并行程序中的常见问题,不仅会导致性能下降,还会导致执行失败。最近的研究[1]提出了一种新的编程模型来解决数据并行程序中的内存压力。建议的iTask主动回收内存,以避免OOM错误并减少GC时间。尽管有效,但它需要对并行程序进行大量更改。在本文中,我们证明了轻量级虚拟化(例如OS容器)可以轻松处理数据并行程序中的内存压力。虚拟化提供了两个主要好处:1)在容器中运行的任务可以设置较大的堆大小,以避免OOM错误,而不必担心会损坏物理主机; 2)处于内存压力下并导致大量GC活动的任务可以通过剥夺托管容器的资源而暂时“暂停”,并且可以在其他任务完成并释放其资源后恢复。使用Docker容器和Hadoop基准测试的实验结果表明,这种简单的方法有效地避免了OOM错误并减少了浪费的GC。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号