From owner-freebsd-current@FreeBSD.ORG Thu Mar 11 07:06:11 2010 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C6A05106566B for ; Thu, 11 Mar 2010 07:06:11 +0000 (UTC) (envelope-from ianf@clue.co.za) Received: from inbound01.jnb1.gp-online.net (inbound01.jnb1.gp-online.net [41.161.16.135]) by mx1.freebsd.org (Postfix) with ESMTP id 464FA8FC12 for ; Thu, 11 Mar 2010 07:06:10 +0000 (UTC) Received: from [41.154.88.19] (helo=clue.co.za) by inbound01.jnb1.gp-online.net with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.63) (envelope-from ) id 1NpcTA-0007k4-EV; Thu, 11 Mar 2010 09:06:08 +0200 Received: from localhost ([127.0.0.1] helo=clue.co.za) by clue.co.za with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NpcT6-000IuH-FO; Thu, 11 Mar 2010 09:06:04 +0200 To: pyunyh@gmail.com From: Ian FREISLICH In-Reply-To: <20100310230220.GI10657@michelle.cdnetworks.com> References: <20100310230220.GI10657@michelle.cdnetworks.com> <20100309212139.GO1311@michelle.cdnetworks.com> <5D267A3F22FD854F8F48B3D2B52381933AF90EED69@IRVEXCHCCR01.corp.ad.broadcom.com> <20100309214012.GQ1311@michelle.cdnetworks.com> <5D267A3F22FD854F8F48B3D2B52381933AF90EF16F@IRVEXCHCCR01.corp.ad.broadcom.com> <20100310195206.GB10657@michelle.cdnetworks.com> <5D267A3F22FD854F8F48B3D2B52381933AF90EF25A@IRVEXCHCCR01.corp.ad.broadcom.com> X-Attribution: BOFH Date: Thu, 11 Mar 2010 09:06:04 +0200 Message-Id: Cc: David Christensen , "current@freebsd.org" Subject: Re: dev.bce.X.com_no_buffers increasing and packet loss X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Mar 2010 07:06:11 -0000 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. Ian -- Ian Freislich