From: Sven Anders <anders@anduras.de>
To: netdev@vger.kernel.org
Subject: Possible bug in bonding driver (with VLAN in ALB mode)
Date: Tue, 21 Oct 2008 19:18:35 +0200 [thread overview]
Message-ID: <48FE0EEB.7050503@anduras.de> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 3631 bytes --]
Hello!
We possible found an error in the bonding driver, but we are
not sure. Maybe some can help us here and possibly find time
to test it themself.
We have the following problem using Bonding and VLAN with ALB-Mode:
Shortly after initiating "iperf" traffic from each of the client
to each other client, all traffic collapses to one line. This is
expected behaviour of the ALB algorithmus, but we did not expect
this traffic to stay there!
We would expect the traffic to be rebalanced between the bonding
slaves, but it never happens.
We analysed it down to the ARP replies the bonding interface should
receive.
After an ARP request was sent (by the router) in the "rlb_arp_xmit()",
the "rlb_choose_channel()" function is called and reserves a
(placeholder) entry in the hash table. According to the comment this
entry will be updated later by the corresponding ARP reply.
Shortly afterwards we see an ARP reply package on the VLAN interface.
But it is never processed by "rlb_arp_recv()", because this function
only receives arp packages from bond0 and so the entry is never
updated.
Now the question:
We are not sure, if this is an error in the bonding driver.
Maybe we are doing something wrong?
Do we need to set some special /proc/sys/... values or
have to configure some driver special?
(And yes we want ALB, not LACP or anything other...!)
Here are some details about our network:
+-----------+
+----+ Client 1 |
+----------+ +----------+------+ +-----------+ +-----------+
| +--------+ +-----------------------------+ Client 2 |
| Router +--------+ Switch | +-----------+
| +--------+ | +-----------+
| +--------+ +-----------------------------+ Client 3 |
+----------+ +----------+------+ +-----------+ +-----------+
+----+ Client 4 |
+-----------+
Router:
eth0
eth1
eth2
eth3
bond0 (Slaves: eth0, eth1, eth2, eth3)
bond0.11 (VLAN 11) IP: 10.0.1.250/24
bond0.12 (VLAN 12) IP: 10.0.2.250/24
bond0.13 (VLAN 13) IP: 10.0.3.250/24
bond0.14 (VLAN 14) IP: 10.0.4.250/24
Routing for each subnet is enabled.
Switch (HP ProCurve):
4 wires to router (one for each physical interface, eth0-3)
each VLAN tagged (with 11,12,13,14)
1 wire to each client, untagged VLANs
Client1:
Network 10.0.1.1/24 GW: 10.0.1.250/24
Client2:
Network 10.0.2.1/24 GW: 10.0.2.250/24
Client 3:
...
Software/Hardware:
Linux: 2.6.26.2
Network driver: e1000e (0.4.1.7-NAPI)
Switch: HP ProCurve 5406zl
Bonding configuration:
Ethernet Channel Bonding Driver: v3.2.5 (March 21, 2008)
Bonding Mode: adaptive load balancing
Primary Slave: None
Currently Active Slave: eth11
MII Status: up
MII Polling Interval (ms): 100
Up Delay (ms): 100
Down Delay (ms): 100
Cheers
Sven Anders
--
Sven Anders <anders@anduras.de> () Ascii Ribbon Campaign
/\ Support plain text e-mail
ANDURAS service solutions AG
Innstraße 71 - 94036 Passau - Germany
Web: www.anduras.de - Tel: +49 (0)851-4 90 50-0 - Fax: +49 (0)851-4 90 50-55
Rechtsform: Aktiengesellschaft - Sitz: Passau - Amtsgericht Passau HRB 6032
Mitglieder des Vorstands: Sven Anders, Marcus Junker
Vorsitzender des Aufsichtsrats: Mark Peters
[-- Attachment #1.2: anders.vcf --]
[-- Type: text/x-vcard, Size: 352 bytes --]
begin:vcard
fn:Sven Anders
n:Anders;Sven
org:ANDURAS AG;Research and Development
adr;quoted-printable:;;Innstra=C3=9Fe 71;Passau;Bavaria;94036;Germany
email;internet:anders@anduras.de
title:Dipl. Inf.
tel;work:++49 (0)851 / 490 50 -0
tel;fax:++49 (0)851 / 590 50 - 55
x-mozilla-html:FALSE
url:http://www.anduras.de
version:2.1
end:vcard
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 252 bytes --]
next reply other threads:[~2008-10-21 17:40 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-10-21 17:18 Sven Anders [this message]
2008-10-21 18:12 ` Possible bug in bonding driver (with VLAN in ALB mode) Jay Vosburgh
2008-10-21 20:34 ` Sven Anders
[not found] ` <48FE51C5.2010800@anduras.de>
[not found] ` <4231.1224629540@death.nxdomain.ibm.com>
2008-10-22 14:34 ` Sven Anders
2008-10-22 19:13 ` Jay Vosburgh
2008-10-27 13:38 ` Sven Anders
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=48FE0EEB.7050503@anduras.de \
--to=anders@anduras.de \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).