From owner-freebsd-net@FreeBSD.ORG Thu Dec 15 15:00:54 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1665A106566C; Thu, 15 Dec 2011 15:00:54 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id E23EB8FC20; Thu, 15 Dec 2011 15:00:53 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 3CFD346B43; Thu, 15 Dec 2011 10:00:53 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id C215CB94D; Thu, 15 Dec 2011 10:00:52 -0500 (EST) From: John Baldwin To: freebsd-net@freebsd.org, sbruno@freebsd.org Date: Thu, 15 Dec 2011 10:00:52 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p8; KDE/4.5.5; amd64; ; ) References: <1323802814.26931.16.camel@hitfishpass-lx.corp.yahoo.com> In-Reply-To: <1323802814.26931.16.camel@hitfishpass-lx.corp.yahoo.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201112151000.52116.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 15 Dec 2011 10:00:52 -0500 (EST) Cc: Subject: Re: stable/7 bce(4) out of buffers X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Dec 2011 15:00:54 -0000 On Tuesday, December 13, 2011 2:00:14 pm Sean Bruno wrote: > Looks like we're pushing the BCM5716 really hard. Is there any way to > give the net adapter a bit more space? > > e.g. > dev.bce.0.com_no_buffers: 130228 Hmm, in HEAD there looks to be a hw.bce.rx_pages that can be set to 1, 2, 4, or 8. It defaults to 2. In the 7 driver it looks like this is a #define in sys/dev/bce/if_bcereg.h (RX_PAGES on line 6710). Try changing RX_PAGES from 2 to 4 (or 8) and recompiling your kernel (or bce driver) and see if that helps. -- John Baldwin