首页> 外国专利> System and method for remote buffer allocation in exported memory segments and message passing between network nodes

System and method for remote buffer allocation in exported memory segments and message passing between network nodes

机译:在导出的内存段中进行远程缓冲区分配以及网络节点之间传递消息的系统和方法

摘要

In a distributed computer system, a sending node prompts a receiving node to allocate and export to the sending node one or more memory "segments". Each allocated segment is sufficiently large to hold multiple receive buffers whose size fall within a predefined range of receive buffer sizes. Once a segment has been allocated and exported, the sending node allocates receive buffers within the segment, using sequentially contiguous portions for successive receive buffers, without any interaction with the receiving node. Messages are transmitted to the receiving node by remotely writing the data portion of each message to an allocated receive buffer and writing a control message with a pointer to the corresponding receive buffer to a message queue in the receiving node. The receiving node processes messages within the portions of the allocated segments specified by each control message and does not keep track of the used and/or unused portions of each segment. Only the sending node keeps track of the unused portions of each allocated segment. As a result, the computational and communication resource overhead associated with allocating receive buffers is substantially reduced. Once the sending node has exhausted a segment, it sends either a segment release message or segment recycle message to the receiving node. Recycling the segment causes the receiving node to re-enable the sending node to use the segment once the receiving node has processed all the messages previously written to receive buffers in the segment.
机译:在分布式计算机系统中,发送节点提示接收节点分配一个或多个内存“段”并将其导出到发送节点。每个分配的段足够大以容纳多个接收缓冲区,这些缓冲区的大小在接收缓冲区大小的预定义范围内。一旦分配并导出了一个段,发送节点就使用连续的连续部分的连续接收缓冲区在该段内分配接收缓冲区,而无需与接收节点进行任何交互。通过将每个消息的数据部分远程写入分配的接收缓冲区,并将带有指向相应接收缓冲区的指针的控制消息写入到接收节点中的消息队列,将消息发送到接收节点。接收节点在每个控制消息指定的已分配段的部分内处理消息,并且不跟踪每个段的已使用和/或未使用部分。仅发送节点跟踪每个分配的段的未使用部分。结果,与分配接收缓冲器相关的计算和通信资源开销被大大减少。一旦发送节点用尽了一个段,它将发送一个段释放消息或段回收消息到接收节点。一旦接收节点处理了先前写入到该段中的缓冲区的所有消息,回收该段将使接收节点重新启用发送节点以使用该段。

著录项

  • 公开/公告号US5961606A

    专利类型

  • 公开/公告日1999-10-05

    原文格式PDF

  • 申请/专利权人 SUN MICROSYSTEMS INC.;

    申请/专利号US19970885056

  • 发明设计人 MADHUSUDHAN TALLURI;MARSHALL C. PEASE;

    申请日1997-06-30

  • 分类号H04L12/00;G06F15/17;

  • 国家 US

  • 入库时间 2022-08-22 02:07:07

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号