首页> 外文会议>2012 ACM/IEEE/SCS 26th Workshop on Principles of Advanced and Distributed Simulation >A New Approach to Zero-Copy Message Passing with Reversible Memory Allocation in Multi-core Architectures
【24h】

A New Approach to Zero-Copy Message Passing with Reversible Memory Allocation in Multi-core Architectures

机译:多核体系结构中零拷贝消息传递与可逆内存分配的新方法

获取原文
获取原文并翻译 | 示例

摘要

We present a new Zero-Copy approach for message passing in a tightly coupled, multi -- process parallel discrete event simulation. Our approach is highly scalable and is suited for large scale distributed simulations. A Zero-Copy approach never copies message content. Rather, messages are created initially in a shared -- memory region, and only a smart pointer referring to the shared memory object is passed to a message recipient. The smart pointer can be dereferenced normally, and has reference count semantics allowing memory reuse when no references remain. This approach significantly reduces the amount of data copied between processes and results in considerable improvement in overall application performance as compared to more traditional shared -- memory based message passing. We demonstrate the efficiency of our approach using two distributed discrete event simulators using conservative synchronization. However, we also included knowledge of the Global Virtual Time and the Current Simulation Time in our memory management algorithms, allowing rollbacks and reclaiming of memory that was freed prematurely.
机译:我们为紧密耦合的多进程并行离散事件模拟中的消息传递提供了一种新的零复制方法。我们的方法具有高度的可扩展性,适用于大规模分布式仿真。零复制方法永远不会复制邮件内容。相反,消息最初是在共享内存区域中创建的,并且仅将指向共享内存对象的智能指针传递给消息接收者。智能指针可以正常取消引用,并具有引用计数语义,允许在没有引用保留时重新使用内存。与更传统的基于共享内存的消息传递相比,这种方法大大减少了在进程之间复制的数据量,并导致整体应用程序性能的显着提高。我们使用保守同步的两个分布式离散事件模拟器演示了我们方法的效率。但是,我们还将全局虚拟时间和当前仿真时间的知识包括在我们的内存管理算法中,允许回滚和回收过早释放的内存。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号