In reply to "Jim McGrath" <[EMAIL PROTECTED]> :

> 
> > Where could I get the errata sheet?
> 
> Product Specification Updates i.e. errata, and the Product Specification
> itself are available from Intel under a Non Disclosure Agreement.  Unless
> you work for a company that is doing business with Intel, they are probably
> not obtainable.
> >
> > Could the numbers be packet thresholds? 28 and 128 packets respectively?
> >
> I can't answer that directly because of NDA.  Let us apply some logic here.
> If they were packet counts, under very low load conditions e.g. a single
> telnet session, the telnet link would be unusable.  This leads us to the
> conclusion that they must be time values.

Based on the source code for the sk driver (look for "interrupt 
moderation" in if_sk.c) I would suspect that those values represent 
time in microseconds.  My guess (based on no privileged information 
whatsoever) is that if we've not interrupted in <timeout> 
microseconds and we have something to send (or we've received 
something) go ahead and raise an interrupt.....

Just a guess.  I'm perfectly willing to be wrong about this....

                --eli


> 
> Jim
> > Anything else that can be done? Does PCI width/speed affect the amount of
> > time spent in the kernel interrupt or are the PCI transfers asynchronous?
> >
> > Pete
> >
> > ----- Original Message -----
> > From: "Jim McGrath" <[EMAIL PROTECTED]>
> > To: "Luigi Rizzo" <[EMAIL PROTECTED]>; "Petri Helenius" <[EMAIL PROTECTED]>
> > Cc: "Lars Eggert" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> > Sent: Friday, October 18, 2002 7:49 AM
> > Subject: RE: ENOBUFS
> >
> >
> > > Careful here.  Read the errata sheet!!  I do not believe the em
> > driver uses
> > > these parameters, and possibly for a good reason.
> > >
> > > Jim
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
> > > > [mailto:owner-freebsd-net@;FreeBSD.ORG]On Behalf Of Luigi Rizzo
> > > > Sent: Thursday, October 17, 2002 11:12 PM
> > > > To: Petri Helenius
> > > > Cc: Lars Eggert; [EMAIL PROTECTED]
> > > > Subject: Re: ENOBUFS
> > > >
> > > >
> > > > 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 [EMAIL PROTECTED]
> > > > with "unsubscribe freebsd-net" in the body of the message
> > > >
> > >
> > >
> >
> >
> 
> 
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-net" in the body of the message


Attachment: msg07192/pgp00000.pgp
Description: PGP signature

Reply via email to