Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2002 16:10:55 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        Petri Helenius <pete@he.iki.fi>
Cc:        Lars Eggert <larse@ISI.EDU>, freebsd-net@FreeBSD.ORG
Subject:   Re: ENOBUFS
Message-ID:  <20021015161055.A27443@carp.icir.org>
In-Reply-To: <068b01c2749f$32e7cf70$8c2a40c1@PHE>; from pete@he.iki.fi on Wed, Oct 16, 2002 at 02:04:11AM %2B0300
References:  <065901c27495$56a94c40$8c2a40c1@PHE> <3DAC8FAD.30601@isi.edu> <068b01c2749f$32e7cf70$8c2a40c1@PHE>

next in thread | previous in thread | raw e-mail | index | archive | help
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: <Intel(R) PRO/1000 Network Connection, Version - 1.3.14> port 0x3040-0x307f
> mem 0xfc220000-0xfc23ffff irq 17 at device 3.0 on pci2
> em0:  Speed:1000 Mbps  Duplex:Full
> pcib2: <PCI to PCI bridge (vendor=8086 device=1460)> 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: <PCI bus> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021015161055.A27443>