Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Oct 2001 02:57:21 -0700 (PDT)
From:      Luigi Rizzo <rizzo@aciri.org>
To:        jrh@it.uc3m.es (Juan Fco Rodriguez Hervella)
Cc:        freebsd-net@FreeBSD.ORG
Subject:   Re: How to increase TCP and UDP buffers (for IPv4/IPv6)
Message-ID:  <200110030957.f939vLI32338@iguana.aciri.org>
In-Reply-To: <3BBA1D53.B0C9C133@it.uc3m.es> from Juan Fco Rodriguez Hervella at "Oct 2, 2001 10: 2:27 pm"

next in thread | previous in thread | raw e-mail | index | archive | help
> Luigi Rizzo wrote:
> > 
> > > Hi:
> > >
> > > It's possible to increase the TCP and UDP buffers ?
> > >
> > > I've had problems with UDP packets of 64 bytes discarded with a bandwith
> > > of 2-3 Mbits, using a FreeBSD-4.3 router in a link of 10 Mbits.
> > 
> > a router does not buffer through traffic in a socket buffer (which is
> > what "TCP and UDP buffers" are) but on the interface queues and ipintrq,
> > which are typically 50 packets.
> > If this is the case you should see ipintrq drops listed
> > with
> > 
> >         sysctl net.inet.ip.intr_queue_drops
> > 
> > and you could try to increase the size of that queue with something like
> > 
> >         sysctl -w net.inet.ip.intr_queue_maxlen=100
> > 
> >         cheers
> >         luigi
> 
> What's the meaning of "ipintrq" ?

it is a queue used to store incoming IP packets.

> and it's possible to modify the interface queues in Linux ?

no idea.

> How many queues exists between the interface and the application ?

basically 3 on input (device queue, ipintrq and socket buffer),
and 1 or 2 on output (device queue and in some cases the socket buffer)

> Are the same to transmit and to receive ?

no

	cheers
	luigi

----------------------------------+-----------------------------------------
 Luigi RIZZO, luigi@iet.unipi.it  . ACIRI/ICSI (on leave from Univ. di Pisa)
 http://www.iet.unipi.it/~luigi/  . 1947 Center St, Berkeley CA 94704
 Phone: (510) 666 2927
----------------------------------+-----------------------------------------

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message




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