Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Mar 2010 10:26:29 +0200
From:      Ian FREISLICH <ianf@clue.co.za>
To:        pyunyh@gmail.com
Cc:        current@freebsd.org
Subject:   Re: dev.bce.X.com_no_buffers increasing and packet loss 
Message-ID:  <E1Noulp-0007Rc-Ro@clue.co.za>
In-Reply-To: <20100305210435.GF14818@michelle.cdnetworks.com> 
References:  <20100305210435.GF14818@michelle.cdnetworks.com> <20100305184046.GD14818@michelle.cdnetworks.com> <20100305175639.GB14818@michelle.cdnetworks.com> <E1NnVaT-0003Ft-3p@clue.co.za> <E1Nnc4d-0003mB-6e@clue.co.za> <E1Nne0Q-0003uZ-OR@clue.co.za> 

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1Noulp-0007Rc-Ro>