LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 08-01-2013, 04:10 AM   #1
jungsp
LQ Newbie
 
Registered: Aug 2013
Posts: 3

Rep: Reputation: Disabled
A question about network bonding with alb mode


Hello, all?
I'm new to this website.
My name is Jeongsook Park.
Today, I'm here to ask a question about network bonding with alb mode.
(adaptive load balancing)

I tried to test NIC bonding with two servers.
They are on CentOS 6.3 and have 2 NIC cards(igb)of each.
But the result was a little bit disappointing.

I think that system configuration is consistent with Linux Ethernet Bonding Driver HOWTO document:

- /etc/sysconfig/network-scripts/ifcfg-bond0 --> master
- /etc/sysconfig/network-scripts/ifcfg-eth2 --> slave
- /etc/sysconfig/network-scripts/ifcfg-eth3 --> slave
- /etc/modprobe.d/bonding.conf --> mode=6 miimon=100.

I checked bonding status with this command:

- cat /proc/net/bonding/bond0

I tested bonding performance with iperf tool to check if bonding was working correctly.

- server 1: iperf -s -p 5002, iperf -s -p 5003
- server 2: iperf -c 192.168.0.xx -t 20 -p 5002,
iperf -c 192.168.0.xx -t 20 -p 5003

I had expected that network performance would reach roughly 2Gbps altogether.
But, the result showed that performance was only 500Mbps for each client.

Is this result correct or wrong?
If it is wrong, what should I do for NIC bonding?
Anyone who knows, please answer for my question.

Thank you.

Best regards,
Jeongsook.
 
Old 08-02-2013, 10:53 AM   #2
vishesh
Member
 
Registered: Feb 2008
Distribution: Fedora,RHEL,Ubuntu
Posts: 661

Rep: Reputation: 66
Window size also affect network performance, what is your window size?
 
Old 08-04-2013, 08:46 PM   #3
jungsp
LQ Newbie
 
Registered: Aug 2013
Posts: 3

Original Poster
Rep: Reputation: Disabled
Dear Vishesh,

I tested again with changed window sizes defined in /proc/sys/net/ipv4/tcp_wmem and /proc/sys/net/ipv4/tcp_rmem.
. /proc/sys/net/ipv4/tcp_wmem : 4096 16384 4194304 --> 4096 87380 4194304
. /proc/sys/net/ipv4/tcp_rmem : 4096 87380 4194304

Better performance, but still less than 1G.(940Mbps --> 960Mbps) :-(

Thank you, Vishesh.


Best regards,
Jeongsook.
 
  


Reply


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 mode 1 fails hansaplazt Linux - Networking 1 10-08-2010 07:47 AM
bonding bonding-xor and bonding-alb Chrysalis Linux - Networking 1 10-24-2009 03:14 PM
linux network bonding question mokku Linux - Networking 4 11-16-2008 02:03 PM
bonding.ko hashing in balance-alb vkmgeek Linux - Networking 1 03-03-2007 08:09 AM
Anyone manage to get network bonding mode 0 to work with Debian 'Testing'? Akhran Linux - Networking 0 10-26-2006 07:18 PM

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

All times are GMT -5. The time now is 03:44 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