Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Oct 2002 20:11:58 -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:  <20021017201158.A75351@carp.icir.org>
In-Reply-To: <0be401c2761f$855af670$8c2a40c1@PHE>; from pete@he.iki.fi on Thu, Oct 17, 2002 at 11:55:24PM %2B0300
References:  <065901c27495$56a94c40$8c2a40c1@PHE> <3DAC8FAD.30601@isi.edu> <068b01c2749f$32e7cf70$8c2a40c1@PHE> <20021015161055.A27443@carp.icir.org> <06c901c274d8$e5280b80$8c2a40c1@PHE> <3DAD01A7.3020807@isi.edu> <071501c274db$222c3ea0$8c2a40c1@PHE> <3DAD06AF.7060701@isi.edu> <0be401c2761f$855af670$8c2a40c1@PHE>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 17, 2002 at 11:55:24PM +0300, Petri Helenius wrote:
...
> I seem to get about 5-6 packets on an interrupt. Is this tunable? At

just reading the source code, yes, it appears that the card has
support for delayed rx/tx interrupts -- see RIDV and TIDV definitions
and usage in sys/dev/em/* . I don't know in what units are the values
(28 and 128, respectively), but it does appear that tx interrupts are
delayed a bit more than rx interrupts.

They are not user-configurable at the moment though, you need to rebuild
the kernel.

	cheers
	luigi

> 50kpps the card generates 10k interrupts a second. Sending generates
> way less. This is about 300Mbps so with the average packet size of
> 750 there should be room for more packets on the interface queue
> before needing to service an interrupt?
> 
> What´s the way to access kernel adapter-structure? Is there an utility
> that can view the values there?
> >
> Pete
> 
> 

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?20021017201158.A75351>