From owner-freebsd-net Wed Oct 3 3: 0:18 2001 Delivered-To: freebsd-net@freebsd.org Received: from iguana.aciri.org (iguana.aciri.org [192.150.187.36]) by hub.freebsd.org (Postfix) with ESMTP id D7D4137B407 for ; Wed, 3 Oct 2001 03:00:15 -0700 (PDT) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.3/8.11.1) id f939vLI32338; Wed, 3 Oct 2001 02:57:21 -0700 (PDT) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200110030957.f939vLI32338@iguana.aciri.org> Subject: Re: How to increase TCP and UDP buffers (for IPv4/IPv6) In-Reply-To: <3BBA1D53.B0C9C133@it.uc3m.es> from Juan Fco Rodriguez Hervella at "Oct 2, 2001 10: 2:27 pm" To: jrh@it.uc3m.es (Juan Fco Rodriguez Hervella) Date: Wed, 3 Oct 2001 02:57:21 -0700 (PDT) Cc: freebsd-net@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > 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