lkml.org 
[lkml]   [2001]   [Jul]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: receive stats null for bond0 in 2.4.6
Jeff Golds wrote:
>
> Laurent Itti wrote:
> >
> > Hi all:
> >
> > just installed 2.4.6 and all is well except that all stats in
> > /proc/net/dev are at zero on the receive side for our 3x100Mbps
> > channel-bonded network interface (bond0, using kernel module "bonding").
> > The interface works great (we do receive packets). Transmit side stats
> > appear ok. All stats also ok on the 3 ethernet boards that are enslaved
> > into the bond.
> >
> > any idea? thanks!
> >
>
> It's always zero because the bonding driver included with the Linux
> kernel is pretty broken. The comments say that its stats are collected
> from the slaves, but this is untrue. See the source code at
> http://sourceforge.net/projects/bonding for how the stats should be
> collected.
>

No, in 2.2, bonding collected stats by adding up the slave's stats, and
presenting that.

In 2.4, the stats was changed to be exactly what the bonding device has
seen.

Bonding device will never ever see anything to do with recieve packets.

--
------------------------+--------------------------------------------------
Thomas Davis | ASG Cluster guy
tadavis@lbl.gov |
(510) 486-4524 | "80 nodes and chugging Captain!"
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:57    [W:0.067 / U:0.376 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site