摘要
采用硬件无关的设计方法,在Linux下实现了一个基于通用以太网卡的高性能集群通信库HPCL/Ethernet。该库利用Linux操作系统的网络设备接口实现了对各种以太网NIC(Network Interface Card)的支持,在软件层实现一个轻量级通信协议支持消息的可靠传输。采用通道简化缓冲区管理,固定缓冲区策略来减少消息拷贝,采用中断回收技术、链路层直接处理消息来优化通信。测试结果表明,该通信库在传输小消息时具有很低延迟,在传输大消息时具有高带宽的特点。传输消息长度为1196bytes时带宽高达1.18E+08bytes/s,是千兆以太网卡硬件带宽的94.4%。
A high performance communication library independent of hardware called HPCL/Ethernet is implemented based on commodity Ethernet NICs on the Linux.HPCL/Ethernet supports commodity Ethernet NICs by using the network device interface on the Linux kernel.Message reliable delivery is guaranteed in the software layer.Channel abstract simplify buffer management and fixed-buffer policy adopted for avoiding message copy.Both interrupt reaping technology and the policy of message processing in link layer are also used to optimize communication.The experimental results show that the HPCL/Ethernet is characteristic of low latency with short payload message and high bandwidth with long payload message.It provides 1.18E+08 bytes/s of bandwidth which is 94.4% of hardware-level bandwidth for 1 196 bytes message.
出处
《计算机工程与应用》
CSCD
北大核心
2007年第12期112-115,共4页
Computer Engineering and Applications
基金
国家自然科学基金(the National Natural Science Foundation of China under Grant No.60373008)。
关键词
集群
通信库
通用以太网
中断回收技术
固定缓冲区策略
cluster
communication library
commodity ethernet
interrupt reaping
fixed-buffer policy