From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 06:09:38 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 355F616A4B3 for ; Mon, 6 Oct 2003 06:09:38 -0700 (PDT) Received: from isrv.tric.tomsk.gov.ru (isrv.tric.tomsk.gov.ru [213.183.106.13]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4FC8643FBF for ; Mon, 6 Oct 2003 06:09:36 -0700 (PDT) (envelope-from mike@tric.tomsk.gov.ru) Received: from admin (admin.sobes [192.168.8.2])h96D9TeV076799; Mon, 6 Oct 2003 20:09:29 +0700 (NOVST) (envelope-from mike@tric.tomsk.gov.ru) From: "Michael O. Boev" To: "Sergey 'DoubleF' Zaharchenko" Date: Mon, 6 Oct 2003 20:09:29 +0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <20031006170125.7fbb796c.doublef@tele-kom.ru> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Importance: Normal X-Virus-Scanned: by amavisd-new cc: freebsd-questions@FreeBSD.ORG Subject: RE: Why is em nic generating interrupts? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Oct 2003 13:09:38 -0000 Hi again! As of 5.1 (which, forgive my not mentioning it, I use), em is included in that list. > -----Original Message----- > From: Sergey 'DoubleF' Zaharchenko [mailto:doublef@tele-kom.ru] > Sent: Tuesday, October 07, 2003 12:01 AM > To: Michael O. Boev > Cc: freebsd-questions@FreeBSD.ORG > Subject: Re: Why is em nic generating interrupts? > > > On Mon, 6 Oct 2003 19:48:53 +0700 "Michael O. Boev" > probably wrote: > > > Hello, everyone! > > Hi! > > > I've got a [uniprocessor] router machine with fxp and em nics. > > I've built my kernel with the following included: > > > > options DEVICE_POLLING > > options HZ=2500 > > > > and enabled polling in /etc/sysctl.conf. > > > > Having looked through a vmstat -i output I see > > that the em card is generating interrupts, although > > they should be disabled (as I see in em's source code). > > > > interrupt total rate > > stray irq0 1 0 > > stray irq6 1 0 > > npx0 irq13 1 0 > > ata0 irq14 2339 0 > > em0 irq10 421457 155 > > fxp0 irq5 2 0 > > atkbd0 irq1 3326 1 > > clk irq0 6778872 2500 > > rtc irq8 346899 127 > > Total 7552898 2786 > > > > What's happening? Is polling working in my case? > > If yes, why is vmstat showing interrupts? I see clearly, > > that fxp's counter doesn't increase, and em's is constantly growing. > > Assuming you are using 4.8, > > \From the polling manpage: > > > As of this writing, the dc, fxp, rl and sis devices are > supported, with > >other in the works. > > I guess em is just not there yet, while fxp is... > > HTH > -- > DoubleF > "All flesh is grass" > -- Isiah > Smoke a friend today. >