# Strange bonding on SLES11

**URL:** <https://forums.suse.com/t/strange-bonding-on-sles11/21961>\
**Category:** SLES Networking\
**Created:** [October 11, 2011, 12:06am UTC](https://forums.suse.com/t/strange-bonding-on-sles11/21961 "2011-10-11T00:06:01Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [October 11, 2011, 12:06am UTC](https://forums.suse.com/t/strange-bonding-on-sles11/21961/1 "2011-10-11T00:06:01Z")

</div>

I have two servers running SLES11SP1 Xen kernel on S3420GP motherboard  
with 2 integrated Intel LAN interfaces - 82574L and 82578DM configured  
for LACP 802.3ad bonding. The switch ports are also configured for LACP,  
and port statistics show that one port is mostly sending, another  
mostly receiving packets on both severs. So I feel it as a kind of load  
balancing.  
The third SLES11SP1 server is running normal kernel and is configured  
as iSCSI target for both Xen servers. It has SuperMicro X7SPA-H-O  
motherboard with 2x Intel 82574L Gigabit LAN interfaces also configured  
for LACP 802.3ad bonding. But switch port statistics show that one port  
is nearly idle the whole time while another is loaded with both RX and  
TX packets. No load balancing of any kind because only one port is  
working.  
If I disconnect the busy port, load goes to the idle one, so connection  
is fault tolerant.

Is it possible to push anyhow the load balancing on this bond?

## – andy\_s

andy\_s’s Profile: [http://forums.novell.com/member.php?userid=67489](http://forums.novell.com/member.php?userid=67489)  
View this thread: [http://forums.novell.com/showthread.php?t=446442](http://forums.novell.com/showthread.php?t=446442)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [October 11, 2011, 1:36am UTC](https://forums.suse.com/t/strange-bonding-on-sles11/21961/2 "2011-10-11T01:36:02Z")

</div>

It may be that 802.3ad “Working As Designed, Design Is Bad” in that with  
802.3ad, it ensure that \> "All packets associated with a given ‘conversation’ are[color=blue]

> transmitted on the same link to prevent mis-ordering." So could it be there the traffic is just divided unequally? In[/color]  
> other words with a small number of flows the division of labor could be  
> very unequal. Note also that this does not provide a solution for a  
> single flow needing both links worth of bandwidth.

– Bob

## – Bob Mahar – Novell Knowledge Partner Do you do what you do at a .EDU? [http://novell.com/ttp](http://novell.com/ttp) “Programming is like teaching a jellyfish to build a house.” More Bob: ‘Twitter’ ([http://twitter.com/BobMahar](http://twitter.com/BobMahar)) ‘Blog’ ([http://blog.trafficshaper.com](http://blog.trafficshaper.com)) ‘Vimeo’ ([http://vimeo.com/boborama](http://vimeo.com/boborama)) ← Click And Be Amazed!

Bob-O-Rama’s Profile: [http://forums.novell.com/member.php?userid=5269](http://forums.novell.com/member.php?userid=5269)  
View this thread: [http://forums.novell.com/showthread.php?t=446442](http://forums.novell.com/showthread.php?t=446442)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [October 11, 2011, 8:36am UTC](https://forums.suse.com/t/strange-bonding-on-sles11/21961/3 "2011-10-11T08:36:02Z")

</div>

This idea is clear.

But I went forward with experimenting. I made NFS shares on servers  
with both types of motherboard (Intel and SuperMicro). Then I started  
file copying (two files ~4GB each) on those shares from two Linux boxes  
simultaneously in 3 modes:

1. Both reading
2. Both writing
3. One - reading, another - writing.

The results were strange again:

1. On both motherboards two simultaneous reading or writing operations  
were served from the same port (no balancing between two different  
connections to Linux boxes).
2. On Intel motherboard (2 different LAN chipsets) simultaneous reading  
was through one LAN port, but simultaneous writing was through another.
3. On SuperMicro motherboard (2 same LAN chipsets) both simultaneous  
reading and simultaneous writing were through one LAN port, another was  
nearly idle (~300 B/s).
4. In one box reading, another - writing mode, Intel motherboard used 2  
ports, but SuperMicro - again only one for both boxes.

Any ideas?

## – andy\_s

andy\_s’s Profile: [http://forums.novell.com/member.php?userid=67489](http://forums.novell.com/member.php?userid=67489)  
View this thread: [http://forums.novell.com/showthread.php?t=446442](http://forums.novell.com/showthread.php?t=446442)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [October 12, 2011, 8:36am UTC](https://forums.suse.com/t/strange-bonding-on-sles11/21961/4 "2011-10-12T08:36:02Z")

</div>

I found good advice while googling the item:  
ad\_select=bandwidth xmit\_hash\_policy=layer2+3

This killed any difference in motherboard behavior - both Intel and  
SuperMicro now look the same.  
Nice balancing for parallel reading or writing - both interfaces are  
working.  
But when one client is reading and another - writing, the traffic from  
both of them goes through one LAN interface.

## – andy\_s

andy\_s’s Profile: [http://forums.novell.com/member.php?userid=67489](http://forums.novell.com/member.php?userid=67489)  
View this thread: [http://forums.novell.com/showthread.php?t=446442](http://forums.novell.com/showthread.php?t=446442)
