LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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 10-23-2009, 10:06 AM   #1
Chrysalis
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: Debian
Posts: 8

Rep: Reputation: 0
bonding bonding-xor and bonding-alb


Ok I have a server that has a dual gigabit uplink to its switch via 2 gigabit cards, both cards are intel pro using the intel e1000e driver.

Initially I used bonding-alb as reccomended by the switch owner but it was only bonding outgoing traffic from the server and all inbound traffic was only on the primary network card (in this case eth2).

Tried to research on it and all I could find was it is simply supposed to work on the cards I use (but it doesnt is transmit bonding only same as bonding-tlb mode).

So if anyone knows of some configuration that I may need to do to allow the mac masking feature to work on bonding-alb it be appreciated thanks.

Now on to the other bonding types.

I then played with bonding-rr, typical round robin. This allowed good overall speeds but since single thread transfer speeds are important to me this mode was a no go as single threaded speeds were significantly affected probably due to the packet ordering issues, I played with the tcp reordering sysctl setting it to 127 but there was no significant improvement and actually seemed to make things worse.

Right now I have settled on bonding-xor. In layer 2 mode the balancing was very poor, layer 2+3 seems much better and I see balanced traffic without single threaded speeds been compromised, and right now I am trialing layer 3+4 (the one people have reccomended) but this seems to have dropped overall performance from layer 2+3 possibly due to reordering which I read can be possible in layer 3+4 in some scenarios. The only issue I seem to come across with layer 2+3 is overall speeds seem lower than balance-rr but still better than a non bonded environment.

Balance-alb offers the best single threaded speeds on a consistent basis so fixing the lack of inbound bonding on it seems to be my goal, any thoughts on what else I have wrote is greatly appreciated tho.

Finally is it a good idea to adjust txqueuelen on the bond0 interface? it is set to 0 by default.
 
Old 10-24-2009, 03:14 PM   #2
Chrysalis
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: Debian
Posts: 8

Original Poster
Rep: Reputation: 0
reverted back to layer 2+3, layer 3+4 defenitly has a performance impact.

so xor and layer 2+3 seems the best overall for me.
 
  


Reply

Tags
bond0, bonding


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
bonding and vlans. Bonding a vlan interface vs applying vlans to a bond interface JasonCzerak Linux - Networking 0 09-11-2008 10:59 AM
IP Bonding sir_com Linux - Newbie 3 08-19-2008 09:15 AM
Infiniband Bonding and Ethernet Bonding edcrozer Linux - Networking 0 11-07-2007 04:57 PM
bonding.ko hashing in balance-alb vkmgeek Linux - Networking 1 03-03-2007 08:09 AM
Help with bonding bwoodruff Linux - Networking 4 11-09-2006 03:14 PM


All times are GMT -5. The time now is 09:25 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration