LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-03-2013, 04:46 AM   #1
sjreilly
Member
 
Registered: Oct 2007
Location: Edinburgh, Scotland
Distribution: Debian, CentOS, RHEL, Mint, Ubuntu
Posts: 79

Rep: Reputation: 15
NIC Bonding speed vs LAG


Hi,
I've installed Wheezy on a new webserver for my office (I would have used stable but my RAID was not recognised)
I want to maximise the network throughput by bonding the two NICs (Intel Corporation 82576 Gigabit).
I've done this on other servers (using "Stable") with good results.
I tested the network speed using iperf.
With a normal setup (MTU 9000) I got;
0.0-10.0 sec 1.16 GBytes 990 Mbits/sec

Setup with Bond Mode 0 (MTU 9000) I get;
0.0-10.1 sec 323 MBytes 267 Mbits/sec

Not the result I'd had hoped for!

Both NICs go to a Netgear GS748TS stack.
I tried setting up a LAG on the stack (Static and LACP) but the network would not come up.

Anyone seeing anything like this?

TIA,
Steve
 
Old 05-03-2013, 04:51 AM   #2
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,481

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
Sounds like your switch isn't doing the LACP bonding correctly and is getting confused seeing the same IP address mapped to NICs on different ports.

This might be helpful if you've not come across it already - http://backdrift.org/howtonetworkbonding
 
Old 05-03-2013, 07:43 AM   #3
sjreilly
Member
 
Registered: Oct 2007
Location: Edinburgh, Scotland
Distribution: Debian, CentOS, RHEL, Mint, Ubuntu
Posts: 79

Original Poster
Rep: Reputation: 15
Hi TenTenths,

Thanks. I hadn't see that page before and it was helpful.
I managed to get my Ubuntu 12.04 LTS server running Mode 4 (server)/LACP (switch)
Is there a way to get figures for the maximum throughput of the server/switch? I've been using iperf which gives variable results, presumably because of the dynamic nature of Mode 4.

However, on a Debian Stable server I can't get it to run in the same configuration - only Mode 0 (server)/Static LAG (switch)

I don't know if this is because the version of the Ethernet Channel Bonding Driver;
Ubuntu 12.04 LTS - v3.7.1 (April 27, 2011)
Debian Stable - v3.5.0 (November 4, 2008)

The two servers are different, so it may be down to the builtin ethernet card chipsets. Is there a way to determine which modes are supported by the NIC card?

Your help is very much appreciated.

Steve
 
Old 05-03-2013, 09:29 AM   #4
TenTenths
Senior Member
 
Registered: Aug 2011
Location: Dublin
Distribution: Centos 5 / 6 / 7
Posts: 3,481

Rep: Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553Reputation: 1553
I honestly haven't a clue, my experience of bonding NICs is based around doing active/passive pairing rather than bandwidth boosting, I just happened to remember that switches needed to be compatible for active/active pairing.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NIC Bonding: Does not failover successfully. Only one NIC is active Akhran Debian 2 02-18-2011 07:26 PM
NIC Bonding zimm247 Red Hat 1 06-28-2008 07:22 PM
bonding NIC's mrose1120 Linux - Networking 5 10-04-2004 12:52 PM
Network Lag with Bonding wvrhlu Linux - Networking 1 09-27-2004 08:13 AM
Bonding speed only 10Mb sdandeker Linux - Networking 2 08-30-2004 02:55 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration