Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 30 Apr 2010 14:33:34 -0700
From:      Julian Elischer <julian@elischer.org>
To:        Maxim Sobolev <sobomax@sippysoft.com>
Cc:        freebsd-net@FreeBSD.ORG, "current@freebsd.org" <current@FreeBSD.ORG>
Subject:   Re: Making IFQ_MAXLEN tunable
Message-ID:  <4BDB4CAE.20006@elischer.org>
In-Reply-To: <4BDB3C31.4050709@sippysoft.com>
References:  <4BDB3C31.4050709@sippysoft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/30/10 1:23 PM, Maxim Sobolev 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
>
> -Maxim
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"

so just tunable? not a sysctl :-)


patch could be a lot smaller if you defined IFQ_MAXLEN to be 
V_ifqmaxlen (do different vimages want a different value?)





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