From owner-freebsd-net Thu Oct 17 21:48:42 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 8F59C37B401 for ; Thu, 17 Oct 2002 21:48:40 -0700 (PDT) Received: from pop016.verizon.net (pop016pub.verizon.net [206.46.170.173]) by mx1.FreeBSD.org (Postfix) with ESMTP id DBC1543E6A for ; Thu, 17 Oct 2002 21:48:39 -0700 (PDT) (envelope-from jimmcgra@bellatlantic.net) Received: from Default ([141.154.237.113]) by pop016.verizon.net (InterMail vM.5.01.05.09 201-253-122-126-109-20020611) with ESMTP id <20021018044839.LNKQ1630.pop016.verizon.net@Default>; Thu, 17 Oct 2002 23:48:39 -0500 From: "Jim McGrath" To: "Luigi Rizzo" , "Petri Helenius" Cc: "Lars Eggert" , Subject: RE: ENOBUFS Date: Fri, 18 Oct 2002 00:49:04 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 In-Reply-To: <20021017201158.A75351@carp.icir.org> Importance: Normal X-Authentication-Info: Submitted using SMTP AUTH LOGIN at pop016.verizon.net from [141.154.237.113] at Thu, 17 Oct 2002 23:48:38 -0500 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 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: owner-freebsd-net@FreeBSD.ORG > [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; freebsd-net@FreeBSD.ORG > 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 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