From owner-freebsd-net Tue Oct 2 8:54:40 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 A29EA37B401 for ; Tue, 2 Oct 2001 08:54:37 -0700 (PDT) Received: (from rizzo@localhost) by iguana.aciri.org (8.11.3/8.11.1) id f92Fpjr25843; Tue, 2 Oct 2001 08:51:45 -0700 (PDT) (envelope-from rizzo) From: Luigi Rizzo Message-Id: <200110021551.f92Fpjr25843@iguana.aciri.org> Subject: Re: How to increase TCP and UDP buffers (for IPv4/IPv6) In-Reply-To: <3BB9E199.D7CC5EC9@it.uc3m.es> from Juan Fco Rodriguez Hervella at "Oct 2, 2001 5:47:37 pm" To: jrh@it.uc3m.es (Juan Fco Rodriguez Hervella) Date: Tue, 2 Oct 2001 08:51:45 -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 > 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 ----------------------------------+----------------------------------------- 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