From owner-freebsd-current@FreeBSD.ORG Tue Mar 9 08:26:35 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 BB0D910656B2 for ; Tue, 9 Mar 2010 08:26:35 +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 4588C8FC1D for ; Tue, 9 Mar 2010 08:26:33 +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 1Noulr-0000q7-LF; Tue, 09 Mar 2010 10:26:31 +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 1Noulp-0007Rc-Ro; Tue, 09 Mar 2010 10:26:29 +0200 To: pyunyh@gmail.com From: Ian FREISLICH In-Reply-To: <20100305210435.GF14818@michelle.cdnetworks.com> References: <20100305210435.GF14818@michelle.cdnetworks.com> <20100305184046.GD14818@michelle.cdnetworks.com> <20100305175639.GB14818@michelle.cdnetworks.com> X-Attribution: BOFH Date: Tue, 09 Mar 2010 10:26:29 +0200 Message-Id: Cc: 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: Tue, 09 Mar 2010 08:26:35 -0000 Pyun YongHyeon wrote: > patch can fix the RX issue you're suffering from. Anyway, would you > give it try the patch at the following URL? > http://people.freebsd.org/~yongari/bce/bce.20100305.diff > The patch was generated against CURRENT and you may see a message > like "Disabling COAL_NOW timedout!" during interface up. You can > ignore that message. It's been running for about 1:23 on the patched driver. I'm still seeing the com_no_buffers increase: [firewall2.jnb1] ~ # sysctl dev.bce |grep com_no_buffers dev.bce.0.com_no_buffers: 5642 dev.bce.1.com_no_buffers: 497 dev.bce.2.com_no_buffers: 6260612 dev.bce.3.com_no_buffers: 4871338 Interupt rate is down now, at about 3500 per second per interface. Interestingly setting net.inet.ip.fastforwarding=0 reduces CPU consumption from 25% to 9% and less packet loss. Ian -- Ian Freislich