为了解决Linux2.6内核下的分布式块设备复制系统(distributed replicatedblock device,DRBD)应用于远距离传输存在的传输效率的问题,分析了DRBD的数据监控、数据传输与接收的机制,指出了DRBD应用于远距离数据传输存在传输效率的问题的原因,提出并实现了一种对发送数据进行缓存的方法。该方法主要包括一种基于Linux2.6内核的数据缓存模型,并提供了差错控制机制。实验结果表明,该方法提高了DRBD远距离数据传输的效率。
To solve the problem about distributed replicated block device (DRBD) in Linux 2.6 kernel for the long-distance transmission low efficiency, the mechanism of data monitoring, data sending and receiving of distributed replicated block device (DRBD) is analyzed. The cause of the long-distance transmission low efficiency problem is pointed out. A method for caching sending data is proposed and implemented. The method consists of the data cache model based on Linux 2.6 kernel and the mechanism of error control is provided. Experiments prove that this method enhances the efficiency of DRBD long distance data transmission.