Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Oct 2012 12:27:15 +0400
From:      Eugene Mitrofanov <eugene@imedia.ru>
To:        "David Christensen" <davidch@broadcom.com>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: dev.bce.3.mbuf_alloc_failed_count increases permanently
Message-ID:  <201210261227.15689.eugene@imedia.ru>
In-Reply-To: <3A5015FE9E557D448AF7238AF0ACE20A24B0F4@IRVEXCHMB11.corp.ad.broadcom.com>
References:  <201210121812.37557.eugene@imedia.ru> <3A5015FE9E557D448AF7238AF0ACE20A24B0F4@IRVEXCHMB11.corp.ad.broadcom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 25 October 2012, David Christensen wrote:
> > sysctl -a | g bce.3|g -vE '(%|stat)'; echo; sleep 10;  sysctl -a | g 
bce.3|
> > g -vE '(%|stat)'; echo; netstat -m
> > 
> > dev.bce.3.l2fhdr_error_count: 0
> > dev.bce.3.mbuf_alloc_failed_count: 2098854
> > dev.bce.3.mbuf_frag_count: 2655285
> > dev.bce.3.dma_map_addr_rx_failed_count: 0
> > dev.bce.3.dma_map_addr_tx_failed_count: 57
> > dev.bce.3.unexpected_attention_count: 0
> > dev.bce.3.com_no_buffers: 0
> > 
> > dev.bce.3.l2fhdr_error_count: 0
> > dev.bce.3.mbuf_alloc_failed_count: 2098856
> > dev.bce.3.mbuf_frag_count: 2655288
> > dev.bce.3.dma_map_addr_rx_failed_count: 0
> > dev.bce.3.dma_map_addr_tx_failed_count: 57
> > dev.bce.3.unexpected_attention_count: 0
> > dev.bce.3.com_no_buffers: 0
> > 
> > 
> > Any suggestions? What is the reason of this?
> 
> It's normal in a system under load, the kernel can't always
> allocate memory when requested by the driver.  The result
> is that RX frames will be dropped as the driver reuses an
> existing mbuf, a response taken by many other drivers.
> 
> If you notice rapid increases during certain system operations
> then you should consider increasing the amount of system
> memory.
> 

Thanks for you answer, Dave. 

What do you mean under "systems memory"? Is it the physical memory or the 
virtual one?

-- 
EVM7-RIPE



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210261227.15689.eugene>