RE: dev.bce.X.com_no_buffers increasing and packet loss

From: David Christensen <davidch_at_broadcom.com>
Date: Fri, 12 Mar 2010 15:58:31 -0800
> Pyun YongHyeon wrote:
> > On Wed, Mar 10, 2010 at 02:45:47PM -0800, David Christensen wrote:
> > > The bce(4) hardware supports a linked list of pages for RX buffer 
> > > descriptors.  The stock build supports 2 pages (RX_PAGES) with a 
> > > total of 511 BD's per page.  The hardware can support a 
> maximum of 
> > > 64K BD's but that would be an unnecessarily large amount of mbufs 
> > > for an infrequent problem.
> 
> I think that depends on how you define infrequent.  Our use 
> case is a largish core router.  It's highly likely that we'll 
> see this again and again in various packet storms on our network.
> 

Are the packet storms always always from the same host or do they come
from multiple hosts?  The hardware supports RSS which can spread the
network load across multiple receive queues and multiple CPU cores, but
only when the traffic is spread across several hosts.  (The current
bce(4) driver doesn't include support for RSS.)  If a storm of
small frames comes from a single host then almost all adapters will be
challenged to handle the flow.

Dave
Received on Fri Mar 12 2010 - 22:58:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:01 UTC