From owner-freebsd-questions@FreeBSD.ORG Mon Oct 6 06:01:53 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 15CD816A4B3 for ; Mon, 6 Oct 2003 06:01:53 -0700 (PDT) Received: from mx.tele-kom.ru (mx.tele-kom.ru [213.80.148.6]) by mx1.FreeBSD.org (Postfix) with SMTP id 13C2043FF7 for ; Mon, 6 Oct 2003 06:01:51 -0700 (PDT) (envelope-from doublef@tele-kom.ru) Received: (qmail 51732 invoked by uid 555); 6 Oct 2003 17:01:49 +0400 Received: from hal.localdomain (213.80.149.195) by t-k.ru with TeleMail/2 id 1065445308-51724 for mike@tric.tomsk.gov.ru; Mon, Oct 6 17:01:48 2003 +0400 (MSD) Date: Mon, 6 Oct 2003 17:01:25 +0000 From: Sergey 'DoubleF' Zaharchenko To: "Michael O. Boev" Message-Id: <20031006170125.7fbb796c.doublef@tele-kom.ru> In-Reply-To: References: X-Mailer: Sylpheed version 0.9.3claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="pgp-sha1"; boundary="=.mLQt.'uHJYQes4" 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:01:53 -0000 --=.mLQt.'uHJYQes4 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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. --=.mLQt.'uHJYQes4 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (FreeBSD) iD8DBQE/gZ/xwo7hT/9lVdwRAvl3AJ0dt2dsEVoKNQOgf3SK3DQQ/HgH3wCeP7m0 Xt97TzhYyNHQMO3U3jsvh1k= =qxYb -----END PGP SIGNATURE----- --=.mLQt.'uHJYQes4--