- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Bonding Question
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-20-2007 09:34 PM
12-20-2007 09:34 PM
Bonding Question
I've done a few tests between two servers each with four NIC cards bonded and the data transfer rate is 40mbs while using no bonding it's 50mbs.
Would someone mind explaining it to a simpleton? :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2007 05:10 AM
12-21-2007 05:10 AM
Re: Bonding Question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2007 05:48 AM
12-21-2007 05:48 AM
Re: Bonding Question
check your configuration
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2007 06:34 AM
12-21-2007 06:34 AM
Re: Bonding Question
It's the equivalent of adding more lanes to a highway without raising the speed limit: four lanes (NICs) can accommodate more trucks (packets) than one, but a single truck (packet) won't get from Point A to Point B any faster than before. The increased complexity may even make it a bit slower.
Of course, if the original single lane (NIC) was badly congested, adding more lanes can improve the situation for single trucks (packets) too.
If your test was designed specifically to measure speed, it may have failed to utilize the increased bandwidth: try running multiple copies of your test in parallel, then see the results.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-21-2007 07:28 AM
12-21-2007 07:28 AM
Re: Bonding Question
I have created an EitherChannel on my switch, but I'm not sure if I set it up correctly. I took the four ports that I have my servers connected into and put them in Either-group 1 using the following command:
"Switch (config-if)#channel-group 1 mode on"
Does that look right or am I supposed to use mode auto or desirable?
Thanks again for all the help guys and gals... :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-31-2007 11:02 AM
12-31-2007 11:02 AM
Re: Bonding Question
In my opinion the best way to increase the speed of a single connection is to upgrade to the next faster NIC type. Admittedly that isn't always possible, but it is better.
You _might_ get some relief by setting net.ipv4.tcp_reordering to something rather larger than the number of NICs in the bond but I consider that little more than a kludge.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2008 12:08 PM
01-02-2008 12:08 PM
Re: Bonding Question
Thanks for the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-02-2008 12:53 PM
01-02-2008 12:53 PM
Re: Bonding Question
If you do stick with mode-rr bonding, you could indeed try using just two links in the bond rather than four and see if things are better. Or you can try tweaking that sysctl. As you try things-out, keep looking at the netstat -t (iirc that is the syntax for TCP stats) stats.
It may also be necessary/desirable to enable larger socket buffers/windows to get things going faster.
Having said all that, it seems that without the bonding, you are still only running at half of link rate on the single connection test. I think it would be good to diagnose that further.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2008 03:35 PM
01-03-2008 03:35 PM
Re: Bonding Question
eth0 = IPADDRESS=10.10.10.20
eth1 = onboot=no
Bond0 = eth2, eth3, eth4, eth5
After I reboot the machine the the ifcfg files stay the same, but the hardware will move around! In other words eth0 may be eth4 on the next reboot which is why my bonding isn't working. I figured this out after disabling the embedded NIC adapters (eth0 and eth1) and now my bond works beautify!
Why is it doing this and is it possible to assign hardware to use a certain ifcfg file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-03-2008 04:51 PM
01-03-2008 04:51 PM
Re: Bonding Question
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-04-2008 04:45 AM
01-04-2008 04:45 AM
Re: Bonding Question
DEVICE=eth0
...
HWADDR=
causes the device identified by the
DEVICE=eth1
...
MACADDR=
changes the MAC address of device eth1 to
Mixing up these two is likely to cause great confusion.
If you're using HWADDR to rename an interface to e.g. eth0 and another interface is already named as eth0, it will get a temporary name, which will look very strange. So if you use this feature to re-arrange your network interfaces, specify the correct HWADDR directives for _all_ network interfaces of your system.
If you remove all HWADDR directives from the ifcfg files, the network configuration will again work like RHEL3 and classic RedHats.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2008 08:29 AM
01-05-2008 08:29 AM
Re: Bonding Question
I'm now doing a little testing with it and wondered if I need to add "options bond0 miimon=100 mode=balance-rr" to my modprobe.conf file. Some documentation says to do it and some doesn't at all.
Also, is there anywhere else that I can do some tweaking?