Linux:使用绑定来连接两台服务器以实现更快的文件传输
我的设置是两台戴尔R720服务器,每台服务器通过4个千兆位端口连接到Cisco WS-C2960S-24TS-L交换机,后者通过100MBit连接到Internet。 服务器运行在openvz(redhad)内核的Wheezy中: 2.6.32-openvz-042stab081.3-amd64 我想要的是两台服务器之间更快的文件传输以及某种容错级别。 我设法设置绑定和尝试绑定模式balance-rr , 802.3ad和balance-alb 。 所有的工作都在我能够连接到服务器。 但是他们之间的数据传输速度并没有提高。 (删除:我明白, balance-rr只适用于xover cabeling。) 看看ifconfig和单个接口的stream量计数,我看到: 802.3ad :仅使用第一个接口的传出通信。 如果传输到具有不同MAC地址的其他主机,则更是如此。 balance-alb :输出stream量“莫名其妙”地在接口之间不均匀分布,而只在一个接口上inputstream量 内核文档告诉我, balance-rr模式需要: The balance-rr, balance-xor and broadcast modes generally require that the switch have the appropriate ports grouped together. The nomenclature for such a group differs between switches, it may be called an "etherchannel" The […]