From owner-freebsd-net@FreeBSD.ORG Thu Dec 15 17:51:17 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 253791065678; Thu, 15 Dec 2011 17:51:17 +0000 (UTC) (envelope-from seanbru@yahoo-inc.com) Received: from mrout1-b.corp.bf1.yahoo.com (mrout1-b.corp.bf1.yahoo.com [98.139.253.104]) by mx1.freebsd.org (Postfix) with ESMTP id D1C8E8FC20; Thu, 15 Dec 2011 17:51:16 +0000 (UTC) Received: from [127.0.0.1] (rideseveral.corp.yahoo.com [10.73.160.231]) by mrout1-b.corp.bf1.yahoo.com (8.14.4/8.14.4/y.out) with ESMTP id pBFHokOn012406; Thu, 15 Dec 2011 09:50:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=yahoo-inc.com; s=cobra; t=1323971447; bh=ftHggo+tzVVp3SX5v0kZVRjn+eoW+gqmA5aIhyklQtY=; h=Subject:From:To:Cc:In-Reply-To:References:Content-Type:Date: Message-ID:Mime-Version:Content-Transfer-Encoding; b=d4/Uxj5dzYHznXma0VUw+gVD1miu7bTBnXfgV70J+Ky/CIa4/+s3yYmvvtUn+JvmA pELHLhBscMeFdmwpGrSYqH2Ks3yPG48LqZHcBro/qIUvx3V0ewhH+pmMTrAdJZZxpJ gg6UKhHzg6ulWm162llNnQnTt/ryYNEDfgxYfzMA= From: Sean Bruno To: John Baldwin In-Reply-To: <201112151000.52116.jhb@freebsd.org> References: <1323802814.26931.16.camel@hitfishpass-lx.corp.yahoo.com> <201112151000.52116.jhb@freebsd.org> Content-Type: text/plain; charset="UTF-8" Date: Thu, 15 Dec 2011 09:50:45 -0800 Message-ID: <1323971445.3551.1.camel@hitfishpass-lx.corp.yahoo.com> Mime-Version: 1.0 X-Mailer: Evolution 2.32.3 (2.32.3-1.fc14) Content-Transfer-Encoding: 7bit Cc: "freebsd-net@freebsd.org" 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 17:51:17 -0000 On Thu, 2011-12-15 at 07:00 -0800, John Baldwin wrote: > 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. > Indeed, I was eyeballing that just now. I'll post back with results. Sean