From owner-freebsd-net Tue Oct 15 22:56:59 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 5F0A837B401 for ; Tue, 15 Oct 2002 22:56:57 -0700 (PDT) Received: from silver.he.iki.fi (silver.he.iki.fi [193.64.42.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 08F2843E77 for ; Tue, 15 Oct 2002 22:56:56 -0700 (PDT) (envelope-from pete@he.iki.fi) Received: from PHE (silver.he.iki.fi [193.64.42.241]) by silver.he.iki.fi (8.12.6/8.11.4) with SMTP id g9G5unYj056127; Wed, 16 Oct 2002 08:56:54 +0300 (EEST) (envelope-from pete@he.iki.fi) Message-ID: <06c901c274d8$e5280b80$8c2a40c1@PHE> From: "Petri Helenius" To: "Luigi Rizzo" Cc: "Lars Eggert" , References: <065901c27495$56a94c40$8c2a40c1@PHE> <3DAC8FAD.30601@isi.edu> <068b01c2749f$32e7cf70$8c2a40c1@PHE> <20021015161055.A27443@carp.icir.org> Subject: Re: ENOBUFS Date: Wed, 16 Oct 2002 08:57:19 +0300 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 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 > > how large are the packets and how fast is the box ? Packets go out at an average size of 1024 bytes. The box is dual P4 Xeon 2400/400 so I think it should qualify as "fast" ? I disabled hyperthreading to figure out if it was causing problems. I seem to be able to send packets at a rate in the 900Mbps when just sending them out with a process. If I do similar sending on two interfaces at same time, it tops out at 600Mbps. The information I´m looking for is how to instrument where the bottleneck is to either tune the parameters or report a bug in PCI or em code. (or just simply swap the GE hardware to something that works better) Pete > 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