From owner-freebsd-net Thu Oct 4 5:39: 0 2001 Delivered-To: freebsd-net@freebsd.org Received: from smtp1.sentex.ca (smtp1.sentex.ca [199.212.134.4]) by hub.freebsd.org (Postfix) with ESMTP id 089AF37B407 for ; Thu, 4 Oct 2001 05:38:57 -0700 (PDT) Received: from chimp.simianscience.com (cage.simianscience.com [64.7.134.1]) by smtp1.sentex.ca (8.11.6/8.11.6) with SMTP id f94Ccs315396; Thu, 4 Oct 2001 08:38:54 -0400 (EDT) (envelope-from mike@sentex.net) From: Mike Tancsa To: rizzo@aciri.org (Luigi Rizzo) Cc: freebsd-net@freebsd.org Subject: Re: How to increase TCP and UDP buffers (for IPv4/IPv6) Date: Thu, 04 Oct 2001 08:38:54 -0400 Message-ID: <21morto01so4jkebem9s5t1tf6ohm1uple@4ax.com> References: <3BB9E199.D7CC5EC9@it.uc3m.es> In-Reply-To: X-Mailer: Forte Agent 1.8/32.548 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable 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 On Tue, 2 Oct 2001 15:54:44 +0000 (UTC), in sentex.lists.freebsd.net you wrote: >> Hi: >>=20 >> It's possible to increase the TCP and UDP buffers ? >>=20 >> 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=3D100 Hi, Are there any nasty side effects for increasing this value ? Also, how would one go about tracking down why net.inet.ip.intr_queue_drops is incrementing ? ---Mike Mike Tancsa (mdtancsa@sentex.net) =09 Sentex Communications Corp, =09 Waterloo, Ontario, Canada "Given enough time, 100 monkeys on 100 routers=20 could setup a national IP network." (KDW2) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message