tech-net archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 5.1 TCP performance issue (lots of ACK)

On Thu, Oct 27, 2011 at 01:57:22PM -0400, Thor Lancelot Simon wrote:
> On Thu, Oct 27, 2011 at 07:51:43PM +0200, Manuel Bouyer wrote:
> > > 
> > > If this hasn't been adjusted to match the Linux driver, you might
> > > want to take a quick look at the values it uses and see whether
> > > they yield better small-buffer performance in your case.
> > 
> > I looked quickly at this and came up with the attached patch.
> I think what Simon tested was the change to the moderation timers
> and thresholds only -- not to the total number of descriptors in
> use.  Might be worth checking to see whether that is what's causing
> the input errors you're seeing.

I also tested with the original value (256) and I did get the same
errors. I increased it in case the errors were because the adapter
was overflowing the receive ring.

Manuel Bouyer <>
     NetBSD: 26 ans d'experience feront toujours la difference

Home | Main Index | Thread Index | Old Index