Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 May 2010 11:25:24 +0200
From:      Gary Jennejohn <gljennjohn@googlemail.com>
To:        Maxim Sobolev <sobomax@FreeBSD.org>
Cc:        freebsd-net@FreeBSD.org, "current@freebsd.org" <current@FreeBSD.org>
Subject:   Re: Making IFQ_MAXLEN tunable
Message-ID:  <20100501112524.26c2fe5c@ernst.jennejohn.org>
In-Reply-To: <4BDBF028.5040505@FreeBSD.org>
References:  <4BDB3C31.4050709@sippysoft.com> <20100501105823.28ac1756@ernst.jennejohn.org> <4BDBF028.5040505@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 01 May 2010 02:11:04 -0700
Maxim Sobolev <sobomax@FreeBSD.org> wrote:

> Gary Jennejohn wrote:
> > On Fri, 30 Apr 2010 13:23:13 -0700
> > Maxim Sobolev <sobomax@sippysoft.com> wrote:
> > 
> >> Hi,
> >>
> >> Many network drivers in the FreeBSD kernel use the IFQ_MAXLEN value to 
> >> set length of the outgoing packets queue. The default value for that 
> >> parameter is only 50, which is pretty low especially for the cases when 
> >> the system handles lot of small packets and can cause ENOBUFS in 
> >> applications under the load. The following patch makes IFQ_MAXLEN a 
> >> tunable. I am also tempted to bump the default value for IFQ_MAXLEN 
> >> 10-fold, but would like to hear what do people think about it first.
> >>
> >> http://sobomax.sippysoft.com/IFQ_MAXLEN.diff
> >>
> > 
> > Seems like a good idea, although I don't see where ifqmaxlen is being
> > initialized.
> 
> sys/net/if.c
> 

Shame on me for not looking at the file itself!  I only looked at the
patch.

--
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100501112524.26c2fe5c>