Dual NICs doesn't mean double bandwidth
2015-11-22 12:47
141 查看
It's very unlikely that bonding your interfaces will result in a speed increase. Typically, even if you bond the interfaces successfully AND configure the switch to support the etherchannel), then you will still find that only one interface in the bond is used
for each pair of source/destination TCP/UDP session.
So if you copy a 10Gb file from one server, then kick off another 10Gb copy to that server, assuming that you also have session based bonding, you'll see both cards maxed out. But crucially, the first
copy will only consume ONE network card, not both.
This is certainly the case with Cisco's etherchannel. In fact, Cisco's etherchannel isn't even session based, it's source/destination based, so in my example above, you wouldn't even get a speed increase - your second copy would have to be to a completely different
server before you saw both cards used. Perhaps you have a better switch that allows for the port channel to utilise both cards simultaneously in one TCP/UDP session but it would require some pretty funky arp/MAC manipulation and I have no idea if the bonding
module in linux supports that.
As for you, you're using a bog-standard home router, so switch-side support is out of the question here, meaning that your options are further limited (see the first article lined to below, where you will note that you now cannot use the best mode for link
aggregation, mode 4).
If you're determined to go ahead with this, I found this five year old article which
still seems relevant. Additionally, this three year old article covers the same ground.
From: http://askubuntu.com/questions/32179/two-ethernet-ports-on-motherboard-how-can-i-get-double-the-bandwidth
for each pair of source/destination TCP/UDP session.
So if you copy a 10Gb file from one server, then kick off another 10Gb copy to that server, assuming that you also have session based bonding, you'll see both cards maxed out. But crucially, the first
copy will only consume ONE network card, not both.
This is certainly the case with Cisco's etherchannel. In fact, Cisco's etherchannel isn't even session based, it's source/destination based, so in my example above, you wouldn't even get a speed increase - your second copy would have to be to a completely different
server before you saw both cards used. Perhaps you have a better switch that allows for the port channel to utilise both cards simultaneously in one TCP/UDP session but it would require some pretty funky arp/MAC manipulation and I have no idea if the bonding
module in linux supports that.
As for you, you're using a bog-standard home router, so switch-side support is out of the question here, meaning that your options are further limited (see the first article lined to below, where you will note that you now cannot use the best mode for link
aggregation, mode 4).
If you're determined to go ahead with this, I found this five year old article which
still seems relevant. Additionally, this three year old article covers the same ground.
From: http://askubuntu.com/questions/32179/two-ethernet-ports-on-motherboard-how-can-i-get-double-the-bandwidth
相关文章推荐
- 我的涨(diao)分日记(三)——BestCoder Round #63
- newifi mini将led指示灯引出当gpio使用
- 215. Kth Largest Element in an Array
- 机器学习——初步了解
- stm32位操作函数(未完待续)
- BZOJ1758: [Wc2010]重建计划(01分数规划+点分治+单调队列)
- 项目中页面未找到统一跳转到一个notfound页面
- 【转载】Animation 动画(一)alpha、scale、translate、rotate、set的xml属性及用法
- 2014传智播客C++第三期基础班+就业班至9月份 完整版
- android中实现view可以滑动的六种方法续篇(一)
- Android图片上传蒙层进度条
- 如何在Cocos2D游戏中实现A*寻路算法(五)
- 如何在Cocos2D游戏中实现A*寻路算法(五)
- 如何在Cocos2D游戏中实现A*寻路算法(五)
- 解决ubuntu 下virtualbox 装ubuntu屏幕大小问题
- 正则表达式匹配问题
- 安装visual assist x 2083出现security key required问题
- HDMI和AV输入编码器成功了
- MySQL Drop 大表解决方案
- linux日常管理-防火墙selinux