From owner-freebsd-net Tue Oct 15 16:10:57 2002 Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 80F0437B401 for ; Tue, 15 Oct 2002 16:10:56 -0700 (PDT) Received: from carp.icir.org (carp.icir.org [192.150.187.71]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A48443E7B for ; Tue, 15 Oct 2002 16:10:56 -0700 (PDT) (envelope-from rizzo@carp.icir.org) Received: from carp.icir.org (localhost [127.0.0.1]) by carp.icir.org (8.12.3/8.12.3) with ESMTP id g9FNAupJ027482; Tue, 15 Oct 2002 16:10:56 -0700 (PDT) (envelope-from rizzo@carp.icir.org) Received: (from rizzo@localhost) by carp.icir.org (8.12.3/8.12.3/Submit) id g9FNAtmQ027481; Tue, 15 Oct 2002 16:10:55 -0700 (PDT) (envelope-from rizzo) Date: Tue, 15 Oct 2002 16:10:55 -0700 From: Luigi Rizzo To: Petri Helenius Cc: Lars Eggert , freebsd-net@FreeBSD.ORG Subject: Re: ENOBUFS Message-ID: <20021015161055.A27443@carp.icir.org> References: <065901c27495$56a94c40$8c2a40c1@PHE> <3DAC8FAD.30601@isi.edu> <068b01c2749f$32e7cf70$8c2a40c1@PHE> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <068b01c2749f$32e7cf70$8c2a40c1@PHE>; from pete@he.iki.fi on Wed, Oct 16, 2002 at 02:04:11AM +0300 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 Wed, Oct 16, 2002 at 02:04:11AM +0300, Petri Helenius wrote: > > > > What rate are you sending these packets at? A standard interface queue > > length is 50 packets, you get ENOBUFS when it's full. > > > This might explain the phenomenan. (packets are going out bursty, with average > hovering at ~500Mbps:ish) I recomplied kernel with IFQ_MAXLEN of 5000 > but there seems to be no change in the behaviour. How do I make sure that how large are the packets and how fast is the box ? on a fast box you should be able to generate packets faster than wire speed for sizes around 500bytes, meaning that you are going to saturate the queue no matter how large it is. cheers luigi > em-interface is running 66/64 and is there a way to see interface queue depth? > em0: port 0x3040-0x307f > mem 0xfc220000-0xfc23ffff irq 17 at device 3.0 on pci2 > em0: Speed:1000 Mbps Duplex:Full > pcib2: at device 29.0 on pci1 > IOAPIC #2 intpin 0 -> irq 16 > IOAPIC #2 intpin 6 -> irq 17 > IOAPIC #2 intpin 7 -> irq 18 > pci2: on pcib2 > > The OS is 4.7-RELEASE. > > Pete > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-net" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message